Subv
b9e6f48dbb
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
8 years ago
Subv
8bfac40a92
GPU: Implemented the RGBA32_UINT rendertarget format.
8 years ago
Subv
d72f74483c
GLCache: Specify the component type along the texture type in the format tuple.
8 years ago
bunnei
4406d9b84c
gl_shader_decompiler: Implement predicate NotEqualWithNan.
8 years ago
bunnei
bf95fca386
gl_rasterizer_cache: Only dereference color_surface/depth_surface if valid.
8 years ago
bunnei
147286048e
gl_shader_decompiler: Add a return path for unknown instructions.
8 years ago
bunnei
bdba4b6c83
gl_rasterizer_cache: Implement caching for texture and framebuffer surfaces.
gl_rasterizer_cache: Improved cache management based on Citra's implementation.
gl_surface_cache: Add some docstrings.
8 years ago
bunnei
fb731b0a5a
gl_rasterizer_cache: Various fixes for ASTC handling.
8 years ago
bunnei
796f775771
gl_rasterizer_cache: Use SurfaceParams as a key for surface caching.
8 years ago
bunnei
1576d41c0f
maxwell_3d: Add a struct for RenderTargetConfig.
8 years ago
bunnei
bd86248eae
gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers.
8 years ago
bunnei
09150adc15
gl_rasterizer_cache: Cache size_in_bytes as a const per surface.
8 years ago
bunnei
022b5b7630
gl_rasterizer_cache: Refactor to make SurfaceParams members const.
8 years ago
bunnei
e250313bcf
gl_rasterizer_cache: Remove Citra's rasterizer cache, always load/flush surfaces.
8 years ago
bunnei
e210287624
gl_rasterizer: Workaround for when exceeding max UBO size.
8 years ago
bunnei
11c391a914
gl_state: Fix state management for texture swizzle.
8 years ago
bunnei
93a4bb20dc
gl_state: Remove unused state management from 3DS.
8 years ago
bunnei
b856c6d1c2
gl_rasterizer_cache: Fix inverted B5G6R5 format.
8 years ago
mailwl
52b73904e8
Fix crash at exit
8 years ago
Subv
cb4ff57322
Build: Fixed some MSVC warnings in various parts of the code.
8 years ago
Subv
29bddf03f7
GPU: Perform negation after absolute value in the float shader instructions.
8 years ago
Subv
cd61616ddb
GPU: Don't mark uniform buffers and registers as used for instructions which don't have them.
Like the MOV32I and FMUL32I instructions.
This fixes a potential crash when using these instructions.
8 years ago
Jules Blok
55e69c1cf2
gl_rasterizer: Get loose on independent blending.
8 years ago
bunnei
9feb7f7a63
gl_rasterizer: Implement texture format ASTC_2D_4X4.
8 years ago
bunnei
5fb04f7c6d
gl_rasterizer_cache: Loosen things up a bit.
8 years ago
bunnei
a72b4c358d
gl_shader_decompiler: Implement LOP instructions.
8 years ago
bunnei
b071232a75
gl_shader_decompiler: Refactor LOP32I instruction a bit in support of LOP.
8 years ago
bunnei
dc1808fa4a
gl_shader_decompiler: Implement integer size conversions for I2I/I2F/F2I.
8 years ago
bunnei
bb1e655f2d
gl_shader_gen: Set position.w to 1.
8 years ago
bunnei
fb8823d10d
gl_shader_decompiler: Implement LOP32I LogicOperation PassB.
8 years ago
Subv
1a0c6910ce
GPU: Implemented the iadd32i shader instruction.
8 years ago
Subv
df214db493
GPU: Partially implemented the Maxwell DMA engine.
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
8 years ago
bunnei
37110bbc02
gl_shader_decompiler: Implement saturate for float instructions.
8 years ago
Subv
cf9e8fbc13
GPU: Convert the gl_InstanceId and gl_VertexID variables to floats when reading from them.
This corrects the invalid position values in some games when doing attribute-less rendering.
8 years ago
Subv
aa4d2cac1b
Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.
This should help a bit with GPU performance once we're GPU-bound.
8 years ago
Subv
297a99944e
GPU: Implement the iset family of shader instructions.
8 years ago
Subv
f387d11882
GPU: Added decodings for the ISET family of instructions.
8 years ago
bunnei
9c12d989c3
gl_shader_decompiler: Implement SHR instruction.
8 years ago
Subv
6d7be6fc08
GPU: Stub the SSY shader instruction.
This instruction tells the GPU where the flow reconverges in a non-uniform control flow scenario, we can ignore this when generating GLSL code.
8 years ago
bunnei
179623a99c
gl_shader_decompiler: Implement IADD instruction.
8 years ago
bunnei
54408c16a8
gl_shader_decompiler: Add missing asserts for saturate_a instructions.
8 years ago
Subv
158cd05fd3
GPU: Synchronize the blend state on every draw call.
Only independent blending on render target 0 is implemented for now.
This fixes the elongated squids in Splatoon 2's boot screen.
8 years ago
Subv
3e48928bf2
GPU: Added registers for normal and independent blending.
8 years ago
Subv
5f3afad871
GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures.
This fixes issues with retrieving non-block-aligned tiled compressed textures from the cache.
8 years ago
Subv
b834631438
Rasterizer: Flush the written region when writing shader uniform data before copying it to the uniform buffers.
This fixes the flip_viewport uniform having invalid values when drawing.
8 years ago
Subv
f84d419248
GLRenderer: Write the shader stage configuration UBO data *before* copying it to the GPU.
This should fix the bug with the vs_config UBO being uninitialized during shader execution.
8 years ago
bunnei
221a29f0fd
gl_shader_decompiler: Implement BFE_IMM instruction.
8 years ago
Subv
f5ef6f5e8e
GLCache: Use the full uncompressed size when blitting from one texture to another.
This avoids the problem of only copying a tiny piece of the textures when they are compressed.
8 years ago
Subv
6c016a6844
GLCache: Simplify the logic to copy from one texture to another in BlitTextures.
We now use glCopyImageSubData, this should avoid errors with trying to attach a compressed texture as a framebuffer's color attachment and then blitting to it.
Maybe in the future we can change this to glCopyTextureSubImage which only requires GL_ARB_direct_state_access.
8 years ago
bunnei
1586ee87ae
gl_shader_decompiler: F2F: Implement rounding modes.
8 years ago