Skip to content

Commit ef2d6d2

Browse files
committed
Fix.
1 parent a39dea0 commit ef2d6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/wgsl/write-only-texture.slang

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ WTexture2D writeOnlyTexture;
2020
[shader("compute")]
2121
void computeMain()
2222
{
23-
writeOnlyTexture[int2(0,0)] = float4(0.2, 0.3, 0.4, 1.0);
23+
writeOnlyTexture.Store(int2(0,0), float4(0.2, 0.3, 0.4, 1.0));
2424
}

0 commit comments

Comments
 (0)