Skip to content

Commit

Permalink
Rename numFeatures -> featureCount
Browse files Browse the repository at this point in the history
  • Loading branch information
skallweitNV committed Sep 30, 2024
1 parent 3a5e4f1 commit daff194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/slang-rhi.h
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ inline AdapterList rhiGetAdapters(DeviceType type)
struct D3D12ExperimentalFeaturesDesc
{
StructType structType = StructType::D3D12ExperimentalFeaturesDesc;
uint32_t numFeatures;
uint32_t featureCount;
const void* featureIIDs;
void* configurationStructs;
uint32_t* configurationStructSizes;
Expand Down
2 changes: 1 addition & 1 deletion src/d3d12/d3d12-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ void DeviceImpl::processExperimentalFeaturesDesc(SharedLibraryHandle d3dModule,
return;
}
if (!SLANG_SUCCEEDED(enableExperimentalFeaturesFunc(
desc.numFeatures,
desc.featureCount,
(IID*)desc.featureIIDs,
desc.configurationStructs,
desc.configurationStructSizes
Expand Down

0 comments on commit daff194

Please sign in to comment.