summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-05-09 00:13:41 +0200
committerSamuel Pitoiset <[email protected]>2016-05-09 21:58:56 +0200
commiteafe3905d93efbe5a5f0267d23608cc71c1f96fe (patch)
tree68aa3a6e117b1e9a6045d411ddcafea579e5d22d /src/gallium/drivers/nouveau
parent2e2aa992ffefa56013554c36d8ddcb53879bf661 (diff)
nv50/ir: silence unsupported TGSI_PROPERTY_CS_FIXED_BLOCK_*
We don't need them for compute shaders. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp5
1 files changed, 5 insertions, 0 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 3708f3738e1..d59950eb6f4 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
@@ -1102,6 +1102,11 @@ void Source::scanProperty(const struct tgsi_full_property *prop)
else
info->prop.tp.outputPrim = PIPE_PRIM_TRIANGLES; /* anything but points */
break;
+ case TGSI_PROPERTY_CS_FIXED_BLOCK_WIDTH:
+ case TGSI_PROPERTY_CS_FIXED_BLOCK_HEIGHT:
+ case TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH:
+ // we don't care
+ break;
case TGSI_PROPERTY_NUM_CLIPDIST_ENABLED:
info->io.clipDistances = prop->u[0].Data;
break;