mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 22:46:41 +00:00
32-bit compile fixes
This commit is contained in:
@@ -5164,7 +5164,7 @@ ulong2 *arr[3];
|
||||
|
||||
CHECK(parsed.errors.isEmpty());
|
||||
REQUIRE(parsed.fixed.type.members.size() == 6);
|
||||
for(int i = 0; i < parsed.fixed.type.members.size(); i++)
|
||||
for(size_t i = 0; i < parsed.fixed.type.members.size(); i++)
|
||||
{
|
||||
CHECK(parsed.fixed.type.members[i].type.baseType == VarType::GPUPointer);
|
||||
CHECK(parsed.fixed.type.members[i].type.arrayByteStride == 8);
|
||||
|
||||
@@ -1564,7 +1564,8 @@ D3D12GpuBuffer *D3D12RTManager::UnrollBLASInstancesList(
|
||||
D3D12_GPU_VIRTUAL_ADDRESS addressPairResAddress, uint64_t addressCount,
|
||||
D3D12GpuBuffer *copyDestUAV)
|
||||
{
|
||||
const uint64_t indirectArgSize = AlignUp(sizeof(TLASCopyExecute) * inputs.NumDescs, 256ULL);
|
||||
const uint64_t indirectArgSize =
|
||||
AlignUp(sizeof(TLASCopyExecute) * (uint64_t)inputs.NumDescs, 256ULL);
|
||||
|
||||
if(m_TLASCopyingData.ArgsBuffer == NULL || m_TLASCopyingData.ArgsBuffer->Size() < indirectArgSize)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user