FernandoS27
eec2311ec1
Implemented helper function to correctly calculate a texture's size
7 years ago
ReinUsesLisp
0c0ff8f0f6
gl_shader_decompiler: Implement VMAD
7 years ago
FernandoS27
df5575aa44
Add memory Layout to Render Targets and Depth Buffers
7 years ago
FernandoS27
020cee90ef
Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depth
7 years ago
Lioncash
7966958c67
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
118ad3523c
Implement Scissor Test
7 years ago
FernandoS27
85a8a0b038
Assert Scissor tests
7 years ago
ReinUsesLisp
27860f7430
gl_shader_decompiler: Move position varying location from 15 to 0 and apply an offset
7 years ago
ReinUsesLisp
f1dff1c269
gl_shader_decompiler: Implement geometry shaders
7 years ago
ReinUsesLisp
917f077007
video_core: Allow LabelGLObject to use extra info on any object
7 years ago
ReinUsesLisp
46214933c9
gl_rasterizer: Fixup undefined behaviour in SetupDraw
7 years ago
FernandoS27
57301b3e1d
Implemented Depth Compare and Shadow Samplers
7 years ago
bunnei
26348d6ebb
fermi_2d: Implement simple copies with AccelerateSurfaceCopy.
7 years ago
bunnei
6a6aa35a70
gl_rasterizer: Add rasterizer cache code to handle accerated fermi copies.
7 years ago
bunnei
93822473f7
gl_rasterizer_cache: Implement a simpler surface copy using glCopyImageSubData.
7 years ago
ReinUsesLisp
db80264fae
gl_rasterizer: Implement quads topology
7 years ago
FernandoS27
c6978b43b3
Implemented Texture Processing Modes in TEXS and TLDS
7 years ago
ReinUsesLisp
f4a4427ff3
gl_rasterizer: Fixup unassigned point sizes
7 years ago
bunnei
0e020d2fee
gl_rasterizer_cache: Fixes to how we do render to cubemap.
- Fixes issues with Splatoon 2.
7 years ago
bunnei
2d8977768f
gl_rasterizer_cache: Add check for array rendering to cubemap texture.
7 years ago
bunnei
84375d04ee
gl_rasterizer_cache: Implement render to cubemap.
7 years ago
bunnei
977f2bafa7
gl_shader_decompiler: TEXS: Implement TextureType::TextureCube.
7 years ago
bunnei
dcc44650fe
gl_rasterizer_cache: Add support for SurfaceTarget::TextureCubemap.
7 years ago
bunnei
5b1e1c081e
gl_rasterizer_cache: Implement LoadGLBuffer for Texture2DArray.
7 years ago
bunnei
b0fded32c6
gl_rasterizer_cache: Update BlitTextures to support non-Texture2D ColorTexture surfaces.
7 years ago
bunnei
036c50c9a3
gl_rasterizer_cache: Track texture target and depth in the cache.
7 years ago
bunnei
09de119f10
gl_rasterizer_cache: Workaround for Texture2D -> Texture2DArray scenario.
7 years ago
bunnei
08d7415a8a
gl_rasterizer_cache: Keep track of surface 2D size separately from total size.
7 years ago
raven02
7cb5586653
Fix trailing whitespace
7 years ago
ReinUsesLisp
07609b33c4
video_core: Implement point_size and add point state sync
7 years ago
ReinUsesLisp
51435ad30c
gl_state: Pack sampler bindings into a single ARB_multi_bind
7 years ago
ReinUsesLisp
f5b5c5ba06
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
e0c63533ab
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
5d3bc9c9b0
correct BC6H
7 years ago
Lioncash
c22d6203a9
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
02106208f8
shader_bytecode: Lay out the Ipa-related enums better
This is more consistent with the surrounding enums.
7 years ago
Lioncash
d8cbbfb8ea
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
9acd217fed
Reverse stride align restriction on FastSwizzle due to lost performance
7 years ago
FernandoS27
ec51077131
Join both Swizzle methods within one interface function
7 years ago
FernandoS27
dc98e08d51
Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling Table instead
7 years ago
FernandoS27
55543db875
Remove same output bpp restriction on FastSwizzle
7 years ago
FernandoS27
0bd735d574
Improved Legacy Swizzler to be better documented and work better
7 years ago
Lioncash
770efb87b8
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
c865df9ca7
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
cd00f35cc8
Improved fast swizzle and removed restrictions to it
7 years ago
Markus Wick
da98f8c157
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
b7be8be9ee
Implemented Internal Flags
7 years ago
Lioncash
8a6bc44751
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
5a00f0ec41
Implemented I2I.CC on the NEU control code, used by SMO
7 years ago
FernandoS27
81fd967a27
Implemented CSETP
7 years ago