diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-16 09:43:00 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-08-16 09:43:00 -0700 |
commit | 68772031e6242aa78864dc9c7c1a607aec5ee7b9 (patch) | |
tree | 770801f331a850056cb11ba22286f76abc69d646 | |
parent | 0bf63733e54b47daf9f50c32a1fca4039c82def2 (diff) |
ir_to_mesa: Clean up assertions in ir_to_mesa_visitor::visit(ir_texture *)
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 5 |
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 b8a35ce162..06a6bc3320 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; |