Browse Source
[vulkan] Implementation for VK_EXT_shader_quad_control (#4168)
[vulkan] Implementation for VK_EXT_shader_quad_control (#4168)
An experimental approach to introduce an smarter way to use and access QUAD's capabilities on shaders, suggested by @gidoly some months ago, finally came into something usable; current implementation checks GLASM, GLSL and Vulkan on their own way, stablishes proper emitters and receivers for Quads inside our recompiler, which are the introductions for future changes; checks for support and actual feature bit, OpCodes and mask were added within this PR. Meanwhile the expected behavior was to reduce graphical issues (on games with Quad shaders reliant), we encountered a very slight performance increase depending on what game and shader are actually compiled. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4168 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Samuel <lizzie@eden-emu.dev>master
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
19 changed files with 142 additions and 16 deletions
-
4src/shader_recompiler/backend/glasm/emit_glasm_instructions.h
-
21src/shader_recompiler/backend/glasm/emit_glasm_warp.cpp
-
6src/shader_recompiler/backend/glsl/emit_glsl_instructions.h
-
15src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp
-
11src/shader_recompiler/backend/spirv/emit_spirv.cpp
-
4src/shader_recompiler/backend/spirv/emit_spirv_instructions.h
-
15src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp
-
10src/shader_recompiler/frontend/ir/ir_emitter.cpp
-
4src/shader_recompiler/frontend/ir/ir_emitter.h
-
4src/shader_recompiler/frontend/ir/opcodes.cpp
-
4src/shader_recompiler/frontend/ir/opcodes.h
-
5src/shader_recompiler/frontend/ir/opcodes.inc
-
35src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cpp
-
4src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp
-
2src/shader_recompiler/profile.h
-
1src/shader_recompiler/shader_info.h
-
2src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
-
5src/video_core/vulkan_common/vulkan_device.cpp
-
6src/video_core/vulkan_common/vulkan_device.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue