From 35e78d558d7c4ecc4f5aeaaee6e5521d39e9b9b6 Mon Sep 17 00:00:00 2001
From: ameerj <52414509+ameerj@users.noreply.github.com>
Date: Fri, 4 Jun 2021 02:05:04 -0400
Subject: glsl: Add cbuf access workaround for devices with component indexing
 bug

---
 src/shader_recompiler/profile.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/shader_recompiler/profile.h')

diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index 3bbd5a531b..bc61a911f1 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -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{};
 };
-- 
cgit v1.2.3-70-g09d2