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/nir/nir_opt_cse.c | |
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/nir/nir_opt_cse.c')
0 files changed, 0 insertions, 0 deletions