aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_tgsi_to_rc.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-02-01 19:47:46 -0800
committerCorbin Simpson <[email protected]>2010-02-01 19:48:24 -0800
commit565f0cef26d6da49ae58462d0c1f9b832ee71174 (patch)
tree8f7540c39d1bc677c63586a65d2f3b2c94df1c29 /src/gallium/drivers/r300/r300_tgsi_to_rc.h
parent01dcadab8b98f0ffa5bf0a859ca94ff78a8cb90a (diff)
r300g: Fix funky segfault.
Diffstat (limited to 'src/gallium/drivers/r300/r300_tgsi_to_rc.h')
-rw-r--r--src/gallium/drivers/r300/r300_tgsi_to_rc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.h b/src/gallium/drivers/r300/r300_tgsi_to_rc.h
index f1e66f46bbc..39b473c7bf5 100644
--- a/src/gallium/drivers/r300/r300_tgsi_to_rc.h
+++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.h
@@ -39,7 +39,7 @@ struct tgsi_to_rc {
const struct tgsi_shader_info * info;
int immediate_offset;
- struct swizzled_imms imms_to_swizzle[10];
+ struct swizzled_imms * imms_to_swizzle;
unsigned imms_to_swizzle_count;
};