aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2014-02-07 23:04:43 +0100
committerChristoph Bumiller <[email protected]>2014-02-07 23:14:00 +0100
commit882e98e5e6e63787d0eac572c461605e69fc1589 (patch)
tree7f41f16ee5a41ebd84e0ed3be8e9cd5c2ac39db7 /src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
parentdd2229d4c68ed78a50104637aef904f8ab6d7dd3 (diff)
nvc0: handle TGSI_SEMANTIC_LAYER
Cc: 10.1 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
index d7c06a49658..78a6c831fc5 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
@@ -861,8 +861,8 @@ int Source::inferSysValDirection(unsigned sn) const
case TGSI_SEMANTIC_INSTANCEID:
case TGSI_SEMANTIC_VERTEXID:
return 1;
-#if 0
case TGSI_SEMANTIC_LAYER:
+#if 0
case TGSI_SEMANTIC_VIEWPORTINDEX:
return 0;
#endif