Skip to content

Commit 88d1d00

Browse files
committed
Add temporary fill for testing
1 parent 9460e24 commit 88d1d00

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/nbl/builtin/hlsl/property_pool/copy.comp.hlsl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ void main(uint32_t3 dispatchId)
129129
const uint dispatchSize = nbl::hlsl::device_capabilities_traits<device_capabilities>::maxOptimallyResidentWorkgroupInvocations;
130130
const bool fill = transferRequest.fill == 1;
131131

132-
if (fill) { TransferLoopPermutationFill<true> loop; loop.copyLoop(invocationIndex, propertyId, transferRequest, dispatchSize); }
133-
else { TransferLoopPermutationFill<false> loop; loop.copyLoop(invocationIndex, propertyId, transferRequest, dispatchSize); }
132+
vk::RawBufferStore<uint32_t>(transferRequest.dstAddr, 69);
133+
// if (fill) { TransferLoopPermutationFill<true> loop; loop.copyLoop(invocationIndex, propertyId, transferRequest, dispatchSize); }
134+
// else { TransferLoopPermutationFill<false> loop; loop.copyLoop(invocationIndex, propertyId, transferRequest, dispatchSize); }
134135
}
135136

136137
}

0 commit comments

Comments
 (0)