FernandoS27
5f4ee6f0c8
Add memory Layout to Render Targets and Depth Buffers
7 years ago
FernandoS27
af653906d0
Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depth
7 years ago
Lioncash
6e27c5d4d1
gl_shader_decompiler: Remove unused variables in TMML's implementation
Given "y" isn't always used, but "x" is, we can rearrange this to avoid
unused variable warnings by changing the names of op_a and op_b
7 years ago
FernandoS27
be97fc884d
Implement Scissor Test
7 years ago
FernandoS27
30ff42b8cc
Assert Scissor tests
7 years ago
ReinUsesLisp
7c2d6ef210
gl_shader_decompiler: Move position varying location from 15 to 0 and apply an offset
7 years ago
ReinUsesLisp
ee4d538850
gl_shader_decompiler: Implement geometry shaders
7 years ago
ReinUsesLisp
4d0c682468
video_core: Allow LabelGLObject to use extra info on any object
7 years ago
ReinUsesLisp
0ecd181cca
gl_rasterizer: Fixup undefined behaviour in SetupDraw
7 years ago
FernandoS27
752faff2bc
Implemented Depth Compare and Shadow Samplers
7 years ago
bunnei
9aec85d39c
fermi_2d: Implement simple copies with AccelerateSurfaceCopy.
7 years ago
bunnei
011cf77796
gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies.
7 years ago
bunnei
749aef3dd0
gl_rasterizer_cache: Implement a simpler surface copy using glCopyImageSubData.
7 years ago
ReinUsesLisp
3e2380327a
gl_rasterizer: Implement quads topology
7 years ago
FernandoS27
f664437ae8
Implemented Texture Processing Modes in TEXS and TLDS
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