intel/compiler: Use correct enum type

Fixes: ce7208c3ee ("brw: add support for texel address lowering")
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34014>
This commit is contained in:
Matt Turner 2025-03-11 22:29:23 -04:00 committed by Marge Bot
parent d5dcc6a5c4
commit ed42dc56f5

View file

@ -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 :