diff options
author | Timur Kristóf <[email protected]> | 2019-08-28 22:34:14 +0200 |
---|---|---|
committer | Timur Kristóf <[email protected]> | 2019-09-06 12:20:20 +0300 |
commit | 610cc3089ccf1bce3ad025f308b6f408e8e90920 (patch) | |
tree | b87ac18076222fba3bf85f7e0eb575910d007f16 /src/compiler/Makefile.sources | |
parent | 9b9e1de90e859be950ebf7e0ac5a414728f48aac (diff) |
nir: Carve out nir_lower_samplers from GLSL code.
Lowering samplers is needed to produce NIR that can actually be
consumed by some gallium drivers, so it doesn't make sense to
to keep it only in the GLSL code.
This commit introduces nir_lower_samplers to compiler/nir,
while maintains the GL-specific function too.
Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r-- | src/compiler/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index edf1b936ac1..ac6c0670444 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -272,6 +272,7 @@ NIR_FILES = \ nir/nir_lower_phis_to_scalar.c \ nir/nir_lower_regs_to_ssa.c \ nir/nir_lower_returns.c \ + nir/nir_lower_samplers.c \ nir/nir_lower_scratch.c \ nir/nir_lower_subgroups.c \ nir/nir_lower_system_values.c \ |