glslang/Test/spv.ext.ShaderTileImage.overlap.frag

16 lines
410 B
GLSL
Raw Permalink Normal View History

2023-03-30 15:50:56 +00:00
#version 460
#extension GL_EXT_shader_tile_image : require
precision mediump int;
precision highp float;
layout(location=0) tileImageEXT highp attachmentEXT in_color[2];
layout(location=1) tileImageEXT highp attachmentEXT in_color_1;
layout(location=1) out highp vec4 out_color;
void main(void)
{
out_color = colorAttachmentReadEXT(in_color[0]);
out_color += colorAttachmentReadEXT(in_color_1);
}