mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-05 10:30:26 +01:00
iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
It implicitly contains the number of threads via the CURBE allocation size field. Fixes:33c61eb2f1"iris: Implement ARB_compute_variable_group_size" Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10640> (cherry picked from commite56d5db341)
This commit is contained in:
parent
91f9753405
commit
c84ea77f76
2 changed files with 3 additions and 2 deletions
|
|
@ -211,7 +211,7 @@
|
|||
"description": "iris: Re-emit MEDIA_VFE_STATE for variable group size shaders",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "33c61eb2f10526c0b90c5ad376e5b0433aec296d"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6878,7 +6878,8 @@ iris_upload_gpgpu_walker(struct iris_context *ice,
|
|||
const struct brw_cs_dispatch_info dispatch =
|
||||
brw_cs_get_dispatch_info(devinfo, cs_prog_data, grid->block);
|
||||
|
||||
if (stage_dirty & IRIS_STAGE_DIRTY_CS) {
|
||||
if ((stage_dirty & IRIS_STAGE_DIRTY_CS) ||
|
||||
cs_prog_data->local_size[0] == 0 /* Variable local group size */) {
|
||||
/* The MEDIA_VFE_STATE documentation for Gfx8+ says:
|
||||
*
|
||||
* "A stalling PIPE_CONTROL is required before MEDIA_VFE_STATE unless
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue