mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
crocus: enable NV_alpha_to_coverage_dither_control
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19463>
This commit is contained in:
parent
3c84809ca6
commit
2a60037523
2 changed files with 2 additions and 1 deletions
|
|
@ -223,6 +223,7 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_DOUBLES:
|
||||
case PIPE_CAP_MEMOBJ:
|
||||
case PIPE_CAP_IMAGE_STORE_FORMATTED:
|
||||
case PIPE_CAP_ALPHA_TO_COVERAGE_DITHER_CONTROL:
|
||||
return devinfo->ver >= 7;
|
||||
case PIPE_CAP_QUERY_BUFFER_OBJECT:
|
||||
case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR:
|
||||
|
|
|
|||
|
|
@ -6152,7 +6152,7 @@ crocus_upload_dirty_render_state(struct crocus_context *ice,
|
|||
be.AlphaTestFunction = translate_compare_func(cso_zsa->cso.alpha_func);
|
||||
be.AlphaToCoverageEnable = cso_blend->cso.alpha_to_coverage;
|
||||
be.AlphaToOneEnable = cso_blend->cso.alpha_to_one;
|
||||
be.AlphaToCoverageDitherEnable = GFX_VER >= 7 && cso_blend->cso.alpha_to_coverage;
|
||||
be.AlphaToCoverageDitherEnable = GFX_VER >= 7 && cso_blend->cso.alpha_to_coverage_dither;
|
||||
be.ColorDitherEnable = cso_blend->cso.dither;
|
||||
|
||||
#if GFX_VER >= 8
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue