GL_AMD_gpu_shader_half_float: add positive compiler tests
[piglit.git] / tests / spec / amd_gpu_shader_half_float / compiler / builtin-functions / derivative / dFdyCoarse-f16vec2.frag
blobac3f8d834abb2230f66aa3ad30a37a681608aa38
1 // [config]
2 // expect_result: pass
3 // glsl_version: 4.50
4 // require_extensions: GL_AMD_gpu_shader_half_float
5 // [end config]
6 //
7 // Tests use of half float with dFdyCoarse() builtin
9 #version 450
10 #extension GL_AMD_gpu_shader_half_float : enable
12 f16vec2 test() {
14         float16_t p = 0.567HF;
16         return dFdyCoarse(f16vec2(p));