KhronosGroup / KhronosGroup/SPIRV-Tools

validator: Arithmetic on 16, 8, 64bit types only permitted by associated capabilities

Open
#1,595 4 comments 0 reactions 1 assignee Claimed by @dj2 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.