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
fda6edcb
Commit
fda6edcb
authored
Jul 31, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLSL Tests: Fix two tests to be valid under FXC.
parent
318a379b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
hlsl.struct.split.nested.geom.out
Test/baseResults/hlsl.struct.split.nested.geom.out
+0
-0
hlsl.structin.vert.out
Test/baseResults/hlsl.structin.vert.out
+0
-0
hlsl.struct.split.nested.geom
Test/hlsl.struct.split.nested.geom
+5
-2
hlsl.structin.vert
Test/hlsl.structin.vert
+8
-5
No files found.
Test/baseResults/hlsl.struct.split.nested.geom.out
View file @
fda6edcb
This diff is collapsed.
Click to expand it.
Test/baseResults/hlsl.structin.vert.out
View file @
fda6edcb
This diff is collapsed.
Click to expand it.
Test/hlsl.struct.split.nested.geom
View file @
fda6edcb
struct
STRUCT_WITH_NO_BUILTIN_INTERSTAGE_IO
{
float
m0_array
[
2
];
int
m1
;
float
m0_array
[
2
]
:
mysemA
;
int
m1
:
mysemB
;
};
struct
PS_IN
...
...
@@ -26,6 +26,9 @@ void main(triangle PS_IN tin[3], inout TriangleStream <GS_OUT> ts )
o
.
psIn
.
pos
=
float4
(
1
,
2
,
3
,
4
);
o
.
psIn
.
tc
=
float2
(
5
,
6
);
o
.
contains_no_builtin_io
.
m0_array
[
0
]
=
2
.
3
;
o
.
contains_no_builtin_io
.
m0_array
[
1
]
=
2
.
3
;
o
.
contains_no_builtin_io
.
m1
=
2
;
ts
.
Append
(
o
);
}
Test/hlsl.structin.vert
View file @
fda6edcb
struct
VI
{
float4
m
[
2
];
uint2
coord
;
linear
float4
b
;
float4
m
[
2
]
:
mysemA
;
float4
coord
:
SV_POSITION
;
linear
float4
b
:
mysemB
;
};
VI
main
(
float4
d
,
VI
vi
,
float4
e
)
:
SV_POSITION
VI
main
(
float4
d
:
mysem
,
VI
vi
,
float4
e
:
mysem
)
{
VI
local
;
local
.
b
=
vi
.
m
[
1
]
+
vi
.
m
[
0
]
+
float4
(
vi
.
coord
.
x
)
+
d
+
e
;
local
.
b
=
vi
.
m
[
1
]
+
vi
.
m
[
0
]
+
(
float4
)
vi
.
coord
.
x
+
d
+
e
;
local
.
coord
=
(
float4
)
1
;
local
.
m
[
0
]
=
(
float4
)
2
;
local
.
m
[
1
]
=
(
float4
)
3
;
return
local
;
}
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