зеркало из https://github.com/stride3d/xkslang.git
15 строки
430 B
GLSL
15 строки
430 B
GLSL
|
#version 150 core
|
||
|
|
||
|
in vec4 gl_FragCoord;
|
||
|
layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord; // ERROR
|
||
|
layout(pixel_center_integer) in vec4 gl_FragCoord; // ERROR
|
||
|
layout(origin_upper_left) in vec4 foo; // ERROR
|
||
|
layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
vec4 c = gl_FragCoord;
|
||
|
}
|
||
|
|
||
|
layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord;
|