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
f5b2c06b
Commit
f5b2c06b
authored
Aug 18, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn on the gpu_shader5 of the AEP .tesc test.
parent
156af43c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
14 deletions
+54
-14
310.tesc
Test/310.tesc
+12
-12
310.tesc.out
Test/baseResults/310.tesc.out
+40
-0
revision.h
glslang/Include/revision.h
+2
-2
No files found.
Test/310.tesc
View file @
f5b2c06b
...
...
@@ -115,18 +115,18 @@ void pointSize2()
gl_out[1].gl_PointSize = ps;
}
// for testing with gpu_shader5
//precise vec3 pv3;
//
//void foop()
//{
// precise double d;
//
// pv3 *= pv3;
// pv3 = fma(pv3, pv3, pv3)
;
// d = fma(d, d, d
);
//}
//
#extension GL_OES_gpu_shader5 : enable
precise vec3 pv3;
void goodfoop()
{
precise float d;
pv3 *= pv3
;
pv3 = fma(pv3, pv3, pv3
);
d = fma(d, d, d);
}
void bbBad()
{
...
...
Test/baseResults/310.tesc.out
View file @
f5b2c06b
...
...
@@ -46,6 +46,7 @@ ERROR: 33 compilation errors. No code generated.
Shader version: 310
Requested GL_ARB_separate_shader_objects
Requested GL_OES_gpu_shader5
Requested GL_OES_primitive_bounding_box
Requested GL_OES_shader_io_blocks
Requested GL_OES_tessellation_point_size
...
...
@@ -221,6 +222,24 @@ ERROR: node is still EOpNull!
0:115 Constant:
0:115 1 (const int)
0:115 'ps' (temp highp float)
0:122 Function Definition: goodfoop( (global void)
0:122 Function Parameters:
0:? Sequence
0:126 multiply second child into first child (temp highp 3-component vector of float)
0:126 'pv3' (temp highp 3-component vector of float)
0:126 'pv3' (temp highp 3-component vector of float)
0:127 move second child to first child (temp highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:127 Function Call: fma(vf3;vf3;vf3; (global highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:128 move second child to first child (temp highp float)
0:128 'd' (temp highp float)
0:128 Function Call: fma(f1;f1;f1; (global highp float)
0:128 'd' (temp highp float)
0:128 'd' (temp highp float)
0:128 'd' (temp highp float)
0:131 Function Definition: bbBad( (global void)
0:131 Function Parameters:
0:133 Sequence
...
...
@@ -281,6 +300,7 @@ ERROR: node is still EOpNull!
0:? 'badlay' (out 4-element array of highp float)
0:? 'misSized' (out 5-element array of highp float)
0:? 'okaySize' (out 4-element array of highp float)
0:? 'pv3' (temp highp 3-component vector of float)
Linked tessellation control stage:
...
...
@@ -288,6 +308,7 @@ Linked tessellation control stage:
Shader version: 310
Requested GL_ARB_separate_shader_objects
Requested GL_OES_gpu_shader5
Requested GL_OES_primitive_bounding_box
Requested GL_OES_shader_io_blocks
Requested GL_OES_tessellation_point_size
...
...
@@ -463,6 +484,24 @@ ERROR: node is still EOpNull!
0:115 Constant:
0:115 1 (const int)
0:115 'ps' (temp highp float)
0:122 Function Definition: goodfoop( (global void)
0:122 Function Parameters:
0:? Sequence
0:126 multiply second child into first child (temp highp 3-component vector of float)
0:126 'pv3' (temp highp 3-component vector of float)
0:126 'pv3' (temp highp 3-component vector of float)
0:127 move second child to first child (temp highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:127 Function Call: fma(vf3;vf3;vf3; (global highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:127 'pv3' (temp highp 3-component vector of float)
0:128 move second child to first child (temp highp float)
0:128 'd' (temp highp float)
0:128 Function Call: fma(f1;f1;f1; (global highp float)
0:128 'd' (temp highp float)
0:128 'd' (temp highp float)
0:128 'd' (temp highp float)
0:131 Function Definition: bbBad( (global void)
0:131 Function Parameters:
0:133 Sequence
...
...
@@ -523,4 +562,5 @@ ERROR: node is still EOpNull!
0:? 'badlay' (out 4-element array of highp float)
0:? 'misSized' (out 5-element array of highp float)
0:? 'okaySize' (out 4-element array of highp float)
0:? 'pv3' (temp highp 3-component vector of float)
glslang/Include/revision.h
View file @
f5b2c06b
...
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "2.3.72
0
"
#define GLSLANG_DATE "1
6
-Aug-2015"
#define GLSLANG_REVISION "2.3.72
1
"
#define GLSLANG_DATE "1
8
-Aug-2015"
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