hk: stop reserving pile of uniform regs for literally no reason
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35658>
This commit is contained in:
committed by
Marge Bot
parent
8fb891334f
commit
34b8ef8f7e
@@ -979,8 +979,12 @@ hk_compile_nir(struct hk_device *dev, const VkAllocationCallbacks *pAllocator,
|
||||
#endif
|
||||
|
||||
struct agx_shader_key backend_key = {
|
||||
/* the image heap is always the last fixed uniform, so we can start
|
||||
* preamble after that.
|
||||
*/
|
||||
.reserved_preamble = f.image_heap + 4,
|
||||
|
||||
.dev = agx_gather_device_key(&dev->dev),
|
||||
.reserved_preamble = 128 /* TODO */,
|
||||
.no_stop = nir->info.stage == MESA_SHADER_FRAGMENT,
|
||||
.has_scratch = !nir->info.internal,
|
||||
.promote_constants = true,
|
||||
|
||||
Reference in New Issue
Block a user