Tests: Add some location-decoration tests, to aid PR #422.
This commit is contained in:
parent
9f9bad09b4
commit
bbd1b0ef76
3 changed files with 53 additions and 4 deletions
|
|
@ -18,3 +18,15 @@ layout(location = 12) patch out TheBlock {
|
|||
void main()
|
||||
{
|
||||
}
|
||||
|
||||
layout(location = 2) patch out SingleBlock {
|
||||
highp float bMem1; // should not see a location decoration
|
||||
highp float bMem2;
|
||||
S s; // should see a patch decoration
|
||||
} singleBlock;
|
||||
|
||||
layout(location = 20) patch out bn {
|
||||
vec4 v1; // location 20
|
||||
layout(location = 24) vec4 v2; // location 24
|
||||
vec4 v3; // location 25
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue