projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83baa8a
)
ir_to_mesa: Support texture rectangle targets
author
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 16 Aug 2010 16:39:58 +0000
(09:39 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 16 Aug 2010 16:39:58 +0000
(09:39 -0700)
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 2208bc1ce81b7181ae0b8a62a5abb7ba56a06d3e..b8a35ce162b30ba2586946d3bc4a6fd2dc62e992 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-2090,6
+2090,9
@@
ir_to_mesa_visitor::visit(ir_texture *ir)
case GLSL_SAMPLER_DIM_CUBE:
inst->tex_target = TEXTURE_CUBE_INDEX;
break;
+ case GLSL_SAMPLER_DIM_RECT:
+ inst->tex_target = TEXTURE_RECT_INDEX;
+ break;
default:
assert(!"FINISHME: other texture targets");
}