summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-05-30 17:58:03 +0200
committerSubv <subv2112@gmail.com>2018-05-30 17:58:03 +0200
commit99f12b05fa19e46d2dd482c6bde954046f5fd5bd (patch)
tree01657f3bbad78505ac27115a3e8e7979e97b4a6a /src/video_core/engines
parentMerge pull request #480 from mailwl/bcat (diff)
downloadyuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.tar
yuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.tar.gz
yuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.tar.bz2
yuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.tar.lz
yuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.tar.xz
yuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.tar.zst
yuzu-99f12b05fa19e46d2dd482c6bde954046f5fd5bd.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index d75de85e2..e115575ca 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -75,6 +75,10 @@ union Attribute {
enum class Index : u64 {
Position = 7,
Attribute_0 = 8,
+ // 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
+ // shader.
+ TessCoordInstanceIDVertexID = 47,
};
union {