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
56364b08
Commit
56364b08
authored
Mar 07, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sheredom-fixup_sm_60_wording'
parents
ac370792
e62d1baf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
hlsl.wavebroadcast.comp
Test/hlsl.wavebroadcast.comp
+24
-24
revision.h
glslang/Include/revision.h
+1
-1
hlslParseables.cpp
hlsl/hlslParseables.cpp
+2
-2
No files found.
Test/hlsl.wavebroadcast.comp
View file @
56364b08
...
...
@@ -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.xyz = WaveReadLaneAt(data[dti.x].f.xyz, 13);
data[dti.x].d = WaveRead
FirstLane
(data[dti.x].d);
data[dti.x].d.x = WaveRead
FirstLane
(data[dti.x].d.x);
data[dti.x].d.xy = WaveRead
FirstLane
(data[dti.x].d.xy);
data[dti.x].d.xyz = WaveRead
FirstLane
(data[dti.x].d.xyz);
data[dti.x].u = WaveRead
FirstLane
(data[dti.x].u);
data[dti.x].u.x = WaveRead
FirstLane
(data[dti.x].u.x);
data[dti.x].u.xy = WaveRead
FirstLane
(data[dti.x].u.xy);
data[dti.x].u.xyz = WaveRead
FirstLane
(data[dti.x].u.xyz);
data[dti.x].i = WaveRead
FirstLane
(data[dti.x].i);
data[dti.x].i.x = WaveRead
FirstLane
(data[dti.x].i.x);
data[dti.x].i.xy = WaveRead
FirstLane
(data[dti.x].i.xy);
data[dti.x].i.xyz = WaveRead
FirstLane
(data[dti.x].i.xyz);
data[dti.x].f = WaveRead
FirstLane
(data[dti.x].f);
data[dti.x].f.x = WaveRead
FirstLane
(data[dti.x].f.x);
data[dti.x].f.xy = WaveRead
FirstLane
(data[dti.x].f.xy);
data[dti.x].f.xyz = WaveRead
FirstLane
(data[dti.x].f.xyz);
data[dti.x].d = WaveRead
FirstLane
(data[dti.x].d);
data[dti.x].d.x = WaveRead
FirstLane
(data[dti.x].d.x);
data[dti.x].d.xy = WaveRead
FirstLane
(data[dti.x].d.xy);
data[dti.x].d.xyz = WaveRead
FirstLane
(data[dti.x].d.xyz);
data[dti.x].d = WaveRead
LaneFirst
(data[dti.x].d);
data[dti.x].d.x = WaveRead
LaneFirst
(data[dti.x].d.x);
data[dti.x].d.xy = WaveRead
LaneFirst
(data[dti.x].d.xy);
data[dti.x].d.xyz = WaveRead
LaneFirst
(data[dti.x].d.xyz);
data[dti.x].u = WaveRead
LaneFirst
(data[dti.x].u);
data[dti.x].u.x = WaveRead
LaneFirst
(data[dti.x].u.x);
data[dti.x].u.xy = WaveRead
LaneFirst
(data[dti.x].u.xy);
data[dti.x].u.xyz = WaveRead
LaneFirst
(data[dti.x].u.xyz);
data[dti.x].i = WaveRead
LaneFirst
(data[dti.x].i);
data[dti.x].i.x = WaveRead
LaneFirst
(data[dti.x].i.x);
data[dti.x].i.xy = WaveRead
LaneFirst
(data[dti.x].i.xy);
data[dti.x].i.xyz = WaveRead
LaneFirst
(data[dti.x].i.xyz);
data[dti.x].f = WaveRead
LaneFirst
(data[dti.x].f);
data[dti.x].f.x = WaveRead
LaneFirst
(data[dti.x].f.x);
data[dti.x].f.xy = WaveRead
LaneFirst
(data[dti.x].f.xy);
data[dti.x].f.xyz = WaveRead
LaneFirst
(data[dti.x].f.xyz);
data[dti.x].d = WaveRead
LaneFirst
(data[dti.x].d);
data[dti.x].d.x = WaveRead
LaneFirst
(data[dti.x].d.x);
data[dti.x].d.xy = WaveRead
LaneFirst
(data[dti.x].d.xy);
data[dti.x].d.xyz = WaveRead
LaneFirst
(data[dti.x].d.xyz);
}
glslang/Include/revision.h
View file @
56364b08
// This header is generated by the make-revision script.
#define GLSLANG_PATCH_LEVEL 259
6
#define GLSLANG_PATCH_LEVEL 259
9
hlsl/hlslParseables.cpp
View file @
56364b08
...
...
@@ -913,7 +913,7 @@ void TBuiltInParseablesHlsl::initialize(int /*version*/, EProfile /*profile*/, c
{
"WaveActiveAllTrue"
,
"S"
,
"B"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveBallot"
,
"V4"
,
"U"
,
"S"
,
"B"
,
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
},
{
"WaveActiveAllEqualBool"
,
"S"
,
"B"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
{
"WaveActiveCountBits"
,
"S"
,
"U"
,
"S"
,
"B"
,
EShLangPSCS
,
false
},
...
...
@@ -1282,7 +1282,7 @@ void TBuiltInParseablesHlsl::identifyBuiltIns(int /*version*/, EProfile /*profil
symbolTable
.
relateToOperator
(
"WaveActiveAnyTrue"
,
EOpSubgroupAny
);
symbolTable
.
relateToOperator
(
"WaveActiveAllTrue"
,
EOpSubgroupAll
);
symbolTable
.
relateToOperator
(
"WaveActiveBallot"
,
EOpSubgroupBallot
);
symbolTable
.
relateToOperator
(
"WaveRead
FirstLane
"
,
EOpSubgroupBroadcastFirst
);
symbolTable
.
relateToOperator
(
"WaveRead
LaneFirst
"
,
EOpSubgroupBroadcastFirst
);
symbolTable
.
relateToOperator
(
"WaveReadLaneAt"
,
EOpSubgroupShuffle
);
symbolTable
.
relateToOperator
(
"WaveActiveAllEqual"
,
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