projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83cc87e
)
radv: reduce size of the per-queue descriptor BO
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 17 Jan 2019 17:11:08 +0000
(18:11 +0100)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Fri, 18 Jan 2019 12:26:28 +0000
(13:26 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index b2112a6ed347fdc5ae3ae831f1c14c04ff65a455..488ed0b62250a3698f41b5da872155986798dad4 100644
(file)
--- 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 */