ir_to_mesa: Clean up assertions in ir_to_mesa_visitor::visit(ir_texture *)
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 16 Aug 2010 16:43:00 +0000 (09:43 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 16 Aug 2010 16:43:00 +0000 (09:43 -0700)
src/mesa/program/ir_to_mesa.cpp

index b8a35ce162b30ba2586946d3bc4a6fd2dc62e992..06a6bc33206d4184c45ec72f1f70b333675ffcb2 100644 (file)
@@ -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;