diff options
author | Rhys Perry <[email protected]> | 2019-11-15 12:42:46 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-24 13:35:07 +0000 |
commit | 72e9a2344346f4e2eff240e475463eeb046fe9be (patch) | |
tree | fd83ba9b576838cc4925c615bf5612d97925612d /src/amd/vulkan/radv_shader.c | |
parent | f8f7712666b738fc9ebd4a6390563e44db46b68f (diff) |
radv/aco: use ACO for GS copy shaders
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2421>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 7eea501fbd3..dc9b91ff922 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -1214,14 +1214,15 @@ radv_create_gs_copy_shader(struct radv_device *device, struct radv_shader_info *info, struct radv_shader_binary **binary_out, bool keep_shader_info, - bool multiview) + bool multiview, bool use_aco) { struct radv_nir_compiler_options options = {0}; + options.explicit_scratch_args = use_aco; options.key.has_multiview_view_index = multiview; return shader_variant_compile(device, NULL, &shader, 1, MESA_SHADER_VERTEX, - info, &options, true, keep_shader_info, false, binary_out); + info, &options, true, keep_shader_info, use_aco, binary_out); } void |