r600g: ignore sampler views for now.
authorDave Airlie <airlied@redhat.com>
Mon, 22 Jun 2015 03:36:41 +0000 (13:36 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Jun 2015 04:02:49 +0000 (14:02 +1000)
This fixes a regression in that r600 stopped working when
sampler views were pushed.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c

index 07da16761827b314993742260373ff0933a763e3..af7622e9b3417249c2cf16d7ebb757216a92050c 100644 (file)
@@ -725,6 +725,7 @@ static int tgsi_declaration(struct r600_shader_ctx *ctx)
 
        case TGSI_FILE_CONSTANT:
        case TGSI_FILE_SAMPLER:
+       case TGSI_FILE_SAMPLER_VIEW:
        case TGSI_FILE_ADDRESS:
                break;