[Mesa-dev] [PATCH 1/6] glsl: Add a new ir_txs (textureSize) opcode to ir_texture.

Dave Airlie airlied at gmail.com
Tue Aug 23 00:11:53 PDT 2011


On Tue, Aug 23, 2011 at 12:26 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> One unique aspect of TXS is that it doesn't have a coordinate.

Looks more complete than my attempt.

Reviewed-by: Dave Airlie <airlied at redhat.com>

> ---
>  src/glsl/ir.cpp                              |   16 +++++++----
>  src/glsl/ir.h                                |    4 ++-
>  src/glsl/ir_clone.cpp                        |    4 ++-
>  src/glsl/ir_hv_accept.cpp                    |    9 ++++--
>  src/glsl/ir_print_visitor.cpp                |   21 ++++++++------
>  src/glsl/ir_reader.cpp                       |   37 +++++++++++++++----------
>  src/glsl/ir_rvalue_visitor.cpp               |    1 +
>  src/glsl/opt_tree_grafting.cpp               |    1 +
>  src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |    6 +++-
>  src/mesa/program/ir_to_mesa.cpp              |    1 +
>  src/mesa/state_tracker/st_glsl_to_tgsi.cpp   |    1 +
>  11 files changed, 65 insertions(+), 36 deletions(-)


More information about the mesa-dev mailing list