diff options
author | Timothy Arceri <[email protected]> | 2018-04-30 20:39:43 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-05-01 12:39:33 +1000 |
commit | 6487e7a30c9e4c2a417ddfe632d5f68e065e21eb (patch) | |
tree | 561df9b47ea4efa99c89dd80dfd22a1a1e122ae8 /src/compiler/nir/nir.h | |
parent | f56e22e49673e8234a7fe0c241b4c3eae4752f34 (diff) |
nir: move GL specific passes to src/compiler/glsl
With this we should have no passes in src/compiler/nir with any
dependencies on headers from core GL Mesa.
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index f3326e6df94..f8e71d54a50 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -55,9 +55,6 @@ extern "C" { #endif -struct gl_program; -struct gl_shader_program; - #define NIR_FALSE 0u #define NIR_TRUE (~0u) @@ -2596,11 +2593,6 @@ void nir_lower_io_arrays_to_elements_no_indirects(nir_shader *shader, void nir_lower_io_to_scalar(nir_shader *shader, nir_variable_mode mask); void nir_lower_io_to_scalar_early(nir_shader *shader, nir_variable_mode mask); -bool nir_lower_samplers(nir_shader *shader, - const struct gl_shader_program *shader_program); -bool nir_lower_samplers_as_deref(nir_shader *shader, - const struct gl_shader_program *shader_program); - typedef struct nir_lower_subgroups_options { uint8_t subgroup_size; uint8_t ballot_bit_size; @@ -2755,9 +2747,6 @@ typedef struct nir_lower_bitmap_options { void nir_lower_bitmap(nir_shader *shader, const nir_lower_bitmap_options *options); -bool nir_lower_atomics(nir_shader *shader, - const struct gl_shader_program *shader_program, - bool use_binding_as_idx); bool nir_lower_atomics_to_ssbo(nir_shader *shader, unsigned ssbo_offset); bool nir_lower_to_source_mods(nir_shader *shader); |