projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb34575
)
svga: fix comment for emit_adjusted_vertex_attribs()
author
Brian Paul
<brianp@vmware.com>
Thu, 17 Apr 2014 22:15:37 +0000
(16:15 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 17 Apr 2014 22:15:37 +0000
(16:15 -0600)
src/gallium/drivers/svga/svga_tgsi_insn.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_tgsi_insn.c
b/src/gallium/drivers/svga/svga_tgsi_insn.c
index a44ef3a80aaa95da0b3fa4b9251a778c772828a5..b68b01a04ab150e0faf5e3872d02035c4c702b85 100644
(file)
--- a/
src/gallium/drivers/svga/svga_tgsi_insn.c
+++ b/
src/gallium/drivers/svga/svga_tgsi_insn.c
@@
-3525,9
+3525,9
@@
emit_inverted_texcoords(struct svga_shader_emitter *emit)
/**
- * Emit code to
invert the T component of the incoming texture coordinate.
- *
This is used for drawing point sprites when
- *
pipe_rasterizer_state::sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT
.
+ * Emit code to
adjust vertex shader inputs/attributes:
+ *
- Change range from [0,1] to [-1,1] (for normalized byte/short attribs).
+ *
- Set attrib W component = 1
.
*/
static boolean
emit_adjusted_vertex_attribs(struct svga_shader_emitter *emit)