From eafe3905d93efbe5a5f0267d23608cc71c1f96fe Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 9 May 2016 00:13:41 +0200 Subject: [PATCH] nv50/ir: silence unsupported TGSI_PROPERTY_CS_FIXED_BLOCK_* We don't need them for compute shaders. Signed-off-by: Samuel Pitoiset Reviewed-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.30.2