We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a39dea0 commit ef2d6d2Copy full SHA for ef2d6d2
tests/wgsl/write-only-texture.slang
@@ -20,5 +20,5 @@ WTexture2D writeOnlyTexture;
20
[shader("compute")]
21
void computeMain()
22
{
23
- writeOnlyTexture[int2(0,0)] = float4(0.2, 0.3, 0.4, 1.0);
+ writeOnlyTexture.Store(int2(0,0), float4(0.2, 0.3, 0.4, 1.0));
24
}
0 commit comments