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
63d4794e
Commit
63d4794e
authored
May 24, 2016
by
Thomas Perl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test case: Link 2 ESSL fragment shader units
parent
0c968f9d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
0 deletions
+65
-0
es-link1.frag.out
Test/baseResults/es-link1.frag.out
+48
-0
es-link1.frag
Test/es-link1.frag
+8
-0
es-link2.frag
Test/es-link2.frag
+8
-0
runtests
Test/runtests
+1
-0
No files found.
Test/baseResults/es-link1.frag.out
0 → 100644
View file @
63d4794e
es-link1.frag
Shader version: 100
0:? Sequence
0:5 Function Definition: main( (global void)
0:5 Function Parameters:
0:7 Sequence
0:7 move second child to first child (temp mediump 4-component vector of float)
0:7 'gl_FragColor' (fragColor mediump 4-component vector of float FragColor)
0:7 Function Call: calculateColor( (global mediump 4-component vector of float)
0:? Linker Objects
es-link2.frag
Shader version: 100
0:? Sequence
0:5 Function Definition: calculateColor( (global mediump 4-component vector of float)
0:5 Function Parameters:
0:7 Sequence
0:7 Branch: Return with expression
0:7 vector-scale (temp mediump 4-component vector of float)
0:7 'varyingColor' (smooth in mediump 4-component vector of float)
0:7 Constant:
0:7 0.500000
0:? Linker Objects
0:? 'varyingColor' (smooth in mediump 4-component vector of float)
Linked fragment stage:
Shader version: 100
0:? Sequence
0:5 Function Definition: main( (global void)
0:5 Function Parameters:
0:7 Sequence
0:7 move second child to first child (temp mediump 4-component vector of float)
0:7 'gl_FragColor' (fragColor mediump 4-component vector of float FragColor)
0:7 Function Call: calculateColor( (global mediump 4-component vector of float)
0:5 Function Definition: calculateColor( (global mediump 4-component vector of float)
0:5 Function Parameters:
0:7 Sequence
0:7 Branch: Return with expression
0:7 vector-scale (temp mediump 4-component vector of float)
0:7 'varyingColor' (smooth in mediump 4-component vector of float)
0:7 Constant:
0:7 0.500000
0:? Linker Objects
0:? 'varyingColor' (smooth in mediump 4-component vector of float)
Test/es-link1.frag
0 → 100644
View file @
63d4794e
#version 100
mediump
vec4
calculateColor
();
void
main
()
{
gl_FragColor
=
calculateColor
();
}
Test/es-link2.frag
0 → 100644
View file @
63d4794e
#version 100
varying
mediump
vec4
varyingColor
;
mediump
vec4
calculateColor
()
{
return
varyingColor
*
0
.
5
;
}
Test/runtests
View file @
63d4794e
...
@@ -96,6 +96,7 @@ function runBulkTest {
...
@@ -96,6 +96,7 @@ function runBulkTest {
runBulkTest mains1.frag mains2.frag noMain1.geom noMain2.geom
runBulkTest mains1.frag mains2.frag noMain1.geom noMain2.geom
runBulkTest noMain.vert mains.frag
runBulkTest noMain.vert mains.frag
runBulkTest link1.frag link2.frag link3.frag
runBulkTest link1.frag link2.frag link3.frag
runBulkTest es-link1.frag es-link2.frag
runBulkTest recurse1.vert recurse1.frag recurse2.frag
runBulkTest recurse1.vert recurse1.frag recurse2.frag
runBulkTest 300link.frag
runBulkTest 300link.frag
runBulkTest 300link2.frag
runBulkTest 300link2.frag
...
...
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