intel/compiler: Convert wm_prog_key::multisample_fbo to a tri-state
This allows us to communicate to the back-end that we don't actually know if the framebuffer is multisampled or not. No drivers set anything but ALWAYS/NEVER and we still have a few ALWAYS/NEVER assumptions but those should be asserted. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21094>
This commit is contained in:
committed by
Marge Bot
parent
5644011f06
commit
949b42c4dc
@@ -560,7 +560,7 @@ populate_wm_prog_key(const struct anv_graphics_pipeline *pipeline,
|
||||
(ms->sample_shading_enable &&
|
||||
(ms->min_sample_shading * ms->rasterization_samples) > 1) ?
|
||||
BRW_ALWAYS : BRW_NEVER;
|
||||
key->multisample_fbo = true;
|
||||
key->multisample_fbo = BRW_ALWAYS;
|
||||
}
|
||||
|
||||
if (device->physical->instance->sample_mask_out_opengl_behaviour)
|
||||
|
||||
Reference in New Issue
Block a user