Dylan Baker <[email protected]> writes: > Quoting Eric Anholt (2016-07-25 17:43:44) >> Drivers can miss the need to refcount their GEM handles, and the >> destroy of the image/texture pair for tex2 will result in tex1 no >> longer being usable. >> >> This fails to piglit_report_result(PIGLIT_FAIL) on vc4 (which is >> missing the handle code), because tex1's shadow tiled temporary >> already has the texture contents in it when the shadow linear->tiled >> blit fails, but the driver does make a noisy warning on stderr. On >> intel, if you drop the global name lookup in libdrm, the driver >> exit()s due to the -EINVAL from the draw call. >> --- >> .../ext_image_dma_buf_import/CMakeLists.gles2.txt | 1 + >> tests/spec/ext_image_dma_buf_import/refcount.c | 134 >> +++++++++++++++++++++ >> .../spec/ext_image_dma_buf_import/sample_common.c | 6 +- >> .../spec/ext_image_dma_buf_import/sample_common.h | 2 +- >> 4 files changed, 139 insertions(+), 4 deletions(-) >> create mode 100644 tests/spec/ext_image_dma_buf_import/refcount.c
> Should this be added to all.py?
Thanks, not sure where that hunk went. Amended in:
@@ -3040,6 +3040,7 @@ with profile.group_manager(
run_concurrent=False)
g(['ext_image_dma_buf_import-intel_external_sampler_with_dma_only'],
run_concurrent=False)
+ g(['ext_image_dma_buf_import-refcount'])
g(['ext_image_dma_buf_import-sample_rgb', '-fmt=AR24'],
'ext_image_dma_buf_import-sample_argb8888', run_concurrent=False)
g(['ext_image_dma_buf_import-sample_rgb', '-fmt=XR24', '-alpha-one'],
signature.asc
Description: PGP signature
_______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
