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
ecbd056b
Commit
ecbd056b
authored
May 10, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: Fix #1372: Don't legalize runtests HLSL tests.
We want these tests to be independent of whether SPIRV-opt is used.
parent
fd9d9ef4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
compoundsuffix.frag.hlsl
Test/baseResults/compoundsuffix.frag.hlsl
+20
-2
runtests
Test/runtests
+3
-3
No files found.
Test/baseResults/compoundsuffix.frag.hlsl
View file @
ecbd056b
compoundsuffix.frag.hlsl
// Module Version 10000
// Generated by (magic number): 80006
// Id's are bound by 2
1
// Id's are bound by 2
2
Capability Shader
1: ExtInstImport "GLSL.std.450"
...
...
@@ -10,18 +10,36 @@ compoundsuffix.frag.hlsl
ExecutionMode 4 OriginUpperLeft
Source HLSL 500
Name 4 "main"
Name 11 "@main(vf4;"
Name 10 "fragColor"
Name 15 "fragColor"
Name 16 "param"
Name 20 "fragColor"
Decorate 20(fragColor) Location 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
9: TypeFunction 2 8(ptr)
13: 6(float) Constant 1065353216
14: 7(fvec4) ConstantComposite 13 13 13 13
19: TypePointer Output 7(fvec4)
20(fragColor): 19(ptr) Variable Output
4(main): 2 Function None 3
5: Label
Store 20(fragColor) 14
15(fragColor): 8(ptr) Variable Function
16(param): 8(ptr) Variable Function
17: 2 FunctionCall 11(@main(vf4;) 16(param)
18: 7(fvec4) Load 16(param)
Store 15(fragColor) 18
21: 7(fvec4) Load 15(fragColor)
Store 20(fragColor) 21
Return
FunctionEnd
11(@main(vf4;): 2 Function None 9
10(fragColor): 8(ptr) FunctionParameter
12: Label
Store 10(fragColor) 14
Return
FunctionEnd
Test/runtests
View file @
ecbd056b
...
...
@@ -77,11 +77,11 @@ fi
# Testing -S and compound suffixes
#
echo
Running explicit stage
test
and compound suffix tests
$EXE
-i
-S
vert nosuffix
>
$TARGETDIR
/nosuffix.out
$EXE
-
Od
-
i
-S
vert nosuffix
>
$TARGETDIR
/nosuffix.out
diff
-b
$BASEDIR
/nosuffix.out
$TARGETDIR
/nosuffix.out
||
HASERROR
=
1
$EXE
-i
compoundsuffix.vert.glsl
>
$TARGETDIR
/compoundsuffix.vert.glsl
$EXE
-
Od
-
i
compoundsuffix.vert.glsl
>
$TARGETDIR
/compoundsuffix.vert.glsl
diff
-b
$BASEDIR
/compoundsuffix.vert.glsl
$TARGETDIR
/compoundsuffix.vert.glsl
||
HASERROR
=
1
$EXE
-e
main
-H
compoundsuffix.frag.hlsl
>
$TARGETDIR
/compoundsuffix.frag.hlsl
$EXE
-
Od
-
e
main
-H
compoundsuffix.frag.hlsl
>
$TARGETDIR
/compoundsuffix.frag.hlsl
diff
-b
$BASEDIR
/compoundsuffix.frag.hlsl
$TARGETDIR
/compoundsuffix.frag.hlsl
||
HASERROR
=
1
#
...
...
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