-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Make buffers coherent by default #4444
Copy link
Copy link
Closed as duplicate of#9221
Labels
area: naga back-endOutputs of naga shader conversionOutputs of naga shader conversionlang: GLSLOpenGL Shading LanguageOpenGL Shading Languagelang: HLSLD3D Shading LanguageD3D Shading Languagelang: MetalMetal Shading LanguageMetal Shading Languagelang: SPIR-VVulkan's Shading LanguageVulkan's Shading LanguagenagaShader TranslatorShader Translatortag: data corruptionData is incorrect and no error is detectedData is incorrect and no error is detectedtype: enhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
area: naga back-endOutputs of naga shader conversionOutputs of naga shader conversionlang: GLSLOpenGL Shading LanguageOpenGL Shading Languagelang: HLSLD3D Shading LanguageD3D Shading Languagelang: MetalMetal Shading LanguageMetal Shading Languagelang: SPIR-VVulkan's Shading LanguageVulkan's Shading LanguagenagaShader TranslatorShader Translatortag: data corruptionData is incorrect and no error is detectedData is incorrect and no error is detectedtype: enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done
Status
Done
See gpuweb/gpuweb#1621 and gfx-rs/naga#1488
TL;DR: default behavior in WebGPU is making buffers coherent, so this task at the minimum should add the logic to all backends to enforce coherence. At the maximum, we can control it in IR.