summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
authorGravatar Billy Laws2023-02-18 18:26:47 +0000
committerGravatar bunnei2023-06-03 00:05:31 -0700
commitb4a12b889ee0182bbe05423933b122fd9e78b132 (patch)
tree4b5ea3367401213d28b3c48994fce7140a339044 /src/shader_recompiler/profile.h
parentImplement scaled vertex buffer format emulation (diff)
downloadyuzu-b4a12b889ee0182bbe05423933b122fd9e78b132.tar.gz
yuzu-b4a12b889ee0182bbe05423933b122fd9e78b132.tar.xz
yuzu-b4a12b889ee0182bbe05423933b122fd9e78b132.zip
Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUs
This crashes their shader compiler for some reason.
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r--src/shader_recompiler/profile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index 3bb4a7e6f..9ca97f6a4 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -78,6 +78,8 @@ struct Profile {
78 bool has_gl_bool_ref_bug{}; 78 bool has_gl_bool_ref_bug{};
79 /// Ignores SPIR-V ordered vs unordered using GLSL semantics 79 /// Ignores SPIR-V ordered vs unordered using GLSL semantics
80 bool ignore_nan_fp_comparisons{}; 80 bool ignore_nan_fp_comparisons{};
81 /// Some drivers have broken support for OpVectorExtractDynamic on subgroup mask inputs
82 bool has_broken_spirv_subgroup_mask_vector_extract_dynamic{};
81 83
82 u32 gl_max_compute_smem_size{}; 84 u32 gl_max_compute_smem_size{};
83}; 85};