Bug 104477

Summary: get_image_dim returns 0 when targetting a shared gl texture (cl_khr_gl_sharing)
Product: Beignet Reporter: Russell Newman <info>
Component: BeignetAssignee: Zhigang Gong <zhigang.gong>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:

Description Russell Newman 2018-01-03 11:57:03 UTC
When using a shared gl texture in a kernel with the cl_khr_gl_sharing extension, functions to obtain the resolution of the texture return 0.


functions in kernel all return 0. This was with the gl texture marked as write_only.

The input texture (read_only) to the kernel was not a gl texture and the image dimension functions returned the correct value.

Version of Beignet: 1.3.2-1
Target hardware: UP Squared board - Intel N4200 (Apollo lake)
Linux info: Ubilinux 4 (4.9 kernel)
Comment 1 GitLab Migration User 2018-10-12 21:24:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/25.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.