perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / amd_gpu_shader_half_float / compiler / builtin-functions / exponential / inversesqrt-f16vec4.vert
blobcd52dd2ce04a7c76b6ce3ff1fbc41decc8204968
1 // [config]
2 // expect_result: pass
3 // glsl_version: 4.00
4 // require_extensions: GL_AMD_gpu_shader_half_float
5 // [end config]
6 //
7 // Tests use of half float with inversesqrt() builtin
9 #version 400
10 #extension GL_AMD_gpu_shader_half_float : enable
12 f16vec4 test() {
14         float16_t x = 0.999HF;
16         return inversesqrt(f16vec4(x));