diff options
author | Connor Abbott <[email protected]> | 2019-11-11 18:05:03 +0100 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-11-25 14:17:51 +0100 |
commit | 66c703b3e8a6a7e3c03e577c8deb377536ce5af2 (patch) | |
tree | 371ad4b8e80d01e607761c91ec3c784ca8495d74 /src/amd/vulkan/radv_private.h | |
parent | 3b143369a55d1b79f7db14dda587e18f6b27c975 (diff) |
radv: Move argument declaration out of nir_to_llvm
Now it's executed for ACO too.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 8066505e245..5d63f4145f2 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -2298,21 +2298,18 @@ struct radv_fence { }; /* radv_nir_to_llvm.c */ -struct radv_shader_info; -struct radv_nir_compiler_options; +struct radv_shader_args; void radv_compile_gs_copy_shader(struct ac_llvm_compiler *ac_llvm, struct nir_shader *geom_shader, struct radv_shader_binary **rbinary, - struct radv_shader_info *info, - const struct radv_nir_compiler_options *option); + const struct radv_shader_args *args); void radv_compile_nir_shader(struct ac_llvm_compiler *ac_llvm, struct radv_shader_binary **rbinary, - struct radv_shader_info *info, + const struct radv_shader_args *args, struct nir_shader *const *nir, - int nir_count, - const struct radv_nir_compiler_options *options); + int nir_count); unsigned radv_nir_get_max_workgroup_size(enum chip_class chip_class, gl_shader_stage stage, |