mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 19:10:14 +01:00
vk/cmd_buffer: Set the CONSTANTS_REL_GENERAL flag on execbuf
This tells the kernel that the push constant buffers are relative to the dynamic state base address.
This commit is contained in:
parent
efc2cce01f
commit
c8365c55f5
1 changed files with 2 additions and 1 deletions
|
|
@ -928,7 +928,8 @@ anv_cmd_buffer_prepare_execbuf(struct anv_cmd_buffer *cmd_buffer)
|
|||
.num_cliprects = 0,
|
||||
.DR1 = 0,
|
||||
.DR4 = 0,
|
||||
.flags = I915_EXEC_HANDLE_LUT | I915_EXEC_RENDER,
|
||||
.flags = I915_EXEC_HANDLE_LUT | I915_EXEC_RENDER |
|
||||
I915_EXEC_CONSTANTS_REL_GENERAL,
|
||||
.rsvd1 = cmd_buffer->device->context_id,
|
||||
.rsvd2 = 0,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue