diff options
author | Iago Toral Quiroga <[email protected]> | 2019-01-22 11:26:03 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-04-18 13:23:03 +0200 |
commit | 5a5d44b71307085f56cb8511fe154ebfdfd42831 (patch) | |
tree | b110f614981f4ad676b96923b76528c957339097 /src | |
parent | e6ee07a664951c11a27d0cfb38e6af218a7ef0a4 (diff) |
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 <[email protected]> (v1)
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index b0fef540e45..e403b07500e 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -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, |