glsl: Add cbuf access workaround for devices with component indexing bug

This commit is contained in:
ameerj 2021-06-04 02:05:04 -04:00
parent 747b8556a4
commit 35e78d558d
2 changed files with 112 additions and 51 deletions

View file

@ -101,6 +101,8 @@ struct Profile {
bool has_broken_unsigned_image_offsets{};
/// Signed instructions with unsigned data types are misinterpreted
bool has_broken_signed_operations{};
/// Dynamic vec4 indexing is broken on some OpenGL drivers
bool has_gl_component_indexing_bug{};
/// Ignores SPIR-V ordered vs unordered using GLSL semantics
bool ignore_nan_fp_comparisons{};
};