mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
i965/skl: Always emit 3DSTATE_BINDING_TABLE_POINTERS_* on Skylake.
On SKL, 3DSTATE_CONSTANT_* command is not committed until we give the corresponding 3DSTATE_BINDING_TABLE_POINTERS_* command. If we fail to do so, the constant buffers wont be read and push constants will be wrong. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
1df496edb9
commit
051bfe4d52
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ brw_upload_binding_table(struct brw_context *brw,
|
|||
|
||||
if (prog_data->binding_table.size_bytes == 0) {
|
||||
/* There are no surfaces; skip making the binding table altogether. */
|
||||
if (stage_state->bind_bo_offset == 0)
|
||||
if (stage_state->bind_bo_offset == 0 && brw->gen < 9)
|
||||
return;
|
||||
|
||||
stage_state->bind_bo_offset = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue