diff options
author | Jason Ekstrand <[email protected]> | 2017-10-19 09:23:07 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-12-05 22:01:53 -0800 |
commit | 843c192e2be3d194f4640a273f4efde561bcc8fc (patch) | |
tree | 31eff1e5693efe47d886064084e29299bb2cfadf /src/compiler/spirv/spirv_to_nir.c | |
parent | 6dffef6308200d90a983301444e6952223616444 (diff) |
spirv: Use offset_pointer_dereference to instead of get_vulkan_resource_index
There is no good reason why we should have the same logic repeated in
get_vulkan_resource_index and vtn_ssa_offset_pointer_dereference. If
we're a bit more careful about how we do things, we can just use the one
function and get rid of the other entirely. This also makes the push
constant special case a lot more clear.
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
0 files changed, 0 insertions, 0 deletions