iris: Flag IRIS_DIRTY_BINDINGS_XS on constant buffer rebinds
We upload a new SURFACE_STATE for the UBO/SSBO in question, which means that we need new binding tables as well. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
parent
4b7e7956f0
commit
caa0aebd01
|
@ -6051,7 +6051,8 @@ iris_rebind_buffer(struct iris_context *ice,
|
||||||
|
|
||||||
if (res->bo == iris_resource_bo(cbuf->buffer)) {
|
if (res->bo == iris_resource_bo(cbuf->buffer)) {
|
||||||
iris_upload_ubo_ssbo_surf_state(ice, cbuf, surf_state, false);
|
iris_upload_ubo_ssbo_surf_state(ice, cbuf, surf_state, false);
|
||||||
ice->state.dirty |= IRIS_DIRTY_CONSTANTS_VS << s;
|
ice->state.dirty |=
|
||||||
|
(IRIS_DIRTY_CONSTANTS_VS | IRIS_DIRTY_BINDINGS_VS) << s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue