projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbcee8
)
st/mesa: don't set coord_enable for gl_PointCoord if using TGSI_SEMANTIC_PCOORD
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 19 Sep 2014 17:15:31 +0000
(19:15 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 24 Sep 2014 12:48:02 +0000
(14:48 +0200)
This was missed when Christoph Bumiller added PIPE_CAP_TGSI_TEXCOORD.
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_rasterizer.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_rasterizer.c
b/src/mesa/state_tracker/st_atom_rasterizer.c
index 2bad6433487551ed0e6f50b92eebc3b559c011b0..71b7f1bd9a00ed07092eb4df3705d6835839764a 100644
(file)
--- a/
src/mesa/state_tracker/st_atom_rasterizer.c
+++ b/
src/mesa/state_tracker/st_atom_rasterizer.c
@@
-171,7
+171,8
@@
static void update_raster_state( struct st_context *st )
raster->sprite_coord_enable |= 1 << i;
}
}
- if (fragProg->Base.InputsRead & VARYING_BIT_PNTC) {
+ if (!st->needs_texcoord_semantic &&
+ fragProg->Base.InputsRead & VARYING_BIT_PNTC) {
raster->sprite_coord_enable |=
1 << (VARYING_SLOT_PNTC - VARYING_SLOT_TEX0);
}