KHR_vulkan_glsl: name mangle distinguish pure textures.
Fixes issue #252.
This commit is contained in:
parent
22e0d41448
commit
2921e0c54a
3 changed files with 15 additions and 3 deletions
|
|
@ -67,3 +67,9 @@ subroutine int fooS; // ERROR, not in SPV
|
|||
subroutine int fooSub(); // ERROR, not in SPV
|
||||
|
||||
uniform vec4 dv4; // ERROR, no default uniforms
|
||||
|
||||
void fooTex()
|
||||
{
|
||||
texture(t2d, vec2(1.0)); // ERROR, need a sampler, not a pure texture
|
||||
imageStore(t2d, ivec2(4, 5), vec4(1.2)); // ERROR, need an image, not a pure texture
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue