mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
iris: leave XXX about unnecessary binding table uploads
This commit is contained in:
parent
7fb8c20d7b
commit
973b937cac
1 changed files with 2 additions and 0 deletions
|
|
@ -4309,6 +4309,8 @@ iris_upload_compute_state(struct iris_context *ice,
|
|||
.stride_B = 1,
|
||||
.mocs = MOCS_WB);
|
||||
|
||||
// XXX: this will update the binding table on every dispatch, should
|
||||
// XXX: check if the grid size actually changed (or indirect buf changed)
|
||||
if (dirty & IRIS_DIRTY_BINDINGS_CS || grid_size_res)
|
||||
iris_populate_binding_table(ice, batch, MESA_SHADER_COMPUTE, false,
|
||||
&grid_size_surf);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue