summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-28 06:42:25 +1000
committerDave Airlie <airlied@redhat.com>2009-09-28 06:42:25 +1000
commitd85fe842b86aef522e0e749d9360d85052a6e8cc (patch)
tree96a7f2ccaaedd6cdf4c77c61c9ab013289a2049b /src/gallium/drivers
parentb1252c7a342e24571ccf5fe94938bbabbdf9aa11 (diff)
downloadexternal_mesa3d-d85fe842b86aef522e0e749d9360d85052a6e8cc.zip
external_mesa3d-d85fe842b86aef522e0e749d9360d85052a6e8cc.tar.gz
external_mesa3d-d85fe842b86aef522e0e749d9360d85052a6e8cc.tar.bz2
r300g: fix r300 rs path
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index 5493a09..2bbbcdf 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -391,13 +391,13 @@ static void r300_update_rs_block(struct r300_context* r300)
break;
case TGSI_SEMANTIC_GENERIC:
rs->ip[tex_count] |=
- R300_RS_TEX_PTR(rs_tex_count) |
+ R300_RS_TEX_PTR(rs_tex_comp) |
R300_RS_SEL_S(R300_RS_SEL_C0) |
R300_RS_SEL_T(R300_RS_SEL_C1) |
R300_RS_SEL_R(R300_RS_SEL_C2) |
R300_RS_SEL_Q(R300_RS_SEL_C3);
tex_count++;
- rs_tex_count+=4;
+ rs_tex_comp+=4;
break;
default:
break;