nv50/ir: silence unsupported TGSI_PROPERTY_CS_FIXED_BLOCK_*
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 8 May 2016 22:13:41 +0000 (00:13 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 May 2016 19:58:56 +0000 (21:58 +0200)
We don't need them for compute shaders.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp

index 3708f3738e1e95d6b526f0a9ee5e441012ea59ee..d59950eb6f4577f2dc5d6ebdef1fa5d6b7b39ecb 100644 (file)
@@ -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;