summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_vs.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-12 03:08:38 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-12 04:16:08 +0200
commit34092c55d63e24a4f326bd9bb90765ea4ec7e17e (patch)
tree81a0d1da20e3de9350c19efe587ba4f86bfd0120 /src/gallium/drivers/r300/r300_vs.c
parent13b86fe2075b700fc6530448a10fb6b3037e7c18 (diff)
downloadexternal_mesa3d-34092c55d63e24a4f326bd9bb90765ea4ec7e17e.zip
external_mesa3d-34092c55d63e24a4f326bd9bb90765ea4ec7e17e.tar.gz
external_mesa3d-34092c55d63e24a4f326bd9bb90765ea4ec7e17e.tar.bz2
r300g: atomize fragment shader
Diffstat (limited to 'src/gallium/drivers/r300/r300_vs.c')
-rw-r--r--src/gallium/drivers/r300/r300_vs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c
index a2619b3..2f9ee76 100644
--- a/src/gallium/drivers/r300/r300_vs.c
+++ b/src/gallium/drivers/r300/r300_vs.c
@@ -348,7 +348,7 @@ boolean r300_vertex_shader_setup_wpos(struct r300_context* r300)
return FALSE;
}
- if (r300->fs->shader->inputs.wpos != ATTR_UNUSED) {
+ if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED) {
/* Enable WPOS in VAP. */
if (!(vap_out->vap_vsm_vtx_assm & tex_fmt)) {
vap_out->vap_vsm_vtx_assm |= tex_fmt;