|
94652e122d
|
Remove glsl handle legacy related code
|
2021-12-18 14:03:40 +08:00 |
|
ameerj
|
f32b2bcd20
|
shader_recompiler: Adjust emit_context includes
|
2021-12-05 18:11:19 -05:00 |
|
ameerj
|
5286a7bc4c
|
shader_recompiler: Rename backend emit_context files
|
2021-12-05 16:33:44 -05:00 |
|
ReinUsesLisp
|
e66d5b88a6
|
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
|
2021-11-16 22:11:29 +01:00 |
|
ReinUsesLisp
|
cfeb161c7e
|
glsl/glasm: Pass and use scaling parameters in shaders
|
2021-11-16 22:11:29 +01:00 |
|
ameerj
|
f086c82e1f
|
gl_graphics_pipeline: Add downscale factor to shader uniforms
|
2021-11-16 22:11:28 +01:00 |
|
ReinUsesLisp
|
c15332c44f
|
shader: Add IsTextureScaled opcode
|
2021-11-16 22:11:28 +01:00 |
|
ReinUsesLisp
|
95761cc6a7
|
shader: Add integer division opcodes
|
2021-11-16 22:11:28 +01:00 |
|
ReinUsesLisp
|
fb924ea85c
|
shader: Add resolution down factor opcode
|
2021-11-16 22:11:27 +01:00 |
|
Fernando Sahmkow
|
194579bc4f
|
ShaderCache: Fix Phi Nodes Type on OGL.
|
2021-11-01 22:26:17 +01:00 |
|
Morph
|
e29f3b87f1
|
style: Remove extra space preceding the :: operator
|
2021-09-29 01:26:01 -04:00 |
|
ameerj
|
d956fb3c7c
|
emit_glsl_warp: Fix shuffle ops for 64-thread warp sizes
|
2021-08-31 16:11:25 -04:00 |
|
ameerj
|
5b45dfe971
|
emit_glsl_warp: Fix ballot related ops for 64-thread warp sizes
|
2021-08-31 16:11:25 -04:00 |
|
ameerj
|
56c30dd9e0
|
glsl: Simplify FCMP emission
|
2021-07-22 21:51:40 -04:00 |
|
ameerj
|
79d2684261
|
glsl: Update TessellationControl gl_in
Adheres to GL_ARB_separate_shader_objects requirements
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
bf2956d77a
|
shader: Avoid usage of C++20 ranges to build in clang
|
2021-07-22 21:51:40 -04:00 |
|
ameerj
|
94af0a00f6
|
glsl: Clamp shared mem size to GL_MAX_COMPUTE_SHARED_MEMORY_SIZE
|
2021-07-22 21:51:40 -04:00 |
|
lat9nq
|
49946cf780
|
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
|
2021-07-22 21:51:40 -04:00 |
|
ameerj
|
11f04f1022
|
shader: Ignore global memory ops on devices lacking int64 support
|
2021-07-22 21:51:40 -04:00 |
|
lat9nq
|
2e5af95541
|
shader: GCC fmt 8.0.0 fixes
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
5643a909bc
|
shader: Fix disabled and unwritten attributes and varyings
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
65daec8b75
|
glsl: Fix shared and local memory declarations
account for the fact that program.*memory_size is in units of bytes.
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
8289eb108f
|
opengl: Implement LOP.CC
Used by MH:Rise
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
00fa09dc45
|
glsl: Declare local memory in main
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
f7352411f0
|
glsl: Add passthrough geometry shader support
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
7dafa96ab5
|
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
27ca8a0e13
|
glsl: Better IAdd Overflow CC fix
This ensures the original operand values are not overwritten when being used in the overflow detection.
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
4397053d5c
|
shader: Remove IAbs64
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
bc6e399ae3
|
glsl: Fix IADD CC
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
808ef97a08
|
shader: Move loop safety tests to code emission
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
cbce9ddd4a
|
glsl: Remove frag color initialization
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
1c648f176c
|
emit_glsl_special: Skip initialization of frag_color0
Fixes rendering in Devil May Cry without regressing Ori and the Blind Forest.
|
2021-07-22 21:51:38 -04:00 |
|
Morph
|
cfbc85839d
|
glsl: Add missing ; in EmitSetSampleMask
Fixes shader compilation in Okami HD
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
9e066dcb15
|
glsl: Fix output varying initialization when transform feedback is used
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
ccbd24fe00
|
glsl: Fix cbuf component indexing bug falback
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
374eeda1a3
|
shader: Properly manage attributes not written from previous stages
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
892b8aa2ad
|
glsl: Only declare fragment outputs on fragment shaders
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
0ffea97e2e
|
shader: Split profile and runtime info headers
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
12ef06ba8b
|
glsl: Obey need_declared_frag_colors to declare and initialize all frag_color
Fixes Ori and the blind forest title screen
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
d36f667bc0
|
glsl: Address rest of feedback
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
c5dfa0b630
|
glsl: Move gl_Position/generic attribute initialization to EmitProlgue
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
3b339fbbf6
|
glsl: Conditionally use fine/coarse derivatives based on device support
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
6eea88d614
|
glsl: Cleanup/Address feedback
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
ae4e452759
|
glsl: Add Shader_GLSL logging
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
6c6a451d6a
|
glsl: Add LoopSafety instructions
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
a0d0704aff
|
glsl: Conditionally add EXT_texture_shadow_lod
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
5e7b2b9661
|
glsl: Add stubs for sparse queries and variable aoffi when not supported
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
6aa1bf7b6f
|
glsl: Implement legacy varyings
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
39c29664f9
|
glsl: Minor cleanup
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
427a2596a1
|
glsl: Fix Cbuf getters for F32 type
|
2021-07-22 21:51:38 -04:00 |
|