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
e62d1baf
Commit
e62d1baf
authored
Mar 07, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixup_sm_60_wording' of
https://github.com/sheredom/glslang
into…
Merge branch 'fixup_sm_60_wording' of
https://github.com/sheredom/glslang
into sheredom-fixup_sm_60_wording
parents
ac370792
fd920b3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
hlsl.wavebroadcast.comp
Test/hlsl.wavebroadcast.comp
+24
-24
hlslParseables.cpp
hlsl/hlslParseables.cpp
+2
-2
No files found.
Test/hlsl.wavebroadcast.comp
View file @
e62d1baf
...
@@ -26,28 +26,28 @@ void CSMain(uint3 dti : SV_DispatchThreadID)
...
@@ -26,28 +26,28 @@ void CSMain(uint3 dti : SV_DispatchThreadID)
data[dti.x].f.xy = WaveReadLaneAt(data[dti.x].f.xy, 13);
data[dti.x].f.xy = WaveReadLaneAt(data[dti.x].f.xy, 13);
data[dti.x].f.xyz = WaveReadLaneAt(data[dti.x].f.xyz, 13);
data[dti.x].f.xyz = WaveReadLaneAt(data[dti.x].f.xyz, 13);
data[dti.x].d = WaveRead
FirstLane
(data[dti.x].d);
data[dti.x].d = WaveRead
LaneFirst
(data[dti.x].d);
data[dti.x].d.x = WaveRead
FirstLane
(data[dti.x].d.x);
data[dti.x].d.x = WaveRead
LaneFirst
(data[dti.x].d.x);
data[dti.x].d.xy = WaveRead
FirstLane
(data[dti.x].d.xy);
data[dti.x].d.xy = WaveRead
LaneFirst
(data[dti.x].d.xy);
data[dti.x].d.xyz = WaveRead
FirstLane
(data[dti.x].d.xyz);
data[dti.x].d.xyz = WaveRead
LaneFirst
(data[dti.x].d.xyz);
data[dti.x].u = WaveRead
FirstLane
(data[dti.x].u);
data[dti.x].u = WaveRead
LaneFirst
(data[dti.x].u);
data[dti.x].u.x = WaveRead
FirstLane
(data[dti.x].u.x);
data[dti.x].u.x = WaveRead
LaneFirst
(data[dti.x].u.x);
data[dti.x].u.xy = WaveRead
FirstLane
(data[dti.x].u.xy);
data[dti.x].u.xy = WaveRead
LaneFirst
(data[dti.x].u.xy);
data[dti.x].u.xyz = WaveRead
FirstLane
(data[dti.x].u.xyz);
data[dti.x].u.xyz = WaveRead
LaneFirst
(data[dti.x].u.xyz);
data[dti.x].i = WaveRead
FirstLane
(data[dti.x].i);
data[dti.x].i = WaveRead
LaneFirst
(data[dti.x].i);
data[dti.x].i.x = WaveRead
FirstLane
(data[dti.x].i.x);
data[dti.x].i.x = WaveRead
LaneFirst
(data[dti.x].i.x);
data[dti.x].i.xy = WaveRead
FirstLane
(data[dti.x].i.xy);
data[dti.x].i.xy = WaveRead
LaneFirst
(data[dti.x].i.xy);
data[dti.x].i.xyz = WaveRead
FirstLane
(data[dti.x].i.xyz);
data[dti.x].i.xyz = WaveRead
LaneFirst
(data[dti.x].i.xyz);
data[dti.x].f = WaveRead
FirstLane
(data[dti.x].f);
data[dti.x].f = WaveRead
LaneFirst
(data[dti.x].f);
data[dti.x].f.x = WaveRead
FirstLane
(data[dti.x].f.x);
data[dti.x].f.x = WaveRead
LaneFirst
(data[dti.x].f.x);
data[dti.x].f.xy = WaveRead
FirstLane
(data[dti.x].f.xy);
data[dti.x].f.xy = WaveRead
LaneFirst
(data[dti.x].f.xy);
data[dti.x].f.xyz = WaveRead
FirstLane
(data[dti.x].f.xyz);
data[dti.x].f.xyz = WaveRead
LaneFirst
(data[dti.x].f.xyz);
data[dti.x].d = WaveRead
FirstLane
(data[dti.x].d);
data[dti.x].d = WaveRead
LaneFirst
(data[dti.x].d);
data[dti.x].d.x = WaveRead
FirstLane
(data[dti.x].d.x);
data[dti.x].d.x = WaveRead
LaneFirst
(data[dti.x].d.x);
data[dti.x].d.xy = WaveRead
FirstLane
(data[dti.x].d.xy);
data[dti.x].d.xy = WaveRead
LaneFirst
(data[dti.x].d.xy);
data[dti.x].d.xyz = WaveRead
FirstLane
(data[dti.x].d.xyz);
data[dti.x].d.xyz = WaveRead
LaneFirst
(data[dti.x].d.xyz);
}
}
hlsl/hlslParseables.cpp
View file @
e62d1baf
...
@@ -913,7 +913,7 @@ void TBuiltInParseablesHlsl::initialize(int /*version*/, EProfile /*profile*/, c
...
@@ -913,7 +913,7 @@ void TBuiltInParseablesHlsl::initialize(int /*version*/, EProfile /*profile*/, c
{
"WaveActiveAllTrue"
,
"S"
,
"B"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveAllTrue"
,
"S"
,
"B"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveBallot"
,
"V4"
,
"U"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveBallot"
,
"V4"
,
"U"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveReadLaneAt"
,
nullptr
,
nullptr
,
"SV,S"
,
"DFUI,U"
,
EShLangPSCS
,
false
},
{
"WaveReadLaneAt"
,
nullptr
,
nullptr
,
"SV,S"
,
"DFUI,U"
,
EShLangPSCS
,
false
},
{
"WaveRead
FirstLane
"
,
nullptr
,
nullptr
,
"SV"
,
"DFUI"
,
EShLangPSCS
,
false
},
{
"WaveRead
LaneFirst
"
,
nullptr
,
nullptr
,
"SV"
,
"DFUI"
,
EShLangPSCS
,
false
},
{
"WaveActiveAllEqual"
,
"S"
,
"B"
,
"SV"
,
"DFUI"
,
EShLangPSCS
,
false
},
{
"WaveActiveAllEqual"
,
"S"
,
"B"
,
"SV"
,
"DFUI"
,
EShLangPSCS
,
false
},
{
"WaveActiveAllEqualBool"
,
"S"
,
"B"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveAllEqualBool"
,
"S"
,
"B"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveCountBits"
,
"S"
,
"U"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveCountBits"
,
"S"
,
"U"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
...
@@ -1282,7 +1282,7 @@ void TBuiltInParseablesHlsl::identifyBuiltIns(int /*version*/, EProfile /*profil
...
@@ -1282,7 +1282,7 @@ void TBuiltInParseablesHlsl::identifyBuiltIns(int /*version*/, EProfile /*profil
symbolTable
.
relateToOperator
(
"WaveActiveAnyTrue"
,
EOpSubgroupAny
);
symbolTable
.
relateToOperator
(
"WaveActiveAnyTrue"
,
EOpSubgroupAny
);
symbolTable
.
relateToOperator
(
"WaveActiveAllTrue"
,
EOpSubgroupAll
);
symbolTable
.
relateToOperator
(
"WaveActiveAllTrue"
,
EOpSubgroupAll
);
symbolTable
.
relateToOperator
(
"WaveActiveBallot"
,
EOpSubgroupBallot
);
symbolTable
.
relateToOperator
(
"WaveActiveBallot"
,
EOpSubgroupBallot
);
symbolTable
.
relateToOperator
(
"WaveRead
FirstLane
"
,
EOpSubgroupBroadcastFirst
);
symbolTable
.
relateToOperator
(
"WaveRead
LaneFirst
"
,
EOpSubgroupBroadcastFirst
);
symbolTable
.
relateToOperator
(
"WaveReadLaneAt"
,
EOpSubgroupShuffle
);
symbolTable
.
relateToOperator
(
"WaveReadLaneAt"
,
EOpSubgroupShuffle
);
symbolTable
.
relateToOperator
(
"WaveActiveAllEqual"
,
EOpSubgroupAllEqual
);
symbolTable
.
relateToOperator
(
"WaveActiveAllEqual"
,
EOpSubgroupAllEqual
);
symbolTable
.
relateToOperator
(
"WaveActiveAllEqualBool"
,
EOpSubgroupAllEqual
);
symbolTable
.
relateToOperator
(
"WaveActiveAllEqualBool"
,
EOpSubgroupAllEqual
);
...
...
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