• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 450
2
3layout(constant_id = 1) const int offs = 0;
4layout(binding = 0) uniform sampler2D tex;
5layout(location = 0) out vec4 color_out;
6
7void main(void)
8{
9  color_out = textureLodOffset(tex, vec2(0.0, 0.0), 0.0, ivec2(offs, offs));
10}