ameerj
02f27b1992
shader, video_core: Fix GCC build errors
4 years ago
ameerj
92bb068ad5
emit_spirv: Fix RescalingLayout alignment
4 years ago
Fernando Sahmkow
2549ee33ee
RescalingPass: Agregate pixels on texelFetch while on Fragment Shader
4 years ago
Fernando Sahmkow
dc6f13060b
shader: Fix TextureSize check on rescaling.
4 years ago
ameerj
a8a021ddcf
emit_spirv: Fix RescalingLayout alignment
4 years ago
ReinUsesLisp
d04e2dac6c
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
4 years ago
ReinUsesLisp
928ff21aae
shader: Properly blacklist and scale image loads
4 years ago
ReinUsesLisp
0d12e498ab
glsl/glasm: Pass and use scaling parameters in shaders
4 years ago
ameerj
b83c3e7182
gl_graphics_pipeline: Add downscale factor to shader uniforms
4 years ago
ReinUsesLisp
e63fc7a4bb
spirv: Implement rescaling patching
4 years ago
ReinUsesLisp
403633afcc
shader/rescaling_pass: Patch more instructions
4 years ago
ReinUsesLisp
7f88938d72
shader: Add IsTextureScaled opcode
4 years ago
ReinUsesLisp
50d20bf0e9
shader: Add copy constructor to instructions
4 years ago
ReinUsesLisp
8cfa8cda16
shader: Add integer division opcodes
4 years ago
ReinUsesLisp
952c65ae54
shader: Fix rescaling pass
4 years ago
ReinUsesLisp
14fb648246
shader: Fix resolution scaling pass
4 years ago
ReinUsesLisp
47d1d881cf
shader: Add resolution down factor opcode
4 years ago
Fernando Sahmkow
a638ce0388
ShaderDecompiler: Add initial support for rescaling.
4 years ago
Feng Chen
c047b66519
Simply legacy attribute implement
4 years ago
Fernando Sahmkow
a354c3ae82
Shader Cahe: Fix Phi Nodes on GLASM.
4 years ago
Fernando Sahmkow
6f94c9a9fe
ShaderCache: Fix Phi Nodes Type on OGL.
4 years ago
Fernando Sahmkow
c9bee9e96e
ShaderCache: Order Phi Arguments from farthest away to nearest.
4 years ago
vonchenplus
64a9dffd3d
Support gl_FogFragCoord attribute
4 years ago
vonchenplus
1c917c6905
Support gl_BackSecondaryColor attribute
4 years ago
vonchenplus
9cd198ede9
Support gl_FrontSecondaryColor attribute
4 years ago
vonchenplus
b4301281d5
Support gl_BackColor attribute
4 years ago
Fernando Sahmkow
6e19b9f5ff
TexturePass: Fix clamping of images as this allowed negative indices.
4 years ago
ameerj
f69d094b14
emit_spirv_image: Fix depth image implicit lod sample in compute
Ensures all drivers behave the same way in this case.
4 years ago
Fernando Sahmkow
1a0006ef55
Shader Compiler: avoid overflowed indices on indixed samplers.
4 years ago
Morph
203d8f7f60
style: Remove extra space preceding the :: operator
4 years ago
ameerj
d7977be416
general: Update style to clang-format-12
4 years ago
Fernando Sahmkow
0bd7c14e04
Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.
4 years ago
Feng Chen
63aba30181
Detail adjustment
4 years ago
Feng Chen
38b28f1c4d
Detail adjustment
4 years ago
Feng Chen
3948edde71
Re-implement get unused location
4 years ago
Feng Chen
bd94ea2f5a
Move attribute related definitions to spirv anonymous namespace
4 years ago
Feng Chen
dc8967ebcd
Dynamic get unused location
4 years ago
Feng Chen
1aaa6a353b
Implement intput and output fixed fnc textures
4 years ago
Feng Chen
49c66fa4e9
Rename parameters
4 years ago
Feng Chen
b3e5a2f75d
Fix create GraphicsPipelines crash
4 years ago
Feng Chen
a1c9039eae
Add input/output location
4 years ago
ameerj
668d936dd2
emit_glsl_warp: Fix shuffle ops for 64-thread warp sizes
4 years ago
ameerj
9302524b8c
emit_glsl_warp: Fix ballot related ops for 64-thread warp sizes
4 years ago
ameerj
c7568d61d2
emit_spirv_warp: Fix shuffle ops for 64-thread warp sizes
4 years ago
ameerj
1bb5fb7e26
emit_spirv_warp: Fix ballot related ops for 64-thread warp sizes
4 years ago
Feng Chen
b86a4caa20
Add colorfront and txtcoord support
4 years ago
ameerj
8485bb3dcb
structured_control_flow: Skip reordering nested demote branches.
Nested demote branches add complexity with combining the condition if it has not been initialized yet. Skip them for the time being.
4 years ago
ameerj
e9a8e011f6
structured_control_flow: Conditionally invoke demote reorder pass
This is only needed on select drivers when a fragment shader discards/demotes.
4 years ago
ameerj
8c687b3a91
structured_control_flow: Add DemoteCombinationPass
Some drivers misread data when demotes are interleaved in the program. This moves demote branches to be checked at the end of the program.
Fixes "wireframe" issue in Pokemon SwSh on some drivers
4 years ago
ameerj
9b41b19766
emit_spirv_context_get_set: Fix Get FrontFace return value
The IR expects GetAttribute to return an F32 value. This case was returning a U32 instead.
4 years ago