mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
radeonsi: num_records is in units of stride for swizzled buffers even on VI
The old setting didn't hurt, but this is cleaner. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
883ca597df
commit
e33910b0d9
1 changed files with 0 additions and 2 deletions
|
|
@ -5872,8 +5872,6 @@ static void preload_ring_buffers(struct si_shader_context *ctx)
|
|||
assert(stride < (1 << 14));
|
||||
|
||||
num_records = 64;
|
||||
if (ctx->screen->b.chip_class >= VI)
|
||||
num_records *= stride;
|
||||
|
||||
ring = LLVMBuildBitCast(builder, base_ring, v2i64, "");
|
||||
tmp = LLVMBuildExtractElement(builder, ring, uint->zero, "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue