Add Float16/Int8/Int16 capabilities for private variables and function parameters

This commit is contained in:
Jeff Bolz
2019-02-17 22:49:28 -06:00
parent 9f538c7207
commit 2b2316d3fa
6 changed files with 172 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#version 460 core
#extension GL_EXT_shader_explicit_arithmetic_types_int64 : enable
#extension GL_EXT_shader_explicit_arithmetic_types_int8 : enable
#extension GL_EXT_shader_explicit_arithmetic_types_int16 : enable
#extension GL_EXT_shader_explicit_arithmetic_types_float16 : enable
int8_t i8;
uint8_t u8;
int16_t i16;
uint16_t u16;
int64_t i64;
uint64_t u64;
float16_t f16;
void main()
{
}