SPIRV-Cross-Vulnerable/reference/shaders/amd/gcn_shader.comp
2017-11-22 19:05:38 +01:00

13 lines
316 B
Plaintext

#version 450
#extension GL_ARB_gpu_shader_int64 : require
#extension GL_AMD_gcn_shader : require
layout(local_size_x = 64, local_size_y = 1, local_size_z = 1) in;
void main()
{
float cubeFace = cubeFaceIndexAMD(vec3(0.0));
vec2 cubeFaceCoord = cubeFaceCoordAMD(vec3(1.0));
uint64_t time = timeAMD();
}