diff options
author | Samuel Pitoiset <[email protected]> | 2019-01-17 18:11:08 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-01-18 13:26:28 +0100 |
commit | 8c164ea8f55e382478b1dc4bc5c77e923ed2f987 (patch) | |
tree | 76748b4967e7e105cd666406822642a88735d93f /src/amd/vulkan | |
parent | 83cc87ead463a494d145c00cbe4d525d6a908bbf (diff) |
radv: reduce size of the per-queue descriptor BO
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index b2112a6ed34..488ed0b6225 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2435,7 +2435,7 @@ radv_get_preamble_cs(struct radv_queue *queue, tess_rings_bo || add_sample_positions) { size = 112; /* 2 dword + 2 padding + 4 dword * 6 */ if (add_sample_positions) - size += 256; /* 32+16+8+4+2+1 samples * 4 * 2 = 248 bytes. */ + size += 128; /* 64+32+16+8 = 120 bytes */ } else if (scratch_bo) size = 8; /* 2 dword */ |