Skip to content

Commit

Permalink
Test reading mip levels with textureLoad and 2d textures. (#4157)
Browse files Browse the repository at this point in the history
This line is only missing from the 2d version.
Without it only level 0 is read.
  • Loading branch information
greggman authored Jan 23, 2025
1 parent e50eb80 commit 5f26401
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ Parameters:
const calls: TextureCall<vec2>[] = generateTextureBuiltinInputs2D(50, {
method: samplePoints,
descriptor,
mipLevel: { num: texture.mipLevelCount, type: L },
hashInputs: [stage, format, samplePoints, C, L],
}).map(({ coords, mipLevel }) => {
return {
Expand Down

0 comments on commit 5f26401

Please sign in to comment.