r600g: fix pre eg export with llvm
authorVincent Lejeune <vljn@ovi.com>
Wed, 7 Nov 2012 16:17:58 +0000 (17:17 +0100)
committerVincent Lejeune <vljn@ovi.com>
Thu, 8 Nov 2012 12:21:57 +0000 (13:21 +0100)
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
src/gallium/drivers/r600/r600_asm.c

index 5f2548e31949cc5da41a828ac21385c6f90e1f8e..f06af4444730eefb7a4d31a7079ff84e098f3c36 100644 (file)
@@ -2961,6 +2961,6 @@ void r600_bytecode_export_read(struct r600_bytecode_output *output, uint32_t wor
        output->swizzle_w = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_W(word1);
        output->burst_count = G_SQ_CF_ALLOC_EXPORT_WORD1_BURST_COUNT(word1);
        output->end_of_program = G_SQ_CF_ALLOC_EXPORT_WORD1_END_OF_PROGRAM(word1);
-       output->inst = EG_S_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(G_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(word1));
+       output->inst = R600_S_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(G_SQ_CF_ALLOC_EXPORT_WORD1_CF_INST(word1));
        output->barrier = G_SQ_CF_ALLOC_EXPORT_WORD1_BARRIER(word1);
 }