glsl: Add a new ir_txs (textureSize) opcode to ir_texture.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 25 Feb 2011 22:45:33 +0000 (14:45 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Aug 2011 18:16:30 +0000 (11:16 -0700)
commit1e3bcbdf31f09666ba358f35ff9486faee3642ca
tree39562690d676bc99140a67492219475215d0c0bb
parent8f26b59f53d6d80bf7d3c39a4dd3c438a2c305a4
glsl: Add a new ir_txs (textureSize) opcode to ir_texture.

One unique aspect of TXS is that it doesn't have a coordinate.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/glsl/ir_hv_accept.cpp
src/glsl/ir_print_visitor.cpp
src/glsl/ir_reader.cpp
src/glsl/ir_rvalue_visitor.cpp
src/glsl/opt_tree_grafting.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp