diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-05-03 12:42:39 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-05-20 10:53:38 -0700 |
commit | 672a3f42d91534a4a77ba5da10a66871734d7953 (patch) | |
tree | 6f0baecb1063d0ca75f08bdf2799310ee8d9c7bd /src/compiler/glsl/linker_util.cpp | |
parent | 192daf68a4358a3a24767d1f6733e8ed8e8d8390 (diff) |
spirv: Add vtn_mode_to_address_format()
Handles all the modes and we can use it in combination with
nir_address_format_to_glsl_type() to replace the
vtn_ptr_type_for_mode() helper. Since the new helper is more generic,
moved the assertions from the old one to the call sites.
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker_util.cpp')
0 files changed, 0 insertions, 0 deletions