Skip to content

i965: Plumb YUV range to nir_lower_tex().

This MR expands !6122 (merged) in order to plumb the YUV range provided through EGL_EXT_image_dma_buf_import all the way to nir_lower_tex().

This is useful because Chromium has become aware of a case in which a full range video is not composited correctly: even though Chromium plumbs the YUV color space and range to eglCreateImageKHR(), Mesa ignores the range attribute.

Testing coverage is added in piglit!683. I ran those tests with this MR and all variants that are not skipped pass on an Intel Comet Lake device with mesa/i965.

Edited by Andres Calderon Jaramillo

Merge request reports