Add GLSL_EXT_shader_tile_image
This commit is contained in:
committed by
arcady-lunarg
parent
a3310b7cff
commit
0bbec2e8f6
13
Test/spv.ext.ShaderTileImage.typemismatch.frag
Normal file
13
Test/spv.ext.ShaderTileImage.typemismatch.frag
Normal file
@@ -0,0 +1,13 @@
|
||||
#version 320 es
|
||||
#extension GL_EXT_shader_tile_image : require
|
||||
|
||||
layout(non_coherent_color_attachment_readEXT) in;
|
||||
|
||||
layout(location=0) tileImageEXT highp iattachmentEXT in_color_i;
|
||||
layout(location=0) out highp vec4 out_color_f;
|
||||
|
||||
void main(void)
|
||||
{
|
||||
highp ivec4 read = colorAttachmentReadEXT(in_color_i);
|
||||
out_color_f = vec4(read);
|
||||
}
|
||||
Reference in New Issue
Block a user