Commit Graph

19135 Commits

Author SHA1 Message Date
6eea88d614 glsl: Cleanup/Address feedback 2021-07-22 21:51:38 -04:00
74f683787e gl_shader_cache: Implement async shaders 2021-07-22 21:51:38 -04:00
ae4e452759 glsl: Add Shader_GLSL logging 2021-07-22 21:51:38 -04:00
6c6a451d6a glsl: Add LoopSafety instructions 2021-07-22 21:51:38 -04:00
a0d0704aff glsl: Conditionally add EXT_texture_shadow_lod 2021-07-22 21:51:38 -04:00
5e7b2b9661 glsl: Add stubs for sparse queries and variable aoffi when not supported 2021-07-22 21:51:38 -04:00
6aa1bf7b6f glsl: Implement legacy varyings 2021-07-22 21:51:38 -04:00
ff3de0fb6b gl_shader_cache: Remove const from pipeline source arguments 2021-07-22 21:51:38 -04:00
413eb6983f gl_shader_cache: Move OGL shader compilation to the respective Pipeline constructor 2021-07-22 21:51:38 -04:00
39c29664f9 glsl: Minor cleanup 2021-07-22 21:51:38 -04:00
427a2596a1 glsl: Fix Cbuf getters for F32 type 2021-07-22 21:51:38 -04:00
7c82f20b52 glsl: Add immediate index oob checking for Cbuf getters 2021-07-22 21:51:38 -04:00
84c86e03cd glsl: Refactor GetCbuf functions to reduce code duplication 2021-07-22 21:51:38 -04:00
e81c73a874 glsl: Address more feedback. Implement indexed texture reads 2021-07-22 21:51:38 -04:00
7d89a82a48 glsl: Remove Signed Integer variables 2021-07-22 21:51:38 -04:00
4759db28d0 glsl: Address Rodrigo's feedback 2021-07-22 21:51:38 -04:00
85399e119d glsl: Reorganize backend code, remove unneeded [[maybe_unused]] 2021-07-22 21:51:37 -04:00
e7c8f8911f glsl: Implement SampleId and SetSampleMask
plus some minor refactoring of implementations
2021-07-22 21:51:37 -04:00
d1a68f7997 glsl: Add gl_PerVertex in for GS 2021-07-22 21:51:37 -04:00
a926695234 glsl: Use existing tracking for enabling EXT_shader_image_load_formatted 2021-07-22 21:51:37 -04:00
14bd73db36 glsl: Enable early fragment tests 2021-07-22 21:51:37 -04:00
6650c4799d gl_rasterizer: Add texture fetch barrier for fragments
Fixes flicker seen in XC2
2021-07-22 21:51:37 -04:00
3f31a547e0 glsl: Implement more attribute getters and setters 2021-07-22 21:51:37 -04:00
8bb8bbf4ae glsl: Implement fswzadd
and wip nv thread shuffle impl
2021-07-22 21:51:37 -04:00
c542204113 glsl: Implement indexed attribute loads 2021-07-22 21:51:37 -04:00
2a504b4765 glsl: Conditionally add GL_ARB_sparse_texture2 2021-07-22 21:51:37 -04:00
970fc39d98 glsl: Rebase fixes 2021-07-22 21:51:37 -04:00
fc0db612ab glsl: Conditionally use GL_EXT_shader_image_load_formatted
Fix for SULD.D
2021-07-22 21:51:37 -04:00
fb839061fb glsl: Remove output generic indexing for geometry stage 2021-07-22 21:51:37 -04:00
258106038e glsl: Allow dynamic tracking of variable allocation 2021-07-22 21:51:37 -04:00
465903468e glsl: Implement barriers 2021-07-22 21:51:37 -04:00
421847cf1e glsl: Implement image atomics and set layer
along with some more cleanup/oversight fixes
2021-07-22 21:51:37 -04:00
d41aef03c7 glsl: Fix image gather logic 2021-07-22 21:51:37 -04:00
35e78d558d glsl: Add cbuf access workaround for devices with component indexing bug 2021-07-22 21:51:37 -04:00
747b8556a4 glsl: Use textureGrad fallback when EXT_texture_shadow_lod is unsupported 2021-07-22 21:51:37 -04:00
d12f2b8ccf emit_glsl_image: Use immediate offsets when possible 2021-07-22 21:51:37 -04:00
0a0b0a73d8 glsl: Fix <32-bit SSBO writes
and more cleanup
2021-07-22 21:51:37 -04:00
34fdb6471d glsl: Cleanup and address feedback 2021-07-22 21:51:37 -04:00
5355568a2d glsl: Refactor Global memory functions 2021-07-22 21:51:37 -04:00
a68fabf6d5 glsl: Increase NUM_VARS that can be allocated
needed for HW:AoC.
2021-07-22 21:51:37 -04:00
8d8ce24f20 glsl: Implement Load/WriteGlobal
along with some other misc changes and fixes
2021-07-22 21:51:37 -04:00
af9696059c glsl: Implement Images 2021-07-22 21:51:37 -04:00
6577a63d36 glsl: skip gl_ViewportIndex write if device does not support it 2021-07-22 21:51:37 -04:00
f4799e8fa1 glsl: Implement transform feedback 2021-07-22 21:51:37 -04:00
31147ffe69 glsl: Yet another gl_ViewportIndex fix attempt 2021-07-22 21:51:37 -04:00
9f3970f837 glsl: Add gl_ViewportIndex out attribute 2021-07-22 21:51:37 -04:00
fc29de7d5b emit_glsl_context_get_set: Remove unused function 2021-07-22 21:51:37 -04:00
59576b82a8 glsl: Fix precise variable declaration
and add some more separation in the shader for better debugability when dumped
2021-07-22 21:51:37 -04:00
8c684b3e23 glsl: Implement tessellation shaders 2021-07-22 21:51:37 -04:00
c7d085b505 glsl: Implement ImageGradient and other texture function variants 2021-07-22 21:51:37 -04:00