glsl: Translate the AST for uniform blocks into some IR structures.
We're going to need this structure to cross-validate the uniform
blocks between shader stages, since unused ir_variables might get
dropped. It's also the place we store the RowMajor qualifier, which
is not part of the GLSL type (since that would cause a bunch of type
equality checks to fail).
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
Showing
- src/glsl/ast_to_hir.cpp 67 additions, 0 deletionssrc/glsl/ast_to_hir.cpp
- src/glsl/glsl_parser_extras.h 4 additions, 0 deletionssrc/glsl/glsl_parser_extras.h
- src/glsl/ir.cpp 1 addition, 0 deletionssrc/glsl/ir.cpp
- src/glsl/ir.h 12 additions, 1 deletionsrc/glsl/ir.h
- src/glsl/ir_clone.cpp 1 addition, 0 deletionssrc/glsl/ir_clone.cpp
- src/mesa/main/mtypes.h 18 additions, 0 deletionssrc/mesa/main/mtypes.h
Loading
Please register or sign in to comment