1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#version 450 core
#extension GL_KHR_memory_scope_semantics : enable
#extension GL_EXT_long_vector : enable
#extension GL_EXT_shader_explicit_arithmetic_types : enable
#extension GL_EXT_buffer_reference : enable
void main()
{
vector<float, 5> vf;
float f;
vector<uint32_t, 5> vu;
uint32_t u;
vector<int32_t, 5> vi;
int32_t i;
vector<float16_t, 5> vf16;
float16_t f16;
vector<bool, 5> vb;
bool b;
// 8.14
vf = dFdx(vf);
vf = dFdy(vf);
vf = fwidth(vf);
vf = dFdxFine(vf);
vf = dFdyFine(vf);
vf = fwidthFine(vf);
vf = dFdxCoarse(vf);
vf = dFdyCoarse(vf);
vf = fwidthCoarse(vf);
}
|