Add GLSL_EXT_shader_tile_image
This commit is contained in:
parent
a3310b7cff
commit
0bbec2e8f6
33 changed files with 5712 additions and 5083 deletions
16
Test/spv.ext.ShaderTileImage.depth_stencil.frag
Normal file
16
Test/spv.ext.ShaderTileImage.depth_stencil.frag
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#version 460
|
||||
#extension GL_EXT_shader_tile_image : require
|
||||
|
||||
precision highp float;
|
||||
|
||||
layout(location=0) out highp uvec4 stencil_out;
|
||||
layout(location=1) out highp vec4 depth_out;
|
||||
|
||||
|
||||
void main(void)
|
||||
{
|
||||
float depth = depthAttachmentReadEXT();
|
||||
uint stencil_value = stencilAttachmentReadEXT();
|
||||
stencil_out = uvec4(stencil_value,0,0,0);
|
||||
depth_out = vec4(depth,0.0,0.0,0.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue