Skip to content

Commit 4da0fb8

Browse files
committed
Update naming to match spec
1 parent 99cd065 commit 4da0fb8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/dxc/DXIL/DxilMetadataHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class DxilMDHelper {
320320
static const unsigned kDxilNodeOutputsTag = 21;
321321
static const unsigned kDxilNodeMaxDispatchGridTag = 22;
322322
static const unsigned kDxilRangedWaveSizeTag = 23;
323-
static const unsigned kDxilMaxGroupSharedMemTag = 24;
323+
static const unsigned kDxilGroupSharedLimitTag = 24;
324324

325325
// Node Input/Output State.
326326
static const unsigned kDxilNodeOutputIDTag = 0;

lib/DXIL/DxilMetadataHelper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ MDTuple *DxilMDHelper::EmitDxilEntryProperties(uint64_t rawShaderFlag,
16261626
}
16271627

16281628
MDVals.emplace_back(
1629-
Uint32ToConstMD(DxilMDHelper::kDxilMaxGroupSharedMemTag));
1629+
Uint32ToConstMD(DxilMDHelper::kDxilGroupSharedLimitTag));
16301630
MDVals.emplace_back(Uint32ToConstMD(props.groupSharedLimitBytes));
16311631
} break;
16321632
// Geometry shader.
@@ -1777,7 +1777,7 @@ void DxilMDHelper::LoadDxilEntryProperties(const MDOperand &MDO,
17771777
props.numThreads[2] = ConstMDToUint32(pNode->getOperand(2));
17781778
} break;
17791779

1780-
case DxilMDHelper::kDxilMaxGroupSharedMemTag: {
1780+
case DxilMDHelper::kDxilGroupSharedLimitTag: {
17811781
DXASSERT(props.IsCS(), "else invalid shader kind");
17821782
props.groupSharedLimitBytes = ConstMDToUint32(MDO);
17831783
} break;

0 commit comments

Comments
 (0)