aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-12-14 03:29:29 -0800
committerKenneth Graunke <kenneth@whitecape.org>2017-01-05 01:54:52 -0800
commit480d6c1653713dcae617ac523b2ca5deee01c845 (patch)
tree050a22bc656fbff0720d9dba1ea36e10fb4c91ca /src/mesa/drivers/common
parent8dc92a56134580dc47e48a046aff347776aaac34 (diff)
i965: Fix last slot calculations
If the VUE map has slots at the end which the shader does not write, then we'd "flush" (constructing an URB write) on the last output it actually wrote. Then, we'd construct another SEND with EOT, but with no actual payload data. That's not legal. For example, SSO programs have clip distance slots allocated no matter what, but the shader may not write them. If it doesn't write any user defined varyings, then the clip distance slots will be the last ones. Found while debugging dEQP-VK.tessellation.shader_input_output.gl_position_vs_to_tcs_to_tes Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Diffstat (limited to 'src/mesa/drivers/common')
0 files changed, 0 insertions, 0 deletions