summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-capability.cpp
diff options
context:
space:
mode:
authorSamuel Kogler <skogler@users.noreply.github.com>2023-03-16 19:05:33 +0100
committerGitHub <noreply@github.com>2023-03-16 11:05:33 -0700
commitb92f2805855282cb717c21345dab8ffdc3f1fdd2 (patch)
tree94eb39cf53114fa971917625d398eb03e1629b63 /source/slang/slang-capability.cpp
parente960534a5b5a26a2b6d6c27586fc2dad88594b93 (diff)
Support GL_EXT_fragment_shader_barycentric (#2704)
* Support GL_EXT_fragment_shader_barycentric * Support pervertex with GL_EXT_fragment_shader_barycentric
Diffstat (limited to 'source/slang/slang-capability.cpp')
-rw-r--r--source/slang/slang-capability.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-capability.cpp b/source/slang/slang-capability.cpp
index 0b82cb92c..235e211e5 100644
--- a/source/slang/slang-capability.cpp
+++ b/source/slang/slang-capability.cpp
@@ -67,6 +67,10 @@ enum class CapabilityAtomConflictMask : uint32_t
// Capability atoms that represent GLSL ray tracing extensions conflict with
// one another (we only want to use one such extension at a time).
RayTracingExtension = 1 << 1,
+
+ // Capability atoms that represent GLSL fragment shader barycentric extensions conflict with
+ // one another (we only want to use one such extension at a time).
+ FragmentShaderBarycentricExtension = 1 << 2,
};
// For simplicity in building up our data structure representing