summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_opcodes.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2018-01-03 02:09:01 +0100
committerRoland Scheidegger <[email protected]>2018-01-10 04:59:00 +0100
commit523b6c87048ddc5b49be4ca985bf91d8585aef47 (patch)
tree924882d754624998e0342641aed002261809fd2e /src/gallium/drivers/r600/r600_opcodes.h
parentc5162fd3c4b55f9a9e7d0ec253bb2be6f55ee777 (diff)
r600: increase number of UBOs to 15
With the exception of the default tess levels only ever accessed by the default tcs shader, the LDS_INFO const buffer was only accessed by vtx instructions, and not through kcache. No idea why really, but use this to our advantage by not using a constant buffer slot for it. This just requires us to throw the default tess levels into the "normal" driver const buffer instead. Alternatively, could acesss those constants via vtx instructions too, but then we couldn't use a ordinary ureg prog accessing them as constants and would have to generate that directly when compiling the default tcs shader. (Another alternative would be to put all lds info into the ordinary driver const buffer, albeit we'd maybe need to increase the fixed size as it can't fit alongside the ucp since vs needs access to the lds info too.) Tested-by: Konstantin Kharlamov <[email protected]> Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_opcodes.h')
0 files changed, 0 insertions, 0 deletions