mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 18:00:52 +01:00
intel/isl: Always set EnableUnormPathInColorPipe
The TGL PRM says, This bit should never be programmed to 0 So, set it to true. I chose not to use the MBO attribute in genxml because the field lacks the "Format: MBO" line in the PRM. We previously made this programming conditional with commit2e1be771e4because of tests failing in dEQP-GLES3.functional.texture.specification.tex*depth*. However, those failures were fixed when we started using gl_FragDepth for depth buffer copies in commit6cec618e82. Note: when bisecting this, I cherry-picked commit7a68045b5din order to get past build failures related to a deprecated python function. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31066>
This commit is contained in:
parent
fa51595c7f
commit
c92e49e8f4
1 changed files with 4 additions and 5 deletions
|
|
@ -545,12 +545,11 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
|
|||
#endif
|
||||
|
||||
#if GFX_VER >= 11 && GFX_VERx10 < 125
|
||||
/* We've seen dEQP failures when enabling this bit with UINT formats,
|
||||
* which particularly affects blorp_copy() operations. It shouldn't
|
||||
* have any effect on UINT textures anyway, so disable it for them.
|
||||
/* From the TGL PRM,
|
||||
*
|
||||
* This bit should never be programmed to 0
|
||||
*/
|
||||
s.EnableUnormPathInColorPipe =
|
||||
!isl_format_has_int_channel(info->view->format);
|
||||
s.EnableUnormPathInColorPipe = true;
|
||||
#endif
|
||||
|
||||
s.CubeFaceEnablePositiveZ = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue