Skip to content

Commit

Permalink
Linux: fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhdanNV committed Aug 23, 2024
1 parent 9e5fee8 commit 055de68
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Source/Validation/DeviceVal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ static Result NRI_CALL CreateTextureD3D11(Device& device, const TextureD3D11Desc
return ((DeviceVal&)device).CreateTexture(textureD3D11Desc, texture);
}

Define_WrapperD3D11_Device_PartiallyFillFunctionTable(Val);

#endif

Result DeviceVal::FillFunctionTable(WrapperD3D11Interface& table) const {
Expand Down Expand Up @@ -584,6 +586,8 @@ static Result NRI_CALL CreateAccelerationStructureD3D12(
return ((DeviceVal&)device).CreateAccelerationStructure(accelerationStructureD3D12Desc, accelerationStructure);
}

Define_WrapperD3D12_Device_PartiallyFillFunctionTable(Val);

#endif

Result DeviceVal::FillFunctionTable(WrapperD3D12Interface& table) const {
Expand Down Expand Up @@ -668,6 +672,8 @@ static void* NRI_CALL GetDeviceProcAddrVK(const Device& device) {
return ((DeviceVal&)device).GetWrapperVKInterface().GetDeviceProcAddrVK(((DeviceVal&)device).GetImpl());
}

Define_WrapperVK_Device_PartiallyFillFunctionTable(Val);

#endif

Result DeviceVal::FillFunctionTable(WrapperVKInterface& table) const {
Expand All @@ -692,6 +698,3 @@ Define_RayTracing_Device_PartiallyFillFunctionTable(Val);
Define_Streamer_Device_PartiallyFillFunctionTable(Val);
Define_SwapChain_Device_PartiallyFillFunctionTable(Val);
Define_ResourceAllocator_Device_PartiallyFillFunctionTable(Val);
Define_WrapperD3D11_Device_PartiallyFillFunctionTable(Val);
Define_WrapperD3D12_Device_PartiallyFillFunctionTable(Val);
Define_WrapperVK_Device_PartiallyFillFunctionTable(Val);

0 comments on commit 055de68

Please sign in to comment.