shaderc: internal error: compilation succeeded but failed to optimize: Invalid SPIR-V…
- User
shaderc: internal error: compilation succeeded but failed to optimize: Invalid SPIR-V binary version 1.6 for target environment SPIR-V 1.0 (under Vulkan 1.0 semantics).
Assistant
This error suggests there's a version compatibility issue with SPIR-V (Standard Portable Intermediate Representation - Vulkan) shader compilation. Let me break down the key points:
-
The error indicates that the shader compiler (shaderc) generated a SPIR-V binary with version 1.6, but the target environment only supports SPIR-V version 1.0 under Vulkan 1.0 semantics.
-
Possible causes:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.