diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-07-02 12:16:36 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-07-04 10:52:26 +0000 |
commit | 15046ef7c838a8d93ac2257d36ab4bf887b8a152 (patch) | |
tree | 6e05ec22c27af35a1106718c9378f3525187b6f8 /src/amd | |
parent | 74695162440687791b2ca370ba3c396db95da73a (diff) |
radv: use last nir shader to determine stage in postprocessing
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index 1346299b752..1f86d3af6c8 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -4002,7 +4002,7 @@ radv_compile_nir_shader(struct ac_llvm_compiler *ac_llvm, options); ac_compile_llvm_module(ac_llvm, llvm_module, binary, config, shader_info, - nir[0]->info.stage, options); + nir[nir_count - 1]->info.stage, options); for (int i = 0; i < nir_count; ++i) ac_fill_shader_info(shader_info, nir[i], options); |