mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
iris: Always re-upload sysvals when we have kernel inputs
They can change on every dispatch and clover never gives us a heads up. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6405>
This commit is contained in:
parent
b4b39b802b
commit
63dd1e980c
1 changed files with 3 additions and 2 deletions
|
|
@ -6814,8 +6814,9 @@ iris_upload_compute_state(struct iris_context *ice,
|
|||
*/
|
||||
iris_use_pinned_bo(batch, ice->state.binder.bo, false, IRIS_DOMAIN_NONE);
|
||||
|
||||
if ((stage_dirty & IRIS_STAGE_DIRTY_CONSTANTS_CS) &&
|
||||
shs->sysvals_need_upload)
|
||||
if (((stage_dirty & IRIS_STAGE_DIRTY_CONSTANTS_CS) &&
|
||||
shs->sysvals_need_upload) ||
|
||||
shader->kernel_input_size > 0)
|
||||
upload_sysvals(ice, MESA_SHADER_COMPUTE, grid);
|
||||
|
||||
if (stage_dirty & IRIS_STAGE_DIRTY_BINDINGS_CS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue