depth, normals i guess
This commit is contained in:
@@ -39,6 +39,10 @@ void CVkShader::SetDepthImage( EImageFormat eFormat )
|
||||
{
|
||||
m_eDepthFormat = CVkImage::GetImageFormat(eFormat);
|
||||
}
|
||||
void CVkShader::SetMultisampling( EMultisampleType eFormat )
|
||||
{
|
||||
m_eMultiSampling = eFormat;
|
||||
}
|
||||
void CVkShader::DisablePixelShader( bool bDisable )
|
||||
{
|
||||
|
||||
@@ -143,7 +147,8 @@ void CVkShader::Build()
|
||||
viewportState.sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO;
|
||||
|
||||
msaa.sType = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO;
|
||||
msaa.rasterizationSamples = VK_SAMPLE_COUNT_1_BIT;
|
||||
msaa.rasterizationSamples = CVkImage::GetMultisampling(m_eMultiSampling);
|
||||
|
||||
|
||||
render.sType = VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO;
|
||||
render.colorAttachmentCount = m_eFormats.GetSize();
|
||||
|
||||
Reference in New Issue
Block a user