diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-05-02 15:57:45 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-05-20 10:53:38 -0700 |
commit | 8af9de0a38ff9ed2e50a9ad05a3e21551f211f0b (patch) | |
tree | 59102a7414410c1df0910c218d707e4dab48c976 /src/compiler/spirv/gl_spirv.c | |
parent | bdf2361b87844cd5697aa895bc71b28b0d396c86 (diff) |
spirv: Change vtn_null_constant() to use vtn_type
This is a preparation to handle OpConstantNull for pointers, we'll use
the vtn_type to get to the address format and then the appropriate
representation of NULL pointer.
v2: Move rest of body to use vtn_type. (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/gl_spirv.c')
0 files changed, 0 insertions, 0 deletions