[Mesa-dev] [PATCH] glsl: use a subroutine->int conversion unop

Kenneth Graunke kenneth at whitecape.org
Mon Jun 1 22:13:16 PDT 2015


On Tuesday, June 02, 2015 10:16:11 AM Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> This is what it looks like, seems to work fine.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/glsl/ir.cpp                            |  4 +++-
>  src/glsl/ir.h                              |  1 +
>  src/glsl/ir_builder.cpp                    |  6 ++++++
>  src/glsl/ir_builder.h                      |  1 +
>  src/glsl/ir_validate.cpp                   | 10 ++++++----
>  src/glsl/lower_subroutine.cpp              |  4 ++--
>  src/mesa/state_tracker/st_glsl_to_tgsi.cpp |  3 +++
>  7 files changed, 22 insertions(+), 7 deletions(-)

Thanks, Dave, this looks much nicer.  I'll try and get back to reviewing
the rest of the series soon...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150601/bda66c16/attachment.sig>


More information about the mesa-dev mailing list