[Beignet] [PATCH 1/2] Fix pitch parameter in clCreateImage2D

Simon Richter Simon.Richter at hogyros.de
Thu Apr 18 23:12:58 PDT 2013


If the host_ptr is NULL, the pitch parameter must be 0.

The pitch parameter gives the number of bytes per scanline. Specifying 0
selects the minimum possible.

Signed-off-by: Simon Richter <Simon.Richter at hogyros.de>
---
 src/cl_mem.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-pitch-parameter-in-clCreateImage2D.patch
Type: text/x-patch
Size: 777 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130419/8d412f24/attachment.bin>


More information about the Beignet mailing list