[ATOM][RHI][Vulkan] Make sure to set super-variant for non-MSAA pipel… (#4134)
* [ATOM][RHI][Vulkan] Make sure to set super-variant for non-MSAA pipeline. Separate out reflection probe draw packet checks. Signed-off-by: Peng <tonypeng@amazon.com> * Missed from previous commit to make sure non-MSAA super-variant is used. Signed-off-by: Peng <tonypeng@amazon.com> * Minor comment edit. Signed-off-by: Peng <tonypeng@amazon.com>
This commit is contained in:
@@ -370,11 +370,27 @@ namespace AZ
|
||||
{
|
||||
// set draw list mask
|
||||
m_cullable.m_cullData.m_drawListMask.reset();
|
||||
m_cullable.m_cullData.m_drawListMask =
|
||||
m_stencilDrawPacket->GetDrawListMask() |
|
||||
m_blendWeightDrawPacket->GetDrawListMask() |
|
||||
m_renderOuterDrawPacket->GetDrawListMask() |
|
||||
m_renderInnerDrawPacket->GetDrawListMask();
|
||||
|
||||
// check for draw packets due certain render pipelines such as lowend render pipeline that might not have this feature enabled
|
||||
if (m_stencilDrawPacket)
|
||||
{
|
||||
m_cullable.m_cullData.m_drawListMask |= m_stencilDrawPacket->GetDrawListMask();
|
||||
}
|
||||
|
||||
if (m_blendWeightDrawPacket)
|
||||
{
|
||||
m_cullable.m_cullData.m_drawListMask |= m_blendWeightDrawPacket->GetDrawListMask();
|
||||
}
|
||||
|
||||
if (m_renderOuterDrawPacket)
|
||||
{
|
||||
m_cullable.m_cullData.m_drawListMask |= m_renderOuterDrawPacket->GetDrawListMask();
|
||||
}
|
||||
|
||||
if (m_renderInnerDrawPacket)
|
||||
{
|
||||
m_cullable.m_cullData.m_drawListMask |= m_renderInnerDrawPacket->GetDrawListMask();
|
||||
}
|
||||
|
||||
// setup the Lod entry, using one entry for all four draw packets
|
||||
m_cullable.m_lodData.m_lods.clear();
|
||||
|
||||
Reference in New Issue
Block a user