r600g: fix fake pixel output
authorJerome Glisse <jglisse@redhat.com>
Tue, 17 Aug 2010 21:23:20 +0000 (17:23 -0400)
committerJerome Glisse <jglisse@redhat.com>
Tue, 17 Aug 2010 21:25:08 +0000 (17:25 -0400)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_shader.c

index 956c7e7930cfd0e68221e73504158f64f196f6d1..55247f159d9465c994634e7f5748e19b4dbf5eba 100644 (file)
@@ -504,7 +504,7 @@ int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *s
                output[0].swizzle_z = 7;
                output[0].swizzle_w = 7;
                output[0].barrier = 1;
-               output[0].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PARAM;
+               output[0].type = V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_PIXEL;
                output[0].array_base = 0;
                output[0].inst = V_SQ_CF_ALLOC_EXPORT_WORD1_SQ_CF_INST_EXPORT;
                noutput++;