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
894c1c10
Commit
894c1c10
authored
Oct 05, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add another frexp() test.
parent
eb505e42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
310.vert
Test/310.vert
+3
-3
310.vert.out
Test/baseResults/310.vert.out
+11
-1
revision.h
glslang/Include/revision.h
+2
-2
No files found.
Test/310.vert
View file @
894c1c10
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
shared
vec4
s
;
// ERROR
shared
vec4
s
;
// ERROR
layout
(
local_size_x
=
2
)
out
;
// ERROR
layout
(
local_size_x
=
2
)
out
;
// ERROR
buffer
vec4
v
;
// ERROR
buffer
vec4
v
;
// ERROR
in
int
ini
;
layout
(
location
=
2
)
uniform
mat4
x
;
layout
(
location
=
2
)
uniform
mat4
x
;
layout
(
location
=
3
)
uniform
mat4
y
;
layout
(
location
=
3
)
uniform
mat4
y
;
layout
(
location
=
2
)
out
mat4
xi
;
layout
(
location
=
2
)
out
mat4
xi
;
...
@@ -65,8 +65,8 @@ void foo()
...
@@ -65,8 +65,8 @@ void foo()
vec4
v4
=
texelFetch
(
s2dms
,
v2
,
2
);
vec4
v4
=
texelFetch
(
s2dms
,
v2
,
2
);
ivec4
iv4
=
texelFetch
(
is2dms
,
v2
,
2
);
ivec4
iv4
=
texelFetch
(
is2dms
,
v2
,
2
);
textureSamples
(
s2dms
);
// ERROR
textureSamples
(
s2dms
);
// ERROR
float
f
;
frexp
(
f
,
ini
);
// ERROR, i not writable
}
}
out
bool
outb
;
// ERROR
out
bool
outb
;
// ERROR
...
...
Test/baseResults/310.vert.out
View file @
894c1c10
...
@@ -7,6 +7,8 @@ ERROR: 0:10: 'location' : overlapping use of location 3
...
@@ -7,6 +7,8 @@ ERROR: 0:10: 'location' : overlapping use of location 3
ERROR: 0:58: 'usampler2DMSArray' : Reserved word.
ERROR: 0:58: 'usampler2DMSArray' : Reserved word.
ERROR: 0:58: 'sampler/image' : type requires declaration of default precision qualifier
ERROR: 0:58: 'sampler/image' : type requires declaration of default precision qualifier
ERROR: 0:67: 'textureSamples' : no matching overloaded function found
ERROR: 0:67: 'textureSamples' : no matching overloaded function found
ERROR: 0:69: 'assign' : l-value required "ini" (can't modify shader input)
ERROR: 0:69: 'out' : Non-L-value cannot be passed for 'out' or 'inout' parameters.
ERROR: 0:72: 'out' : cannot be bool
ERROR: 0:72: 'out' : cannot be bool
ERROR: 0:73: 'sampler2D' : sampler/image types can only be used in uniform variables or function parameters: outo
ERROR: 0:73: 'sampler2D' : sampler/image types can only be used in uniform variables or function parameters: outo
ERROR: 0:75: 'vertex-shader array-of-array output' : not supported with this profile: es
ERROR: 0:75: 'vertex-shader array-of-array output' : not supported with this profile: es
...
@@ -94,7 +96,7 @@ ERROR: 0:389: 'sample' : Reserved word.
...
@@ -94,7 +96,7 @@ ERROR: 0:389: 'sample' : Reserved word.
ERROR: 0:400: 'interpolateAtCentroid' : no matching overloaded function found
ERROR: 0:400: 'interpolateAtCentroid' : no matching overloaded function found
ERROR: 0:401: 'interpolateAtSample' : no matching overloaded function found
ERROR: 0:401: 'interpolateAtSample' : no matching overloaded function found
ERROR: 0:402: 'interpolateAtOffset' : no matching overloaded function found
ERROR: 0:402: 'interpolateAtOffset' : no matching overloaded function found
ERROR: 9
0
compilation errors. No code generated.
ERROR: 9
2
compilation errors. No code generated.
Shader version: 310
Shader version: 310
...
@@ -253,6 +255,9 @@ ERROR: node is still EOpNull!
...
@@ -253,6 +255,9 @@ ERROR: node is still EOpNull!
0:66 2 (const int)
0:66 2 (const int)
0:67 Constant:
0:67 Constant:
0:67 0.000000
0:67 0.000000
0:69 frexp (global highp float)
0:69 'f' (temp highp float)
0:69 'ini' (in highp int)
0:114 Function Definition: foo_IO( (global void)
0:114 Function Definition: foo_IO( (global void)
0:114 Function Parameters:
0:114 Function Parameters:
0:116 Sequence
0:116 Sequence
...
@@ -911,6 +916,7 @@ ERROR: node is still EOpNull!
...
@@ -911,6 +916,7 @@ ERROR: node is still EOpNull!
0:? Linker Objects
0:? Linker Objects
0:? 's' (shared highp 4-component vector of float)
0:? 's' (shared highp 4-component vector of float)
0:? 'v' (buffer highp 4-component vector of float)
0:? 'v' (buffer highp 4-component vector of float)
0:? 'ini' (in highp int)
0:? 'x' (layout(location=2 ) uniform highp 4X4 matrix of float)
0:? 'x' (layout(location=2 ) uniform highp 4X4 matrix of float)
0:? 'y' (layout(location=3 ) uniform highp 4X4 matrix of float)
0:? 'y' (layout(location=3 ) uniform highp 4X4 matrix of float)
0:? 'xi' (layout(location=2 ) smooth out highp 4X4 matrix of float)
0:? 'xi' (layout(location=2 ) smooth out highp 4X4 matrix of float)
...
@@ -1180,6 +1186,9 @@ ERROR: node is still EOpNull!
...
@@ -1180,6 +1186,9 @@ ERROR: node is still EOpNull!
0:66 2 (const int)
0:66 2 (const int)
0:67 Constant:
0:67 Constant:
0:67 0.000000
0:67 0.000000
0:69 frexp (global highp float)
0:69 'f' (temp highp float)
0:69 'ini' (in highp int)
0:114 Function Definition: foo_IO( (global void)
0:114 Function Definition: foo_IO( (global void)
0:114 Function Parameters:
0:114 Function Parameters:
0:116 Sequence
0:116 Sequence
...
@@ -1838,6 +1847,7 @@ ERROR: node is still EOpNull!
...
@@ -1838,6 +1847,7 @@ ERROR: node is still EOpNull!
0:? Linker Objects
0:? Linker Objects
0:? 's' (shared highp 4-component vector of float)
0:? 's' (shared highp 4-component vector of float)
0:? 'v' (buffer highp 4-component vector of float)
0:? 'v' (buffer highp 4-component vector of float)
0:? 'ini' (in highp int)
0:? 'x' (layout(location=2 ) uniform highp 4X4 matrix of float)
0:? 'x' (layout(location=2 ) uniform highp 4X4 matrix of float)
0:? 'y' (layout(location=3 ) uniform highp 4X4 matrix of float)
0:? 'y' (layout(location=3 ) uniform highp 4X4 matrix of float)
0:? 'xi' (layout(location=2 ) smooth out highp 4X4 matrix of float)
0:? 'xi' (layout(location=2 ) smooth out highp 4X4 matrix of float)
...
...
glslang/Include/revision.h
View file @
894c1c10
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// 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).
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "3.0.77
8
"
#define GLSLANG_REVISION "3.0.77
9
"
#define GLSLANG_DATE "0
2
-Oct-2015"
#define GLSLANG_DATE "0
5
-Oct-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