Fix D3D12 expanded pipeline state creation

This commit is contained in:
Jeremy Lukacs
2018-09-26 22:13:21 -07:00
committed by Baldur Karlsson
parent 0bad880e72
commit de4bf9711c
+2 -2
View File
@@ -952,7 +952,7 @@ D3D12_EXPANDED_PIPELINE_STATE_STREAM_DESC::D3D12_EXPANDED_PIPELINE_STATE_STREAM_
}
case D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_HS:
{
GS = ptr->data.shader;
HS = ptr->data.shader;
ITER_ADV(D3D12_SHADER_BYTECODE);
break;
}
@@ -970,7 +970,7 @@ D3D12_EXPANDED_PIPELINE_STATE_STREAM_DESC::D3D12_EXPANDED_PIPELINE_STATE_STREAM_
}
case D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS:
{
GS = ptr->data.shader;
CS = ptr->data.shader;
ITER_ADV(D3D12_SHADER_BYTECODE);
break;
}