nv50/ir: silence unhandled TGSI_PROPERTY_NEXT_SHADER info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 23 Mar 2016 22:29:20 +0000 (23:29 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 24 Mar 2016 17:53:24 +0000 (18:53 +0100)
radeonsi uses this property to make the best decision about which
shader to compile, but this is not currently used by our codegen.

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 12f2551..611d5f9 100644 (file)
@@ -1039,6 +1039,9 @@ void Source::scanProperty(const struct tgsi_full_property *prop)
    case TGSI_PROPERTY_NUM_CULLDIST_ENABLED:
       info->io.cullDistances = prop->u[0].Data;
       break;
+   case TGSI_PROPERTY_NEXT_SHADER:
+      /* Do not need to know the next shader stage. */
+      break;
    default:
       INFO("unhandled TGSI property %d\n", prop->Property.PropertyName);
       break;