ReinUsesLisp
3e2380327a
gl_rasterizer: Implement quads topology
7 years ago
ReinUsesLisp
1835911425
gl_rasterizer: Fixup unassigned point sizes
7 years ago
bunnei
df3799a008
gl_rasterizer_cache: Fixes to how we do render to cubemap.
- Fixes issues with Splatoon 2.
7 years ago
bunnei
29782273ec
gl_rasterizer_cache: Add check for array rendering to cubemap texture.
7 years ago
bunnei
f543b43fd0
gl_rasterizer_cache: Implement render to cubemap.
7 years ago
bunnei
15cc729ebd
gl_shader_decompiler: TEXS: Implement TextureType::TextureCube.
7 years ago
bunnei
ed2e0e85c9
gl_rasterizer_cache: Add support for SurfaceTarget::TextureCubemap.
7 years ago
bunnei
871580dcd8
gl_rasterizer_cache: Implement LoadGLBuffer for Texture2DArray.
7 years ago
bunnei
a9aa1db552
gl_rasterizer_cache: Update BlitTextures to support non-Texture2D ColorTexture surfaces.
7 years ago
bunnei
2e1cdde994
gl_rasterizer_cache: Track texture target and depth in the cache.
7 years ago
bunnei
fefb003b23
gl_rasterizer_cache: Workaround for Texture2D -> Texture2DArray scenario.
7 years ago
bunnei
ce452049d3
gl_rasterizer_cache: Keep track of surface 2D size separately from total size.
7 years ago
raven02
b92b4bbeaf
Fix trailing whitespace
7 years ago
ReinUsesLisp
e3e51d3ddb
video_core: Implement point_size and add point state sync
7 years ago
ReinUsesLisp
b8f1506aa5
gl_state: Pack sampler bindings into a single ARB_multi_bind
7 years ago
ReinUsesLisp
ab65fde9f4
video_core: Add asserts for CS, TFB and alpha testing
Add asserts for compute shader dispatching, transform feedback being
enabled and alpha testing. These have in common that they'll probably break
rendering without logging.
7 years ago
David
9f3fc067bf
Added glObjectLabels for renderdoc for textures and shader programs ( #1384 )
* Added glObjectLabels for renderdoc for textures and shader programs
* Changed hardcoded "Texture" name to reflect the texture type instead
* Removed string initialize
7 years ago
greggameplayer
b91e2d55f3
correct BC6H
7 years ago
Lioncash
90746c33c7
gl_state: Remove unused type alias
This isn't used anywhere within the header, so we can remove it, along
with the include that was previously necessary. This also uncovers an
indirect include in the cpp file for the assertion macros.
7 years ago
Lioncash
a8f5fd787f
shader_bytecode: Lay out the Ipa-related enums better
This is more consistent with the surrounding enums.
7 years ago
Lioncash
272517cf7e
shader_bytecode: Make operator== and operator!= of IpaMode const qualified
These don't affect the state of the struct and can be const member
functions.
7 years ago
FernandoS27
57b44200a2
Reverse stride align restriction on FastSwizzle due to lost performance
7 years ago
FernandoS27
d2dd1289bd
Join both Swizzle methods within one interface function
7 years ago
FernandoS27
41c6c4593a
Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling Table instead
7 years ago
FernandoS27
f020319a45
Remove same output bpp restriction on FastSwizzle
7 years ago
FernandoS27
68aaa83836
Improved Legacy Swizzler to be better documented and work better
7 years ago
Lioncash
ba02dd9ebc
gl_stream_buffer: Fix use of bitwise OR instead of logical OR in Map()
This was very likely intended to be a logical OR based off the
conditioning and testing of inversion in one case.
Even if this was intentional, this is the kind of non-obvious thing one
should be clarifying with a comment.
7 years ago
Subv
9cd5c61fcf
RasterizerGL: Use the correct framebuffer when clearing via the CLEAR_BUFFERS register.
Previously we were clearing the default backbuffer framebuffer.
Found thanks to a Piglit test :)
7 years ago
FernandoS27
bf2f2a715f
Improved fast swizzle and removed restrictions to it
7 years ago
Markus Wick
f465e4aaf2
gl_rasterizer: Fix StartAddress handling with indexed draw calls.
We uploaded the wrong data before. So the offset on the host GPU pointer may work for the first vertices, the last ones run out bounds.
Let's just offset the upload instead.
7 years ago
FernandoS27
567a5524b9
Implemented Internal Flags
7 years ago
Lioncash
9a8dbba1e5
gl_shader_decompiler: Avoid truncation warnings within LD_A and ST_A code
These are internally stored as u64 values, so using u32 here causes
truncation warnings. Instead, we can just use u64 and preserve the bit
width.
7 years ago
FernandoS27
e4bb759c4b
Implemented I2I.CC on the NEU control code, used by SMO
7 years ago
FernandoS27
e2ac8fb36d
Implemented CSETP
7 years ago
FernandoS27
aac77bbd18
Implemented Control Codes
7 years ago
FernandoS27
31e52113b3
Added asserts for texture misc modes to texture instructions
7 years ago
FernandoS27
55a4756766
Added texture misc modes to texture instructions
7 years ago
raven02
b91f7d5d67
Add 1D sampler for TLDS - TexelFetch (Mario Rabbids)
7 years ago
raven02
2845348608
Implement ASTC_2D_8X8 (Bayonetta 2)
7 years ago
raven02
0019a36b41
Implement RenderTargetFormat::BGR5A1_UNORM (Pokken Tournament DX)
7 years ago
Subv
c878a819d7
Shaders: Implemented multiple-word loads and stores to and from attribute memory.
This seems to be an optimization performed by nouveau.
7 years ago
fearlessTobi
63c2e32e20
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
FernandoS27
f8e994354f
Optimized Texture Swizzling
7 years ago
Lioncash
ae128f0375
gl_shader_decompiler: Get rid of variable shadowing within LEA instructions
These variables are already defined within an outer scope.
7 years ago
ReinUsesLisp
a42376dfad
Use ARB_multi_bind for uniform buffers ( #1287 )
* gl_rasterizer: use ARB_multi_bind for uniform buffers
* address feedback
7 years ago
bunnei
4a43fb7e1d
gl_rasterizer_cache: B5G6R5U should use GL_RGB8 as an internal format.
- Fixes a regression with Sonic Mania with ARB_texture_storage.
7 years ago
Subv
bb5eb4f20a
GPU: Basic implementation of the Kepler Inline Memory engine (p2mf).
This engine writes data from a FIFO register into the configured address.
7 years ago
FernandoS27
a99d9db32f
Implemented Texture Processing Modes
7 years ago
bunnei
7bb226f22d
gl_rasterizer_cache: Always blit on recreate, regardless of format.
- Fixes several rendering issues with Super Mario Odyssey.
7 years ago
bunnei
cdddd71d08
gl_shader_cache: Remove cache_width/cache_height.
- This was once an optimization, but we no longer need it with the cache reserve.
- This is also inaccurate.
7 years ago