summaryrefslogtreecommitdiffstats
path: root/Android.common.mk
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-05-22 21:46:28 -0700
committerEmil Velikov <[email protected]>2016-06-02 13:56:54 +0100
commitee77c4a099b16a2581c80fcd73929b77f2ddb507 (patch)
tree4ecb17a1e56f6ec21141ddbdee433792765926cf /Android.common.mk
parenta94be40ecc021bfb08cf3d71f073364e770f2dc3 (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]> (cherry picked from commit d437798ace47e47dbcb1244734dc1af3ecb5ab84)
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions