KhronosGroup / KhronosGroup/SPIRV-Tools
validator: Arithmetic on 16, 8, 64bit types only permitted by associated capabilities
Open
component:validation
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
16bit integer arithemtic is only permitted if Int16 capabilities declared (explicitly or implcitly). To begin with, this was guarded by the ability to just *declare* a 16bit integer type. But extension SPV_KHR_16bit_storage adds capabilities that allow you to declare 16bit type and only do width-conversions.
Similar for 16bit float.
Contributor guide
Assessment
This issue has not been assessed yet.