Revert mistaken change to compile Array <-> MSAA copy shaders as SM4

* This was an experiment that accidentally got included, these shaders are only
  compatible with SM5 due to dynamic sample indexing and use of SV_SampleIndex
This commit is contained in:
baldurk
2018-12-17 18:14:09 +00:00
parent ef3aef17ff
commit ec194327be
+6 -6
View File
@@ -140,27 +140,27 @@ void D3D11DebugManager::InitCommonResources()
if(m_pDevice->GetFeatureLevel() >= D3D_FEATURE_LEVEL_11_0)
{
CopyMSToArrayPS =
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_CopyMSToArray", "ps_4_0");
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_CopyMSToArray", "ps_5_0");
if(CopyMSToArrayPS)
m_pDevice->InternalRef();
CopyArrayToMSPS =
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_CopyArrayToMS", "ps_4_0");
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_CopyArrayToMS", "ps_5_0");
if(CopyArrayToMSPS)
m_pDevice->InternalRef();
FloatCopyMSToArrayPS =
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_FloatCopyMSToArray", "ps_4_0");
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_FloatCopyMSToArray", "ps_5_0");
if(FloatCopyMSToArrayPS)
m_pDevice->InternalRef();
FloatCopyArrayToMSPS =
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_FloatCopyArrayToMS", "ps_4_0");
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_FloatCopyArrayToMS", "ps_5_0");
if(FloatCopyArrayToMSPS)
m_pDevice->InternalRef();
DepthCopyMSToArrayPS =
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_DepthCopyMSToArray", "ps_4_0");
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_DepthCopyMSToArray", "ps_5_0");
if(DepthCopyMSToArrayPS)
m_pDevice->InternalRef();
DepthCopyArrayToMSPS =
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_DepthCopyArrayToMS", "ps_4_0");
shaderCache->MakePShader(multisamplehlsl.c_str(), "RENDERDOC_DepthCopyArrayToMS", "ps_5_0");
if(DepthCopyArrayToMSPS)
m_pDevice->InternalRef();
}