From ed42dc56f502437058f5efdd5082af989bede1f0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 11 Mar 2025 22:29:23 -0400 Subject: [PATCH] intel/compiler: Use correct enum type Fixes: ce7208c3eee ("brw: add support for texel address lowering") Reviewed-by: Caio Oliveira Part-of: --- src/intel/compiler/brw_nir_lower_texel_address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_nir_lower_texel_address.c b/src/intel/compiler/brw_nir_lower_texel_address.c index 48aad7f9694..17ec7933997 100644 --- a/src/intel/compiler/brw_nir_lower_texel_address.c +++ b/src/intel/compiler/brw_nir_lower_texel_address.c @@ -113,7 +113,7 @@ image_linear_address(nir_builder *b, coords[0]); } -static enum isl_tiling +static enum isl_surf_dim glsl_sampler_dim_to_isl(enum glsl_sampler_dim dim) { return dim == GLSL_SAMPLER_DIM_1D ? ISL_SURF_DIM_1D :