mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
radv: assert that GDS/GDS OA buffers can't be created on GFX12
No GDS on GFX12 and this will be annoying for some queries that currently rely on atomic GDS. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29525>
This commit is contained in:
parent
8e9e877eb2
commit
f7e6609390
1 changed files with 2 additions and 2 deletions
|
|
@ -1461,7 +1461,7 @@ radv_update_preamble_cs(struct radv_queue_state *queue, struct radv_device *devi
|
|||
}
|
||||
|
||||
if (!queue->ring_info.gds && needs->gds) {
|
||||
assert(pdev->info.gfx_level >= GFX10);
|
||||
assert(pdev->info.gfx_level >= GFX10 && pdev->info.gfx_level < GFX12);
|
||||
|
||||
/* 4 streamout GDS counters.
|
||||
* We need 256B (64 dw) of GDS, otherwise streamout hangs.
|
||||
|
|
@ -1480,7 +1480,7 @@ radv_update_preamble_cs(struct radv_queue_state *queue, struct radv_device *devi
|
|||
}
|
||||
|
||||
if (!queue->ring_info.gds_oa && needs->gds_oa) {
|
||||
assert(pdev->info.gfx_level >= GFX10);
|
||||
assert(pdev->info.gfx_level >= GFX10 && pdev->info.gfx_level < GFX12);
|
||||
|
||||
result = radv_bo_create(device, NULL, 1, 1, RADEON_DOMAIN_OA, ring_bo_flags, RADV_BO_PRIORITY_SCRATCH, 0, true,
|
||||
&gds_oa_bo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue