Add GLSL_EXT_shader_tile_image
This commit is contained in:
parent
a3310b7cff
commit
0bbec2e8f6
33 changed files with 5712 additions and 5083 deletions
15
Test/spv.ext.ShaderTileImage.overlap.frag
Normal file
15
Test/spv.ext.ShaderTileImage.overlap.frag
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue