anv/pipeline: support Float16 and Int8 SPIR-V capabilities in gen8+
v2:
- Merge Float16 and Int8 capabilities into a single patch (Jason)
- Merged patch that enabled SPIR-V front-end checks for these caps
(except for Int8, which was already merged)
v3:
- Keep capabilities sorted (Jason)
v4:
- SpvCapabilityFloat16 support already added in master (Juan)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v1)
This commit is contained in:
committed by
Juan A. Suarez Romero
parent
e6ee07a664
commit
5a5d44b713
@@ -140,9 +140,11 @@ anv_shader_compile_to_nir(struct anv_device *device,
|
||||
.derivative_group = true,
|
||||
.device_group = true,
|
||||
.draw_parameters = true,
|
||||
.float16 = pdevice->info.gen >= 8,
|
||||
.float64 = pdevice->info.gen >= 8,
|
||||
.geometry_streams = true,
|
||||
.image_write_without_format = true,
|
||||
.int8 = pdevice->info.gen >= 8,
|
||||
.int16 = pdevice->info.gen >= 8,
|
||||
.int64 = pdevice->info.gen >= 8,
|
||||
.min_lod = true,
|
||||
|
||||
Reference in New Issue
Block a user