diff options
author | Jordan Justen <[email protected]> | 2016-05-22 21:55:43 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-06-01 19:29:02 -0700 |
commit | 30685392e0e477771e6c6ba232a63df6b0e2ed83 (patch) | |
tree | dee8a537bdfcff54a3d14884b3167ed7a7bd9d4e /src/mesa/drivers/dri/i965/brw_curbe.c | |
parent | d437798ace47e47dbcb1244734dc1af3ecb5ab84 (diff) |
i965: Support new local ID push constant & cross-thread constants
The cross thread constant support appears on Haswell. It allows us to
upload a set of uniform data for all threads without duplicating it
per thread.
We also support per-thread data which allows us to store a per-thread
ID in one of the uniforms that can be used to calculate the
gl_LocalInvocationIndex and gl_LocalInvocationID variables.
v4:
* Support the old local ID push constant layout as well (Jason)
Cc: "12.0" <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_curbe.c')
0 files changed, 0 insertions, 0 deletions