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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>218327</bug_id>
          
          <creation_ts>2020-10-29 02:10:59 -0700</creation_ts>
          <short_desc>WebGL2 is missing new overloaded uniform setters (taking extra source offset and length arguments)</short_desc>
          <delta_ts>2020-10-30 08:30:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebGL</component>
          <version>Safari Technology Preview</version>
          <rep_platform>All</rep_platform>
          <op_sys>macOS 10.15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>215846</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>215846</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcin">msokalski</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>jdarpinian</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1702655</commentid>
    <comment_count>0</comment_count>
    <who name="Marcin">msokalski</who>
    <bug_when>2020-10-29 02:10:59 -0700</bug_when>
    <thetext>Looks like these functions don&apos;t work at all:

  void uniform1uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
                  optional GLuint srcLength = 0);
  void uniform2uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
                  optional GLuint srcLength = 0);
  void uniform3uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
                  optional GLuint srcLength = 0);
  void uniform4uiv(WebGLUniformLocation? location, Uint32List data, optional GLuint srcOffset = 0,
                  optional GLuint srcLength = 0);
  void uniformMatrix3x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
                          optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
  void uniformMatrix4x2fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
                          optional GLuint srcOffset = 0, optional GLuint srcLength = 0);

  void uniformMatrix2x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
                          optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
  void uniformMatrix4x3fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
                          optional GLuint srcOffset = 0, optional GLuint srcLength = 0);

  void uniformMatrix2x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
                          optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
  void uniformMatrix3x4fv(WebGLUniformLocation? location, GLboolean transpose, Float32List data,
                          optional GLuint srcOffset = 0, optional GLuint srcLength = 0);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1702937</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-29 18:13:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/70836759&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1702942</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-10-29 18:32:01 -0700</bug_when>
    <thetext>Thanks for reporting. I think this has already been fixed on top-of-tree in Bug 215846. This fix needs to be merged to the Safari 14 release branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1703061</commentid>
    <comment_count>3</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-10-30 08:30:46 -0700</bug_when>
    <thetext>Without more information or a test case I&apos;m going to duplicate this into the other bug.

*** This bug has been marked as a duplicate of bug 215846 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>