diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2018-01-21 17:13:26 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2018-03-07 21:18:35 +0100 |
commit | 5240fddb9dacbab57ba6a35e20b40b1c81ff71eb (patch) | |
tree | b12ac61c92bd516e033633e90a1015c5e2d95070 /src/amd/vulkan/radv_shader.c | |
parent | 84e877aa7798dc2fdc55cdf936214eaea1311384 (diff) |
radv: Add trivial device group implementation.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 1e20aa6f9a..dd7e0e0af6 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -53,6 +53,7 @@ static const struct nir_shader_compiler_options nir_options = { .lower_scmp = true, .lower_flrp32 = true, .lower_flrp64 = true, + .lower_device_index_to_zero = true, .lower_fsat = true, .lower_fdiv = true, .lower_sub = true, @@ -203,6 +204,7 @@ radv_shader_compile_to_nir(struct radv_device *device, } const struct spirv_to_nir_options spirv_options = { .caps = { + .device_group = true, .draw_parameters = true, .float64 = true, .image_read_without_format = true, |