mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
radv: Assert the hardware support rbplus when emitting rbplus state.
If someone forget to check for rbplus before setting dirty bits, it's going to cause really mysterious bugs. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21189>
This commit is contained in:
parent
a36efe3e19
commit
9fdc145ad6
1 changed files with 2 additions and 0 deletions
|
|
@ -1655,6 +1655,8 @@ radv_emit_prefetch_L2(struct radv_cmd_buffer *cmd_buffer, struct radv_graphics_p
|
|||
static void
|
||||
radv_emit_rbplus_state(struct radv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
assert(cmd_buffer->device->physical_device->rad_info.rbplus_allowed);
|
||||
|
||||
const struct radv_dynamic_state *d = &cmd_buffer->state.dynamic;
|
||||
struct radv_rendering_state *render = &cmd_buffer->state.render;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue