projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5700ed
)
svga: add comment about 'extra' constant locations
author
Brian Paul
<brianp@vmware.com>
Fri, 14 Jul 2017 04:11:46 +0000
(22:11 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 17 Jul 2017 16:06:00 +0000
(10:06 -0600)
Trivial.
src/gallium/drivers/svga/svga_tgsi_vgpu10.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c
index 96269cb872bfce99b46a0dd0edd73759c9eb54ce..c7a1336d073dc12e1866679d51c867eb043c6644 100644
(file)
--- a/
src/gallium/drivers/svga/svga_tgsi_vgpu10.c
+++ b/
src/gallium/drivers/svga/svga_tgsi_vgpu10.c
@@
-2853,7
+2853,11
@@
emit_constant_declaration(struct svga_shader_emitter_v10 *emit)
*/
total_consts = emit->num_shader_consts[0];
- /* Now, allocate constant slots for the "extra" constants */
+ /* Now, allocate constant slots for the "extra" constants.
+ * Note: it's critical that these extra constant locations
+ * exactly match what's emitted by the "extra" constants code
+ * in svga_state_constants.c
+ */
/* Vertex position scale/translation */
if (emit->vposition.need_prescale) {