summaryrefslogtreecommitdiffstats
path: root/src/mapi/u_execmem.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-11-24 21:33:01 -0800
committerKenneth Graunke <[email protected]>2015-11-25 11:47:47 -0800
commit3810c1561401aba336765d64d1a5a3e44eb58eb3 (patch)
tree33b84bec906f0281c9e1f7732835c40fc120ecc5 /src/mapi/u_execmem.c
parent3e9003e9cf55265ab1fb6522dc5cbb2f455ea1f9 (diff)
i965: Fix scalar vertex shader struct outputs.
While we correctly set output[] for composite varyings, we set completely bogus values for output_components[], making emit_urb_writes() output zeros instead of the actual values. Unfortunately, our simple approach goes out the window, and we need to recurse into structs to get the proper value of vector_elements for each field. Together with the previous patch, this fixes rendering in an upcoming game from Feral Interactive. v2: Use pointers instead of pass-by-mutable-reference (Jason, Matt). Cc: "11.1 11.0" <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mapi/u_execmem.c')
0 files changed, 0 insertions, 0 deletions