mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
Adds checks that it isn't used in an unsupported function and emits the depth_ref as a separate argument.
18 lines
414 B
GLSL
18 lines
414 B
GLSL
#version 310 es
|
|
#extension GL_EXT_texture_cube_map_array : require
|
|
|
|
precision highp float;
|
|
precision highp int;
|
|
|
|
uniform highp samplerCubeArrayShadow _group_0_binding_4;
|
|
|
|
layout(location = 0) out vec4 _fs2p_location0;
|
|
|
|
void main() {
|
|
vec3 frag_ls = vec4(1.0, 1.0, 2.0, 1.0).xyz;
|
|
float a = texture(_group_0_binding_4, vec4(frag_ls, int(1)), 1.0);
|
|
_fs2p_location0 = vec4(a, 1.0, 1.0, 1.0);
|
|
return;
|
|
}
|
|
|