[Mesa-dev] [PATCH v2 00/15] GLSL 1.50 interface blocks support
Jordan Justen
jordan.l.justen at intel.com
Mon Mar 18 16:34:57 PDT 2013
git://people.freedesktop.org/~jljusten/mesa interface-blocks-v2
v2:
* 3 new patches added to series
* Add support for interface block instance arrays
* Add support for rejecting unmatched interface blocks
during the linking phase.
* Known issue: fails new piglit glsl-1.50 test:
execution/interface-blocks-same-uniform-varying-name.shader_test
v1:
* Initial support for GLSL 1.50 interface block support
* Known issue: interface block arrays are not working
* Known issue: rejection of unmatched interface blocks
is not working
* Piglit tests for known issues have been sent to piglit list
Jordan Justen (15):
glsl: rename ast_uniform_block to ast_interface_block
glsl parser: rename uniform block to interface block
glsl: parse in/out types for interface blocks
glsl parser: reject VS+in & FS+out interface blocks
glsl parser: on desktop GL require GLSL 150 for instance names
glsl parser: allow in & out for interface block members
glsl parser: handle interface block member qualifier
glsl ast_to_hir: support in/out for interface blocks
glsl ir: add as_dereference_record
glsl linker: cross validate interface block types between stages
glsl linker: remove interface block instance names
glsl link_varyings: link interface blocks using the block name
glsl linker: support arrays of interface block instances
glsl linker: compare interface blocks during intrastage linking
glsl linker: compare interface blocks during interstage linking
src/glsl/Makefile.sources | 2 +
src/glsl/ast.h | 4 +-
src/glsl/ast_to_hir.cpp | 23 ++-
src/glsl/glsl_parser.yy | 189 ++++++++++++++++-------
src/glsl/interface_blocks.cpp | 104 +++++++++++++
src/glsl/interface_blocks.h | 35 +++++
src/glsl/ir.h | 6 +
src/glsl/ir_optimization.h | 1 +
src/glsl/link_varyings.cpp | 33 +++-
src/glsl/linker.cpp | 28 ++++
src/glsl/lower_named_interface_blocks.cpp | 237 +++++++++++++++++++++++++++++
11 files changed, 599 insertions(+), 63 deletions(-)
create mode 100644 src/glsl/interface_blocks.cpp
create mode 100644 src/glsl/interface_blocks.h
create mode 100644 src/glsl/lower_named_interface_blocks.cpp
--
1.7.10.4
More information about the mesa-dev
mailing list