From 96956dc5076fc03b9290368ca90e3f3b870ee613 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 11 May 2012 13:41:56 +0100 Subject: gallium/tgsi: s/TGSI_BUFFER/TGSI_TEXTURE_BUFFER/ For consistency. Reviewed-by: Brian Paul --- src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium/drivers/nv50/codegen') diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp index ba08493c282..16f191da159 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp @@ -347,8 +347,7 @@ static nv50_ir::TexTarget translateTexture(uint tex) NV50_IR_TEX_TARG_CASE(SHADOW2D_ARRAY, 2D_ARRAY_SHADOW); NV50_IR_TEX_TARG_CASE(SHADOWCUBE, CUBE_SHADOW); NV50_IR_TEX_TARG_CASE(SHADOWRECT, RECT_SHADOW); - case TGSI_BUFFER: - return nv50_ir::TEX_TARGET_BUFFER; + NV50_IR_TEX_TARG_CASE(BUFFER, BUFFER); case TGSI_TEXTURE_UNKNOWN: default: -- cgit v1.2.3