mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50:11 +01:00
Merge branch 'nir_lower_workgroup_size' into 'main'
nir: Add pass to lower workgroup size See merge request mesa/mesa!37985
This commit is contained in:
commit
30ce43870c
3 changed files with 1118 additions and 0 deletions
|
|
@ -244,6 +244,7 @@ else
|
||||||
'nir_lower_bit_size.c',
|
'nir_lower_bit_size.c',
|
||||||
'nir_lower_ubo_vec4.c',
|
'nir_lower_ubo_vec4.c',
|
||||||
'nir_lower_uniforms_to_ubo.c',
|
'nir_lower_uniforms_to_ubo.c',
|
||||||
|
'nir_lower_workgroup_size.c',
|
||||||
'nir_lower_sysvals_to_varyings.c',
|
'nir_lower_sysvals_to_varyings.c',
|
||||||
'nir_metadata.c',
|
'nir_metadata.c',
|
||||||
'nir_mod_analysis.c',
|
'nir_mod_analysis.c',
|
||||||
|
|
|
||||||
|
|
@ -5131,6 +5131,8 @@ bool nir_split_struct_vars(nir_shader *shader, nir_variable_mode modes);
|
||||||
bool nir_lower_returns_impl(nir_function_impl *impl);
|
bool nir_lower_returns_impl(nir_function_impl *impl);
|
||||||
bool nir_lower_returns(nir_shader *shader);
|
bool nir_lower_returns(nir_shader *shader);
|
||||||
|
|
||||||
|
bool nir_lower_workgroup_size(nir_shader *shader, const uint32_t target_wg_size);
|
||||||
|
|
||||||
nir_def *nir_inline_function_impl(nir_builder *b,
|
nir_def *nir_inline_function_impl(nir_builder *b,
|
||||||
const nir_function_impl *impl,
|
const nir_function_impl *impl,
|
||||||
nir_def **params,
|
nir_def **params,
|
||||||
|
|
|
||||||
1115
src/compiler/nir/nir_lower_workgroup_size.c
Normal file
1115
src/compiler/nir/nir_lower_workgroup_size.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue