[Mesa-dev] [PATCH 00/10] glsl: Add support for AMD_conservative_depth in compiler front-end

Ian Romanick idr at freedesktop.org
Mon Oct 25 09:23:38 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chad Versace wrote:
> I'm submitting this patch sequence for review. It implements support for the
> AMD_conservative_depth extension in the GLSL compiler front-end.
> 
> gitweb: http://cgit.freedesktop.org/~chadversary/mesa/log/?h=AMD_conservative_depth
> 
> === git diff --stat ===
>  src/glsl/ast.h                  |    8 +
>  src/glsl/ast_to_hir.cpp         |   35 ++
>  src/glsl/glcpp/glcpp-parse.y    |    2 +
>  src/glsl/glsl_parser.cpp        | 1113 +++++++++++++++++++++------------------
>  src/glsl/glsl_parser.h          |   15 +-
>  src/glsl/glsl_parser.ypp        |  124 ++++-
>  src/glsl/glsl_parser_extras.cpp |    8 +
>  src/glsl/glsl_parser_extras.h   |    2 +
>  src/glsl/ir.h                   |   10 +
>  src/mesa/main/extensions.c      |    1 +
>  src/mesa/main/mtypes.h          |    1 +
>  11 files changed, 789 insertions(+), 530 deletions(-)

There aren't any linker changes.  Linking should fail when an
application tries to link shaders with conflicting layouts.

The gl_FragDepth layout should get propagated up into the
gl_fragment_program in the same way as the gl_FragCoord layout.  The
setting in gl_fragment_program should be an enum instead of a set of
distinct bit flags (as is used in ir_variable).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzFrwkACgkQX1gOwKyEAw8N1gCdFSjU+HFrMwfDdH6dJRHLFYtN
tX8An0ozDL78MzoL+0tZtCEn6dJMYvxz
=1AxX
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list