<?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>177093</bug_id>
          
          <creation_ts>2017-09-18 12:00:19 -0700</creation_ts>
          <short_desc>WSL should flag stores to constant references</short_desc>
          <delta_ts>2018-10-13 19:46:00 -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>WebGPU</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>189210</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=189210</see_also>
          <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>177303</dependson>
          <blocked>176199</blocked>
    
    <blocked>189202</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Filip Pizlo">fpizlo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jonlee</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1350034</commentid>
    <comment_count>0</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2017-09-18 12:00:19 -0700</bug_when>
    <thetext>Patch forthcoming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1459221</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-09-12 18:52:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/44403033&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1462361</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2018-09-22 04:16:06 -0700</bug_when>
    <thetext>This requires that address spaces get propagated to individual values.

constant float[] a : register(b0)
a[3] = 7;

We need to realize that the type of a[3] is &quot;constant float&quot;

This analysis is required for things like

device atomic_uint[] x : register(u0);
InterlockedAdd(&amp;x[0], 1, null);

Here, we have to realize that the type of &amp;x[0] is type &quot;device uint*&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1462448</commentid>
    <comment_count>3</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2018-09-22 16:52:12 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 189210 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468996</commentid>
    <comment_count>4</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2018-10-13 19:46:00 -0700</bug_when>
    <thetext>Migrated to https://github.com/gpuweb/WHLSL/issues/190</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>