r600g: add missing BC_INST wrapper for evergreen
authorDave Airlie <airlied@redhat.com>
Mon, 20 Sep 2010 05:38:40 +0000 (15:38 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 20 Sep 2010 05:38:40 +0000 (15:38 +1000)
src/gallium/drivers/r600/r600_shader.c

index 773e5f6cb1cf50d2a59bf81ffcf1fefa5985525a..bce52973136f41fd2808a5b81341d5d9ea199eb0 100644 (file)
@@ -514,7 +514,7 @@ int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *s
                        output[i].barrier = 1;
                        output[i].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM;
                        output[i].array_base = 0;
-                       output[i].inst = V_SQ_CF_ALLOC_EXPORT_WORD1_SQ_CF_INST_EXPORT;
+                       output[i].inst = BC_INST(ctx.bc, V_SQ_CF_ALLOC_EXPORT_WORD1_SQ_CF_INST_EXPORT);
                        noutput++;
                }
        }