mesa,glsl,ttn: Set subgroup_size to UNIFORM

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17337>
This commit is contained in:
Jason Ekstrand
2022-07-07 14:13:54 -05:00
committed by Marge Bot
parent 8851f50753
commit b2ab6d10e4
4 changed files with 11 additions and 0 deletions

View File

@@ -253,6 +253,8 @@ glsl_to_nir(const struct gl_constants *consts,
if (shader_prog->Label)
shader->info.label = ralloc_strdup(shader, shader_prog->Label);
shader->info.subgroup_size = SUBGROUP_SIZE_UNIFORM;
if (shader->info.stage == MESA_SHADER_FRAGMENT) {
shader->info.fs.pixel_center_integer = sh->Program->info.fs.pixel_center_integer;
shader->info.fs.origin_upper_left = sh->Program->info.fs.origin_upper_left;