From: Dave Airlie Date: Mon, 20 Sep 2010 05:38:40 +0000 (+1000) Subject: r600g: add missing BC_INST wrapper for evergreen X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e5173d065f0da450cf553e3e3084a0f774919a3;p=mesa.git r600g: add missing BC_INST wrapper for evergreen --- diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 773e5f6cb1c..bce52973136 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -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++; } }