From 6487e7a30c9e4c2a417ddfe632d5f68e065e21eb Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 30 Apr 2018 20:39:43 +1000 Subject: nir: move GL specific passes to src/compiler/glsl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/gallium/drivers/freedreno/ir3/ir3_cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c index ff1d9d1377b..5631216ebd9 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c @@ -162,7 +162,7 @@ load_glsl(unsigned num_files, char* const* files, gl_shader_stage stage) NIR_PASS_V(nir, nir_lower_system_values); NIR_PASS_V(nir, nir_lower_io, nir_var_all, ir3_glsl_type_size, 0); - NIR_PASS_V(nir, nir_lower_samplers, prog); + NIR_PASS_V(nir, gl_nir_lower_samplers, prog); return nir; } -- cgit v1.2.3