nir: remove subgroup size related nir_shader_compiler_options members

This was added with the goal to eventually replace the per
pass subgroup/ballot size options, but that won't work because
some backends don't have a fixed subgroup size across the compilation
process.

It was also mostly added to hack around mesa state tracker behavior,
and we have a better solution there now.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37164>
This commit is contained in:
Georg Lehmann
2025-09-03 09:48:26 +02:00
committed by Marge Bot
parent c7d5108373
commit 687510495f
2 changed files with 0 additions and 11 deletions
-3
View File
@@ -406,7 +406,4 @@ static const nir_shader_compiler_options agx_nir_options = {
.discard_is_demote = true,
.scalarize_ddx = true,
.io_options = nir_io_always_interpolate_convergent_fs_inputs,
.subgroup_size = 32,
.ballot_bit_size = 32,
.ballot_components = 1,
};
@@ -787,14 +787,6 @@ typedef struct nir_shader_compiler_options {
*/
unsigned skip_lower_packing_ops;
/* In case the exact subgroup size is not known, subgroup_size should be
* set to 0. In that case, the maximum subgroup size will be calculated by
* ballot_components * ballot_bit_size.
*/
uint8_t subgroup_size;
uint8_t ballot_bit_size;
uint8_t ballot_components;
/** Driver callback where drivers can define how to lower mediump.
* Used by nir_lower_io_passes.
*/