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
085371d9
Commit
085371d9
authored
Nov 16, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPV testing: Add missing test case.
parent
55e7d11c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
2 deletions
+74
-2
spv.intOps.vert.out
Test/baseResults/spv.intOps.vert.out
+0
-0
spv.intOps.vert
Test/spv.intOps.vert
+72
-0
revision.h
glslang/Include/revision.h
+2
-2
No files found.
Test/baseResults/spv.intOps.vert.out
0 → 100644
View file @
085371d9
This diff is collapsed.
Click to expand it.
Test/spv.intOps.vert
0 → 100644
View file @
085371d9
#version 310 es
in
uint
u1
;
in
uvec2
u2
;
in
uvec3
u3
;
in
uvec4
u4
;
in
float
v1
;
in
vec2
v2
;
in
vec3
v3
;
in
vec4
v4
;
in
int
i1
;
in
ivec2
i2
;
in
ivec3
i3
;
in
ivec4
i4
;
out
uvec4
uout
;
out
ivec4
iout
;
out
vec4
fout
;
void
main
()
{
iout
=
ivec4
(
0
);
uout
=
uvec4
(
0
);
fout
=
vec4
(
0
.
0
);
uvec2
u2out
;
uout
.
xy
+=
uaddCarry
(
u2
,
u2
,
u2out
);
uout
.
xy
+=
u2out
;
uint
u1out
;
uout
.
x
+=
usubBorrow
(
u1
,
u1
,
u1out
);
uout
.
x
+=
u1out
;
uvec4
u4outHi
,
u4outLow
;
umulExtended
(
u4
,
u4
,
u4outHi
,
u4outLow
);
uout
+=
u4outHi
+
u4outLow
;
ivec4
i4outHi
,
i4outLow
;
imulExtended
(
i4
,
i4
,
i4outHi
,
i4outLow
);
iout
+=
i4outLow
+
i4outHi
;
ivec3
i3out
;
fout
.
xyz
+=
frexp
(
v3
,
i3out
);
iout
.
xyz
+=
i3out
;
int
i1out
;
fout
.
x
+=
frexp
(
v1
,
i1out
);
iout
.
x
+=
i1out
;
fout
.
xy
+=
ldexp
(
v2
,
i2
);
fout
.
x
+=
ldexp
(
v1
,
i1
);
iout
.
x
+=
bitfieldExtract
(
i1
,
4
,
5
);
uout
.
xyz
+=
bitfieldExtract
(
u3
,
4
,
5
);
iout
.
xyz
+=
bitfieldInsert
(
i3
,
i3
,
4
,
5
);
uout
.
x
+=
bitfieldInsert
(
u1
,
u1
,
4
,
5
);
iout
.
xy
+=
bitfieldReverse
(
i2
);
uout
+=
bitfieldReverse
(
u4
);
iout
.
x
+=
bitCount
(
i1
);
iout
.
xyz
+=
bitCount
(
u3
);
iout
.
xy
+=
findLSB
(
i2
);
iout
+=
findLSB
(
u4
);
iout
.
x
+=
findMSB
(
i1
);
iout
.
xy
+=
findMSB
(
u2
);
uout
.
x
+=
packUnorm4x8
(
v4
);
uout
.
x
+=
packSnorm4x8
(
v4
);
fout
+=
unpackUnorm4x8
(
u1
);
fout
+=
unpackSnorm4x8
(
u1
);
}
glslang/Include/revision.h
View file @
085371d9
...
...
@@ -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 "
3.0
.798"
#define GLSLANG_DATE "1
5
-Nov-2015"
#define GLSLANG_REVISION "
SPIRV99
.798"
#define GLSLANG_DATE "1
6
-Nov-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