aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-12-03 20:59:55 +0100
committerMarek Olšák <[email protected]>2010-12-03 20:59:55 +0100
commit9f7f093090c45278162a03f10e147fac688eee6f (patch)
treecea55876221ba738f12a2978c90832dd2b09a381 /src
parent536d52702034a03d94866cb6cf8fc05502860320 (diff)
r300g: one more r500_index_bias_supported leftover
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_render.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index 07581408ab9..e8542db4ca3 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -232,7 +232,6 @@ static boolean r300_emit_states(struct r300_context *r300,
boolean emit_aos = flags & PREP_EMIT_AOS;
boolean emit_aos_swtcl = flags & PREP_EMIT_AOS_SWTCL;
boolean indexed = flags & PREP_INDEXED;
- boolean hw_index_bias = r500_index_bias_supported(r300);
/* Validate buffers and emit dirty state if needed. */
if (first_draw) {
@@ -244,7 +243,7 @@ static boolean r300_emit_states(struct r300_context *r300,
}
r300_emit_dirty_state(r300);
- if (hw_index_bias) {
+ if (r300->screen->caps.index_bias_supported) {
if (r300->screen->caps.has_tcl)
r500_emit_index_bias(r300, index_bias);
else