diff options
author | Samuel Pitoiset <[email protected]> | 2019-08-01 10:43:44 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-08-02 09:37:38 +0200 |
commit | 96a54455592646f34a2c80656bd75aef1cb00305 (patch) | |
tree | 8c9580febbbf0436583f432db05e18783dd9da34 /src/amd/vulkan/radv_shader.c | |
parent | 8a86908e9a79fb7ac94df1fa3194b54059a6045f (diff) |
radv/gfx10: use the correct target machine for Wave32
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 97fa80b348c..d0f6895f148 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -1159,7 +1159,8 @@ shader_variant_compile(struct radv_device *device, radv_init_llvm_once(); radv_init_llvm_compiler(&ac_llvm, thread_compiler, - chip_family, tm_options); + chip_family, tm_options, + radv_get_shader_wave_size(device->physical_device, stage)); if (gs_copy_shader) { assert(shader_count == 1); radv_compile_gs_copy_shader(&ac_llvm, *shaders, &binary, |