Parser: Implement extension GL_AMD_gpu_shader_half_float.
- Add built-in types: float16_t, f16vec, f16mat.
- Add support of half float constant: hf, HF.
- Extend built-in floating-point operators: +, -, *, /, ++, --, +=, -=,
*=, /=, ==, !=, >=, <=, >, <.
- Add support of type conversions: float16_t -> XXX, XXX -> float16_t.
- Add new built-in functions.
Showing
This diff is collapsed.
Click to expand it.
SPIRV/bitutils.h
0 → 100644
SPIRV/hex_float.h
0 → 100644
This diff is collapsed.
Click to expand it.
Test/baseResults/spv.float16.frag.out
0 → 100644
This diff is collapsed.
Click to expand it.
Test/spv.float16.frag
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
gtests/HexFloat.cpp
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment