Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glslang
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
deqp-deps
glslang
Commits
34718204
Commit
34718204
authored
7 years ago
by
John Kessenich
Browse files
Options
Downloads
Patches
Plain Diff
HLSL: Non-functional: add vector ? : tests.
parent
13075c61
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Test/baseResults/hlsl.conditional.frag.out
+409
-358
409 additions, 358 deletions
Test/baseResults/hlsl.conditional.frag.out
Test/hlsl.conditional.frag
+13
-1
13 additions, 1 deletion
Test/hlsl.conditional.frag
glslang/Include/revision.h
+1
-1
1 addition, 1 deletion
glslang/Include/revision.h
with
423 additions
and
360 deletions
Test/baseResults/hlsl.conditional.frag.out
+
409
−
358
View file @
34718204
This diff is collapsed.
Click to expand it.
Test/hlsl.conditional.frag
+
13
−
1
View file @
34718204
float4
c4
;
float4
t4
;
float4
f4
;
float
t
;
float
f
;
float4
vectorCond
()
{
return
f4
;
// return (c4 ? t4 : f4) +
// (c4 ? t : f );
}
float4
PixelShaderFunction
(
float4
input
)
:
COLOR0
{
int
a
=
1
<
2
?
3
<
4
?
5
:
6
:
7
;
...
...
@@ -12,5 +24,5 @@ float4 PixelShaderFunction(float4 input) : COLOR0
e
=
a
=
b
?
c
=
d
:
10
,
b
=
a
?
d
=
c
:
11
;
float4
f
;
f
=
ret
.
x
<
input
.
y
?
c
*
input
:
d
*
input
;
return
e
*
ret
+
f
;
return
e
*
ret
+
f
+
vectorCond
()
;
}
This diff is collapsed.
Click to expand it.
glslang/Include/revision.h
+
1
−
1
View file @
34718204
...
...
@@ -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 "Overload400-PrecQual.199
0
"
#define GLSLANG_REVISION "Overload400-PrecQual.199
2
"
#define GLSLANG_DATE "11-Apr-2017"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment