mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 22:40:09 +01:00
nir/lower_bitmap: return prog
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26976>
This commit is contained in:
parent
4833e42721
commit
086cbe5da2
2 changed files with 3 additions and 2 deletions
|
|
@ -6070,7 +6070,7 @@ typedef struct nir_lower_bitmap_options {
|
|||
bool swizzle_xxxx;
|
||||
} nir_lower_bitmap_options;
|
||||
|
||||
void nir_lower_bitmap(nir_shader *shader, const nir_lower_bitmap_options *options);
|
||||
bool nir_lower_bitmap(nir_shader *shader, const nir_lower_bitmap_options *options);
|
||||
|
||||
bool nir_lower_atomics_to_ssbo(nir_shader *shader, unsigned offset_align_state);
|
||||
|
||||
|
|
|
|||
|
|
@ -110,11 +110,12 @@ lower_bitmap_impl(nir_function_impl *impl,
|
|||
nir_metadata_dominance);
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
nir_lower_bitmap(nir_shader *shader,
|
||||
const nir_lower_bitmap_options *options)
|
||||
{
|
||||
assert(shader->info.stage == MESA_SHADER_FRAGMENT);
|
||||
|
||||
lower_bitmap_impl(nir_shader_get_entrypoint(shader), options);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue