Skip to content

i965: Handle logic operations on non-UNORM formats on Haswell.

Kenneth Graunke requested to merge kwg/mesa:haswell-logicops into main

Sandybridge, Ivybridge, and Baytrail can only do logic operations on UNORM render targets, despite OpenGL requiring them to work on integer render targets (see the last issue of the GL_EXT_texture_integer spec), so we illegally turn them off to avoid GPU hangs.

Haswell and later support this properly. However, we'd accidentally only re-enabled them on Broadwell and later. It looks like when I did the Broadwell enabling, I updated the new Gen8 source file to not have this restriction, but neglected to update the original Gen6+ sources. Later we merged them into genxml, and just combined the conditions we had, rather than the right ones.

This patch fixes that for Haswell and reinstates a documentation quote.

Merge request reports

Loading