summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-08-16 09:43:00 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-08-16 09:43:00 -0700
commit68772031e6242aa78864dc9c7c1a607aec5ee7b9 (patch)
tree770801f331a850056cb11ba22286f76abc69d646
parent0bf63733e54b47daf9f50c32a1fca4039c82def2 (diff)
ir_to_mesa: Clean up assertions in ir_to_mesa_visitor::visit(ir_texture *)
-rw-r--r--src/mesa/program/ir_to_mesa.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index b8a35ce162b..06a6bc33206 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -2093,8 +2093,11 @@ ir_to_mesa_visitor::visit(ir_texture *ir)
case GLSL_SAMPLER_DIM_RECT:
inst->tex_target = TEXTURE_RECT_INDEX;
break;
+ case GLSL_SAMPLER_DIM_BUF:
+ assert(!"FINISHME: Implement ARB_texture_buffer_object");
+ break;
default:
- assert(!"FINISHME: other texture targets");
+ assert(!"Should not get here.");
}
this->result = result_src;