projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
spv.specTexture.frag
1
#version 450
2
3
layout(constant_id = 1) const int offs = 0;
4
layout(binding = 0) uniform sampler2D tex;
5
layout(location = 0) out vec4 color_out;
6
7
void main(void)
8
{
9
color_out = textureLodOffset(tex, vec2(0.0, 0.0), 0.0, ivec2(offs, offs));
10
}