Commit Graph

5195 Commits

Author SHA1 Message Date
bunnei
1168e2a872 maxwell_3d: Make memory_manager public. 2018-04-13 23:48:27 -04:00
bunnei
c03c46e0d4 maxwell_3d: Fix shader_config decodings. 2018-04-13 23:48:26 -04:00
bunnei
03ba675a19 gl_rasterizer: Use shader program manager, remove test shader. 2018-04-13 23:48:26 -04:00
bunnei
8a68d447d3 renderer_opengl: Add gl_shader_manager class. 2018-04-13 23:48:25 -04:00
bunnei
8f5ca312b3 maxwell_to_gl: Add a few types, etc. 2018-04-13 23:48:24 -04:00
bunnei
c5f51a7480 gl_shader_gen: Add hashable setup/config structs. 2018-04-13 23:48:23 -04:00
bunnei
1a75837b3f gl_shader_util: Add missing includes. 2018-04-13 23:48:23 -04:00
bunnei
e02648f2b4 common: Port cityhash code from Citra. 2018-04-13 23:48:22 -04:00
bunnei
6bfbe7dc91 renderer_opengl: Use OGLProgram instead of OGLShader. 2018-04-13 23:48:21 -04:00
bunnei
024beaf387 gl_shader_util: Grab latest upstream. 2018-04-13 23:48:21 -04:00
bunnei
244bcbd142 gl_resource_manager: Grab latest upstream. 2018-04-13 23:48:20 -04:00
bunnei
0956be4dd5 gl_shader_decompiler: Add skeleton code from Citra for shader analysis. 2018-04-13 23:48:20 -04:00
bunnei
d81e6a523d shader_bytecode: Add initial module for shader decoding. 2018-04-13 23:48:19 -04:00
bunnei
785e8e6edc bit_field: Make all methods constexpr. 2018-04-13 23:48:18 -04:00
bunnei
fd70ab7449 Merge pull request #323 from Hexagon12/stub-hid
Service/HID: Stubbed out GetPlayerLedPattern
2018-04-13 10:58:03 -04:00
Hexagon12
dcca767129 Fixed normal params in GetDisplayResolution 2018-04-13 17:47:01 +03:00
Hexagon12
45d0f3aa17 Stubbed out GetPlayerLedPattern 2018-04-13 17:05:03 +03:00
bunnei
22a26b7fb5 Merge pull request #319 from Hexagon12/service-name-fix
Various service name fixes - part 1
2018-04-13 00:25:32 -04:00
mailwl
33a7e34f7b Service/SSL: update service according switchbrew 2018-04-11 19:17:18 +03:00
Hexagon12
f4031770c4 Various fixes and clang 2018-04-11 14:48:56 +03:00
Hexagon12
0de5d695f2 Decimal change 2018-04-10 21:21:00 +03:00
Hexagon12
1126a652ff Updated pctl:a with new service names. 2018-04-10 21:03:23 +03:00
Hexagon12
a0ea81c9aa Updated nvmemp with new service names. 2018-04-10 20:28:15 +03:00
Hexagon12
f7e736e9f6 Updated nvdrv with more service names. 2018-04-10 20:26:49 +03:00
Hexagon12
1216b75c7c Updated pl:u with more service names. 2018-04-10 20:23:21 +03:00
Hexagon12
1f126a9c9f Updated hid with more service names. 2018-04-10 20:17:22 +03:00
Hexagon12
88e5b3df55 Updated friend:u with more service names. 2018-04-10 20:02:11 +03:00
Hexagon12
e03b079fa7 Updated the unknown name 2018-04-10 20:01:33 +03:00
Hexagon12
9ed350122e Updated friend:a with more service names. 2018-04-10 20:00:36 +03:00
Hexagon12
137d71fc56 Updated fsp-srv with more service names. 2018-04-10 19:30:27 +03:00
Hexagon12
e026f47266 Updated CodecCtl with more service names. 2018-04-10 18:58:14 +03:00
Hexagon12
638cdd4bd7 Updated audren with more service names. 2018-04-10 18:56:57 +03:00
Hexagon12
98773f1477 Updated audrec with more service names. 2018-04-10 18:53:33 +03:00
Hexagon12
353e1de2fe Updated audout with more service names. 2018-04-10 18:51:50 +03:00
Hexagon12
2c775922e6 Updated audin with more service names. 2018-04-10 18:47:52 +03:00
Hexagon12
b332b0e890 Updated AOC with more service names. 2018-04-10 18:42:28 +03:00
Hexagon12
289f2906dd Updated AppletOE with more service names. 2018-04-10 18:41:17 +03:00
Hexagon12
c0c49c1421 Updated AppletAE with more service names. 2018-04-10 18:39:46 +03:00
Hexagon12
6e88b54e2a Updated AM with more service names. 2018-04-10 18:36:00 +03:00
mailwl
fb3d5b0471 Service/ACC: convert to module, add acc:aa, acc:su, acc:u1 services 2018-04-10 10:18:52 +03:00
bunnei
b78cc5f632 Merge pull request #314 from jroweboy/tegra-progress-3b
GPU: Bind uploaded textures when drawing (Rebased)
2018-04-07 18:46:16 -04:00
bunnei
f21496aa92 Merge pull request #315 from jroweboy/spelling-fix
Fix spelling of Initialize
2018-04-07 16:49:09 -04:00
James Rowe
bdc2b4d0ea Prevent crash from uninitialized telemetry 2018-04-07 07:25:14 -06:00
James Rowe
d610e175f2 Fix spelling of Initialize 2018-04-07 07:23:21 -06:00
James Rowe
d0b8581068 Fix clang format issues 2018-04-06 22:00:48 -06:00
Subv
667453aa2e GPU: Assert when finding a texture with a format type other than UNORM. 2018-04-06 20:44:46 -06:00
Subv
e8f53dd787 GL: Set up the textures used for each draw call.
Each Maxwell shader stage can have an arbitrary number of textures, but we're limited to a certain number in OpenGL. We try to only use the minimum amount of host textures by not keeping a 1:1 relation between guest texture ids and host texture ids, ie, guest texture id 8 can be host texture id 0 if it's the only texture used in the guest shader program.
This mapping will have to be passed to the shader decompiler so it can rewrite the texture accesses.
2018-04-06 20:44:46 -06:00
Subv
bde9bcfb39 GL: Bind the textures to the shaders used for drawing. 2018-04-06 20:44:46 -06:00
Subv
fbff18d9ae GLCache: Specialize the MortonCopy function for the DXT1 texture format.
It will now use the UnswizzleTexture function instead of the MortonCopyPixels128, which doesn't seem to work for textures.
2018-04-06 20:44:46 -06:00
Subv
bc6a399223 GLCache: Implemented GetTextureSurface. 2018-04-06 20:44:45 -06:00