From 87526f79db68a13ebd448cfd6b1be4b25616c801 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 26 Oct 2022 16:56:41 +0200 Subject: [PATCH] glsl: fix buffer texture type Fixes: 3ace6b968b3 ("compiler/types: Add a texture type") Signed-off-by: Karol Herbst Reviewed-by: Jesse Natalie Reviewed-by: Jason Ekstrand Part-of: --- src/compiler/glsl_types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl_types.cpp b/src/compiler/glsl_types.cpp index 65409ddbfd7..ef87e82d45e 100644 --- a/src/compiler/glsl_types.cpp +++ b/src/compiler/glsl_types.cpp @@ -1050,7 +1050,7 @@ glsl_type::get_texture_instance(enum glsl_sampler_dim dim, case GLSL_SAMPLER_DIM_3D: return (array ? error_type : vtexture3D_type); case GLSL_SAMPLER_DIM_BUF: - return (array ? error_type : vbuffer_type); + return (array ? error_type : vtextureBuffer_type); default: return error_type; }