Fix #1720: Give an error for parameter mismatched image format.
This commit is contained in:
parent
0e5d1bb66a
commit
08d61df040
10 changed files with 82 additions and 83 deletions
|
|
@ -106,9 +106,9 @@ layout(r32i) coherent restrict readonly uniform iimage2D qualim2;
|
|||
|
||||
void passrc()
|
||||
{
|
||||
passr(qualim1);
|
||||
passr(qualim2); // ERROR, drops restrict
|
||||
passr(iimg2D);
|
||||
passr(qualim1); // ERROR, changing formats
|
||||
passr(qualim2); // ERROR, drops restrict, ERROR, changing formats
|
||||
passr(iimg2D); // ERROR, changing formats
|
||||
}
|
||||
|
||||
highp layout(rg8i) uniform readonly uimage2D i1bad; // ERROR, type mismatch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue