I found these little fixes and cleanups while hacking the i965 DRI layer
to support R8G8B8X8 EGLConfigs on Skylake (those patches aren't ready
yet, though).
Patches 1, 2, 4, 5 should change behavior. They're pure cleanups.
Patches 3, 6 are actual fixes.
I tested this series on Broadwell with:
> deqp-egl --deqp-case='dEQP-EGL.functional.image.modify.*'
Test run totals:
Passed: 24/37 (64.9%)
Failed: 0/37 (0.0%)
Not supported: 13/37 (35.1%)
Warnings: 0/37 (0.0%)
> deqp-gles3 --deqp-case='dEQP-GLES3.functional.texture.format.*'
Test run totals:
Passed: 530/530 (100.0%)
Failed: 0/530 (0.0%)
Not supported: 0/530 (0.0%)
Warnings: 0/530 (0.0%)
This patch series lives on the tag
http://git.kiwitree.net/cgit/~chadv/mesa/tag/?h=chadv/review/2017-05-31/i965-cleanups-v01
Chad Versace (6):
i965: Fix return type of brw_isl_format_for_mesa_format()
i965: Fix return type of translate_tex_format()
i965: Remove bad assert on isl_format
i965: Replace 0 with ISL_FORMAT_UNSUPPORTED in format table
i965: Cleanup in intel_create_winsys_renderbuffer()
i965/dri: Fix bad GL error in intel_create_winsys_renderbuffer()
src/mesa/drivers/dri/i965/brw_context.c | 5 +-
src/mesa/drivers/dri/i965/brw_state.h | 9 +-
src/mesa/drivers/dri/i965/brw_surface_formats.c | 184 +++++++++++------------
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 12 +-
src/mesa/drivers/dri/i965/intel_fbo.c | 13 +-
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 +-
6 files changed, 110 insertions(+), 117 deletions(-)
--
2.9.3
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev