Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
3ce5745a
Commit
3ce5745a
authored
Jun 07, 2013
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more tests for built-in variables.
git-svn-id:
https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21893
e7fa87d3-cd2b-0410-9028-fcbf551c1848
parent
0fbb0c49
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
300.frag
Test/300.frag
+3
-0
300.vert
Test/300.vert
+3
-0
300block.frag
Test/300block.frag
+1
-0
No files found.
Test/300.frag
View file @
3ce5745a
...
...
@@ -71,6 +71,9 @@ void main()
dvec2
boo2
;
// ERROR
dvec3
boo3
;
// ERROR
dvec4
boo4
;
// ERROR
f
+=
gl_FragCoord
.
y
;
gl_FragDepth
=
f
;
}
float
imageBuffer
;
// ERROR, reserved
...
...
Test/300.vert
View file @
3ce5745a
...
...
@@ -31,6 +31,9 @@ void main()
mat3x2
op
=
outerProduct
(
v2
,
v3
);
gl_Position
=
m44
[
2
];
gl_PointSize
=
v2
.
y
;
#ifdef GL_ES
#error GL_ES is set
#else
...
...
Test/300block.frag
View file @
3ce5745a
...
...
@@ -35,4 +35,5 @@ uniform barBlockArray {
void
main
()
{
texture
(
s
.
sampler
,
vec3
(
inst
.
ni
,
bv
.
y
,
insts
[
2
].
nbv
.
z
));
insts
[
s
.
v
.
x
];
// ERROR
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment