aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/shader_bytecode.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-11-23 01:57:49 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2018-11-23 02:14:43 -0300
commit52c844eeec73ecada5a9fc2bbbe2eaec36d2ebe8 (patch)
treee3399a12accc3fd8ad69670d747782c1fbe12d3a /src/video_core/engines/shader_bytecode.h
parentc4d7ee67fd66d42c6f6db25630346f9c0f2e96a8 (diff)
gl_shader_decompiler: Implement clip distances
Diffstat (limited to 'src/video_core/engines/shader_bytecode.h')
-rw-r--r--src/video_core/engines/shader_bytecode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 83a6fd8757..c0275afb56 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -82,6 +82,8 @@ union Attribute {
Position = 7,
Attribute_0 = 8,
Attribute_31 = 39,
+ ClipDistances0123 = 44,
+ ClipDistances4567 = 45,
PointCoord = 46,
// This attribute contains a tuple of (~, ~, InstanceId, VertexId) when inside a vertex
// shader, and a tuple of (TessCoord.x, TessCoord.y, TessCoord.z, ~) when inside a Tess Eval