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 07da167..af7622e 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;