[Mesa-dev] [PATCH v3 00/32] ARB_bindless_texture: round one (GLSL)

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue May 2 20:53:21 UTC 2017


Hi,

The latest revision (and hopefully the last one) which should address
all previous/feedbacks.

No regressions with a full piglit run (including compiler tests), and
my private shader-db doesn't report anything bad (RadeonSI).

The Intel CI system doesn't report any failures now.

Please review,
Thanks!

Nicolai Hähnle (1):
  glsl: skip tree grafting for sampler and image types

Samuel Pitoiset (31):
  mesa: add ARB_bindless_texture to the extensions list
  glsl: add ARB_bindless_texture enable
  glsl: make sampler/image types as 64-bit
  glsl: make component_slots() returns 2 for samplers/images
  glsl: make count_attribute_slots() returns 1 for samplers/images
  glsl: make sampler/image scalar types
  glsl: do not make sampler/image types readonly variables
  glsl: process bindless/bound layout qualifiers
  glsl: allow to declare bindless samplers/images as non-uniform
  glsl: allow bindless samplers/images as out and inout parameters
  glsl: allow bindless samplers/images as function return
  glsl: allow bindless samplers/images inside interface blocks
  glsl: allow bindless images to be declared inside structures
  glsl: allow image qualifiers inside structures
  glsl: allow input memory qualifiers for images
  glsl: allow bindless samplers/images as varying variables
  glsl: allow bindless samplers/images as vertex shader inputs
  glsl: reject bindless samplers/images frag inputs without 'flat'
  glsl: relax bindless sampler arrays indexing
  glsl: add _mesa_glsl_parse_state object to is_lvalue()
  glsl: skip IR validation for out/inout sampler/image parameters
  glsl: allow bindless samplers/images to be l-values
  glsl: allow bindless samplers/images to be initialized
  glsl: add ARB_bindless_texture operations
  glsl: add is_valid_constructor() helper function
  glsl: allow bindless samplers/images to be used with constructors
  glsl: implement ARB_bindless_texture conversions
  glsl: lower bindless sampler/image packed varyings
  glsl: do not count bindless samplers/images when linking uniforms
  glsl: link bindless layout qualifiers
  glsl: teach lower_ubo_reference about samplers inside structures

 src/compiler/glsl/ast.h                      |   8 +
 src/compiler/glsl/ast_array_index.cpp        |   8 +-
 src/compiler/glsl/ast_function.cpp           | 102 ++++++++--
 src/compiler/glsl/ast_to_hir.cpp             | 266 ++++++++++++++++++++++++---
 src/compiler/glsl/ast_type.cpp               |  63 +++++++
 src/compiler/glsl/glsl_parser.yy             |  48 ++++-
 src/compiler/glsl/glsl_parser_extras.cpp     |  12 ++
 src/compiler/glsl/glsl_parser_extras.h       |  17 ++
 src/compiler/glsl/ir.cpp                     |  35 +++-
 src/compiler/glsl/ir.h                       |  20 +-
 src/compiler/glsl/ir_clone.cpp               |   4 +-
 src/compiler/glsl/ir_expression_operation.py |   6 +
 src/compiler/glsl/ir_print_visitor.cpp       |   8 +-
 src/compiler/glsl/ir_validate.cpp            |  24 ++-
 src/compiler/glsl/link_uniforms.cpp          |  12 +-
 src/compiler/glsl/linker.cpp                 |  44 +++++
 src/compiler/glsl/lower_packed_varyings.cpp  |  14 ++
 src/compiler/glsl/lower_ubo_reference.cpp    |  15 ++
 src/compiler/glsl/opt_tree_grafting.cpp      |  11 ++
 src/compiler/glsl/standalone_scaffolding.cpp |   1 +
 src/compiler/glsl_types.cpp                  |   6 +-
 src/compiler/glsl_types.h                    |   6 +-
 src/mesa/main/extensions_table.h             |   1 +
 src/mesa/main/mtypes.h                       |  11 ++
 src/mesa/main/uniform_query.cpp              |   6 +-
 src/mesa/program/ir_to_mesa.cpp              |   4 +
 src/mesa/state_tracker/st_glsl_to_tgsi.cpp   |   5 +
 27 files changed, 687 insertions(+), 70 deletions(-)

-- 
2.12.2



More information about the mesa-dev mailing list