mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 01:05:44 +00:00
Update D3D12 pipeline state to roughly match D3D12 state
This commit is contained in:
@@ -326,8 +326,8 @@ APIProperties D3D12Replay::GetAPIProperties()
|
||||
{
|
||||
APIProperties ret;
|
||||
|
||||
ret.pipelineType = eGraphicsAPI_D3D11;
|
||||
ret.localRenderer = eGraphicsAPI_D3D11;
|
||||
ret.pipelineType = eGraphicsAPI_D3D12;
|
||||
ret.localRenderer = eGraphicsAPI_D3D12;
|
||||
ret.degraded = false;
|
||||
|
||||
return ret;
|
||||
|
||||
@@ -3527,13 +3527,13 @@ void VulkanReplay::SavePipelineState()
|
||||
dst.bindings[b].type = eBindType_ReadWriteTBuffer;
|
||||
break;
|
||||
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
|
||||
dst.bindings[b].type = eBindType_ReadOnlyBuffer;
|
||||
dst.bindings[b].type = eBindType_ConstantBuffer;
|
||||
break;
|
||||
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER:
|
||||
dst.bindings[b].type = eBindType_ReadWriteBuffer;
|
||||
break;
|
||||
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
|
||||
dst.bindings[b].type = eBindType_ReadOnlyBuffer;
|
||||
dst.bindings[b].type = eBindType_ConstantBuffer;
|
||||
dynamicOffset = true;
|
||||
break;
|
||||
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
|
||||
|
||||
Reference in New Issue
Block a user