AGI + VVL doesn't work on vulkan 1.3
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 169
- PR merge metrics
- No merged PRs in 30d
Description
**Environment information:**
- AGI version: 2023-3.3.0:55d96149deb160d0214d73d0e70cb5c799d97416
- Host OS: Linux
- Device model: Google Pixel 7
- Android Version: 14
**Bug description**
I cannot run my vulkan application under AGI with validation enabled; it throws validation errors about invalid SPIR-V versions and missing features:
```
01-30 17:13:13.228 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-InconsistentSpirv(ERROR / SPEC): msgNum: 0 - SPIR-V module not valid: Invalid SPIR-V binary version 1.6 for target environment SPIR-V 1.3 (under Vulkan 1.1 semantics).
01-30 17:13:13.228 25417 25549 I VALIDATION: Objects: 1
01-30 17:13:13.228 25417 25549 I VALIDATION: [0] 0, type: 0, name: NULL
01-30 17:13:13.229 25417 25549 I VALIDATION: UNASSIGNED-GPU-Assisted Validation Error. (ERROR / SPEC): msgNum: 0 - Detail: (Failure to instrument shader. Proceeding with non-instrumented shader.)
01-30 17:13:13.229 25417 25549 I VALIDATION: Objects: 1
01-30 17:13:13.229 25417 25549 I VALIDATION: [0] 0, type: 15, name: NULL
01-30 17:13:13.230 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled(ERROR / SPEC): msgNum: 0 - Shader requires VkPhysicalDeviceFloat16Int8FeaturesKHR::shaderInt8 but is not enabled on the device
01-30 17:13:13.230 25417 25549 I VALIDATION: Objects: 1
01-30 17:13:13.230 25417 25549 I VALIDATION: [0] 0, type: 0, name: NULL
01-30 17:13:13.230 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled(ERROR / SPEC): msgNum: 0 - Shader requires extension VkPhysicalDeviceFloat16Int8FeaturesKHR::shaderInt8 but is not enabled on the device
01-30 17:13:13.230 25417 25549 I VALIDATION: Objects: 1
01-30 17:13:13.230 25417 25549 I VALIDATION: [0] 0, type: 0, name: NULL
01-30 17:13:13.230 25417 25549 I VALIDATION: UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled(ERROR / SPEC): msgNum: 0 - Shader requires VkPhysicalDevice8BitStorageFeaturesKHR::storageBuffer8BitAccess but is not enabled on the device
01-30 17:13:13.230 25417 25549 I VALIDATION: Objects: 1
01-30 17:13:13.230 25417 25549 I VALIDATION: [0] 0, type: 0, name: NULL
...
```
and then proceeds to segfault.
**Reproduction steps**
1. Write a vulkan application that requires v1.3+
2. Enable vulkan validation layers
3. Run it under AGI
**Additional debugging information**
- [logcat-full.txt](https://github.com/google/agi/files/14101191/logcat-full.txt)
- [gapis.log](https://github.com/google/agi/files/14101174/gapis.log)
Contributor guide
Assessment
This issue has not been assessed yet.