diff options
author | Billy Laws <blaws05@gmail.com> | 2022-08-02 17:41:41 +0100 |
---|---|---|
committer | Billy Laws <blaws05@gmail.com> | 2023-01-05 22:13:07 +0000 |
commit | bbfad79c89f9b7886005d39b51129bcfd94830b8 (patch) | |
tree | 70450b224d32ae1302010248590caff84ea200b7 /src/shader_recompiler/profile.h | |
parent | 1428451722718d7af450f67d7ec823b155b128d2 (diff) |
Vulkan: Add a workaround for input_position on Adreno drivers
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r-- | src/shader_recompiler/profile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h index b8841a5367..253e0d0bdd 100644 --- a/src/shader_recompiler/profile.h +++ b/src/shader_recompiler/profile.h @@ -55,6 +55,8 @@ struct Profile { /// OpFClamp is broken and OpFMax + OpFMin should be used instead bool has_broken_spirv_clamp{}; + /// The Position builtin needs to be wrapped in a struct when used as an input + bool has_broken_spirv_position_input{}; /// Offset image operands with an unsigned type do not work bool has_broken_unsigned_image_offsets{}; /// Signed instructions with unsigned data types are misinterpreted |