dzn: Don't touch pMultisampleState if rasterizerDiscardEnable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20364>
This commit is contained in:
@@ -749,6 +749,7 @@ dzn_graphics_pipeline_compile_shaders(struct dzn_device *device,
|
||||
}
|
||||
|
||||
bool force_sample_rate_shading =
|
||||
!info->pRasterizationState->rasterizerDiscardEnable &&
|
||||
info->pMultisampleState &&
|
||||
info->pMultisampleState->sampleShadingEnable;
|
||||
|
||||
|
Reference in New Issue
Block a user