projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207026d
)
radv: Fix off by one for S_028C48_MAX_ALLOC_COUNT.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 8 Aug 2019 00:05:45 +0000
(
02:05
+0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 8 Aug 2019 12:08:21 +0000
(14:08 +0200)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/si_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/si_cmd_buffer.c
b/src/amd/vulkan/si_cmd_buffer.c
index d48ed804e631a26b3456166b535776138d4fd532..701b2398b500d24ef42133879233f8f50ed25ce1 100644
(file)
--- a/
src/amd/vulkan/si_cmd_buffer.c
+++ b/
src/amd/vulkan/si_cmd_buffer.c
@@
-454,7
+454,7
@@
si_emit_graphics(struct radv_physical_device *physical_device,
}
radeon_set_context_reg(cs, R_028C48_PA_SC_BINNER_CNTL_1,
- S_028C48_MAX_ALLOC_COUNT(max_alloc_count) |
+ S_028C48_MAX_ALLOC_COUNT(max_alloc_count
- 1
) |
S_028C48_MAX_PRIM_PER_BATCH(1023));
radeon_set_context_reg(cs, R_028C4C_PA_SC_CONSERVATIVE_RASTERIZATION_CNTL,
S_028C4C_NULL_SQUAD_AA_MASK_ENABLE(1));