From b92f2805855282cb717c21345dab8ffdc3f1fdd2 Mon Sep 17 00:00:00 2001 From: Samuel Kogler Date: Thu, 16 Mar 2023 19:05:33 +0100 Subject: Support GL_EXT_fragment_shader_barycentric (#2704) * Support GL_EXT_fragment_shader_barycentric * Support pervertex with GL_EXT_fragment_shader_barycentric --- source/slang/slang-capability.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/slang/slang-capability.cpp') 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 -- cgit v1.2.3