mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
add missing Float16 capability (#2304)
A recent improvement to the SPIR-V validator added checks to ensure the **Float16** capability is declared when directly operating on fp16 values, which identified issues in one of our SPIR-V test files. This PR fixes the SPIR-V files to add the missing capability.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
; Schema: 0
|
||||
OpCapability Addresses
|
||||
OpCapability Kernel
|
||||
OpCapability Float16
|
||||
OpCapability Float16Buffer
|
||||
%1 = OpExtInstImport "OpenCL.std"
|
||||
OpMemoryModel Physical32 OpenCL
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
; Schema: 0
|
||||
OpCapability Addresses
|
||||
OpCapability Kernel
|
||||
OpCapability Float16
|
||||
OpCapability Float16Buffer
|
||||
%1 = OpExtInstImport "OpenCL.std"
|
||||
OpMemoryModel Physical64 OpenCL
|
||||
|
||||
Reference in New Issue
Block a user