<?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>276490</bug_id>
          
          <creation_ts>2024-07-11 10:08:33 -0700</creation_ts>
          <short_desc>[WebGPU] read_write storage textures should use appropriate fence functions, when needed</short_desc>
          <delta_ts>2024-07-22 16:38:54 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>276917</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Wyrzykowski">mwyrzykowski</reporter>
          <assigned_to name="Tadeu Zagallo">tzagallo</assigned_to>
          <cc>aestes</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mwyrzykowski</cc>
    
    <cc>tzagallo</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2045777</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Wyrzykowski">mwyrzykowski</who>
    <bug_when>2024-07-11 10:08:33 -0700</bug_when>
    <thetext>[WebGPU] read_write storage textures should use appropriate fence functions, when needed

We could start with always omitting fence after every write. I think it is only needed when a read occurs. Alternatively, limit the insertion of fence to access::read_write textures.

Required to fix https://gpuweb.github.io/cts/standalone/?q=webgpu:shader,execution,memory_model,texture_intra_invocation_coherence:*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045778</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-11 10:08:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/131545944&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045826</commentid>
    <comment_count>2</comment_count>
    <who name="Tadeu Zagallo">tzagallo</who>
    <bug_when>2024-07-11 13:37:38 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/30715</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047624</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-22 16:12:28 -0700</bug_when>
    <thetext>Committed 281217@main (1f4a0763d4ce): &lt;https://commits.webkit.org/281217@main&gt;

Reviewed commits have been landed. Closing PR #30715 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047628</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2024-07-22 16:25:12 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 276917</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047640</commentid>
    <comment_count>5</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2024-07-22 16:38:54 -0700</bug_when>
    <thetext>Reverted this by mistake. The revert has been undone in https://commits.webkit.org/281221@main.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>