<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1000</bug_id>
          
          <creation_ts>2014-03-14 13:06:53 +0100</creation_ts>
          <short_desc>wrong argument order</short_desc>
          <delta_ts>2014-04-07 22:19:33 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jocl</product>
          <component>opencl</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>liuhui2005</reporter>
          <assigned_to name="Wade Walker">wwalker3</assigned_to>
          <cc>sgothel</cc>
    
    <cc>wwalker3</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>65144f3de56b4fc47262399d0b3bcb0fa5f3feee</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3856</commentid>
    <comment_count>0</comment_count>
    <who name="">liuhui2005</who>
    <bug_when>2014-03-14 13:06:53 +0100</bug_when>
    <thetext>JOCL class CLCommandQueue Line 413

putCopyBufferRect(  src, dest, srcOriginX, srcOriginY, 0,
                            destOriginX, destOriginY, 0,
                            rangeX, rangeY, 1,
                            srcRowPitch, srcSlicePitch, destSlicePitch, destRowPitch, condition, events);


destSlicePitch and  destRowPitch should be switched to match its method declaration: 

 public CLCommandQueue putCopyBufferRect(CLBuffer&lt;?&gt; src, CLBuffer&lt;?&gt; dest,
            int srcOriginX, int srcOriginY, int srcOriginZ, int destOriginX, int destOriginY, int destOriginZ, int rangeX, int rangeY, int rangeZ,
            long srcRowPitch, long srcSlicePitch, long destRowPitch, long destSlicePitch,
            CLEventList condition, CLEventList events) {</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3868</commentid>
    <comment_count>1</comment_count>
    <who name="Wade Walker">wwalker3</who>
    <bug_when>2014-04-04 22:42:24 +0200</bug_when>
    <thetext>I&apos;ll look at this once I check in some pending commits for other bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3871</commentid>
    <comment_count>2</comment_count>
    <who name="Wade Walker">wwalker3</who>
    <bug_when>2014-04-07 22:19:33 +0200</bug_when>
    <thetext>Committed this to master just now. It might take a little while to appear in the nightly builds, since the build server is down temporarily.

Good catch! Thanks for reporting this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>