radv: Add trivial device group implementation.

Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Bas Nieuwenhuizen
2018-01-21 17:13:26 +01:00
parent 84e877aa77
commit 5240fddb9d
5 changed files with 79 additions and 0 deletions

View File

@@ -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,