diff options
author | Kenneth Graunke <[email protected]> | 2014-04-29 15:32:40 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-11-03 15:32:53 -0800 |
commit | 051bfe4d52e551476a39dec1f50c11cd7c36b7df (patch) | |
tree | 27b0ea71b6fa4207203e9d6a97a6913bf6f8da60 /src/mesa | |
parent | 1df496edb9254d5060288d27114211fd21c02ece (diff) |
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 <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_binding_tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_binding_tables.c b/src/mesa/drivers/dri/i965/brw_binding_tables.c index 709cb9c7b82..cb50d3b8ddf 100644 --- a/src/mesa/drivers/dri/i965/brw_binding_tables.c +++ b/src/mesa/drivers/dri/i965/brw_binding_tables.c @@ -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; |