1617a3babSopenharmony_ci#version 450 core
2617a3babSopenharmony_ci#extension GL_EXT_fragment_shading_rate : enable
3617a3babSopenharmony_ci#extension GL_ARB_shader_stencil_export : enable
4617a3babSopenharmony_ci#extension GL_ARB_fragment_shader_interlock : enable
5617a3babSopenharmony_ci#extension GL_AMD_shader_early_and_late_fragment_tests : enable
6617a3babSopenharmony_cilayout(location = 0) flat in int instanceIndex;
7617a3babSopenharmony_cilayout(early_and_late_fragment_tests_amd) in;
8617a3babSopenharmony_cilayout(depth_less) out float gl_FragDepth;
9617a3babSopenharmony_civoid main()
10617a3babSopenharmony_ci{
11617a3babSopenharmony_ci  gl_FragDepth = float(instanceIndex) / float(81);
12617a3babSopenharmony_ci}
13