aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/Makefile.am
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-05-22 21:46:28 -0700
committerJordan Justen <[email protected]>2016-06-01 19:29:02 -0700
commitd437798ace47e47dbcb1244734dc1af3ecb5ab84 (patch)
tree32926bd1c799bf7710e316141b746bb1aa5b8551 /src/mesa/drivers/dri/common/Makefile.am
parent1b79e7ebbd77a7e714fafadd91459059aacf2407 (diff)
i965: Add CS push constant info to brw_cs_prog_data
We need information about push constants in a few places for the GL driver, and another couple places for the vulkan driver. When we add support for uploading both a common (cross-thread) set of push constants, combined with the previous per-thread push constant data, things are going to get even more complicated. To simplify things, we add push constant info into the cs prog_data struct. The cross-thread constant support is added as of Haswell. To support it we need to make sure all push constants with uniform values are added to earlier registers. The register that varies per thread and holds the thread invocation's unique local ID needs to be added last. For now we add the code that would calculate cross-thread constatn information for hsw+, but we force it (cross_thread_supported) off until the other parts of the driver support it. v4: * Support older 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/common/Makefile.am')
0 files changed, 0 insertions, 0 deletions