Skip to content
Commit d29a1f98 authored by Neil Henning's avatar Neil Henning Committed by Steven Perron
Browse files

Add validaton for SPV_KHR_8bit_storage + convert to/from floats. (#1990)

The SPV_KHR_8bit_storage extension does not permit 8-bit integers to be
cast directly to floating point types. We are seeing shaders in the
wild, being produced by toolchains like glslang, that are generating
invalid SPIR-V.

This change adds validation to check for the patterns not permitted, and
some tests that expose the failure.
parent 715afb0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment