Skip to content

Commit

Permalink
Fix texture-builtin speedup (#3983)
Browse files Browse the repository at this point in the history
I missed a case. This should fix it for now.
  • Loading branch information
greggman authored Oct 7, 2024
1 parent c2db0ad commit 825a256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ function createRandomTexelView(info: {
isEncodableTextureFormat(info.format) &&
((info.format.includes('norm') && type !== 'depth') ||
info.format.includes('16float') ||
info.format.includes('32float') ||
(info.format.includes('32float') && type !== 'depth') ||
type === 'sint' ||
type === 'uint');

Expand Down

0 comments on commit 825a256

Please sign in to comment.