summaryrefslogtreecommitdiffstats
path: root/scons/llvm.py
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-10-21 20:58:18 -0700
committerKenneth Graunke <[email protected]>2012-10-25 14:52:53 -0700
commiteeb2fb72eb4f573410eae45896bc744d6c47b4d6 (patch)
treea023d2a38b6930a3c2214e534d3e4000c5a2ad07 /scons/llvm.py
parentdf924d82e2e190b76533dfdd9111f05277d3f233 (diff)
i965/vs: Fix debug dumping of VS push constants.
While copying the values into the batch space, we advance the param pointer. The debug code then tries to iterate over all the uploaded values, starting at param...which is now the end of the uploaded data, rather than the start. This patch saves a pointer to the start of push constant space before it gets altered and switches the debug code to use that. Tested by uncommenting the code and examining the output of glsl-vs-clamp-1.shader_test. Previously all values appeared to be zero. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'scons/llvm.py')
0 files changed, 0 insertions, 0 deletions