summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/spirv_to_nir.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-12-10 23:18:32 +0100
committerBas Nieuwenhuizen <[email protected]>2017-12-12 00:16:18 +0100
commit368f49b284d6ad4567d0baf718de499ce8decf00 (patch)
treef2322cd9dee28184cb7f124a885e9fa0ca9b4864 /src/compiler/spirv/spirv_to_nir.c
parentbf0904e31fb7d9cd8932d582076c8d7beb02ba89 (diff)
ac/nir: Don't load the descriptor in vulkan_resource_index.
To support the reindex intrinsic, we need the result to be something on which we can adjust the index/address. Since it is all within a basic block, the compiler should be able to merge any extra loads. v2: Change visit_get_buffer_size too. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
0 files changed, 0 insertions, 0 deletions