-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Description
The issue of validating out "2d" of more than 1 layer is not mentioned in this proposal. It seems like it came up in the meeting.
In other words,
createTexture({ size: [1,1,2], // so 2 or more layers textureBindingViewDimension: '2d', // the default would be '2d-array' but user choose '2d' ... });
Should fail with a validation error
I think similarly
createTexture({ size: [1,1,2], // not 6 layers textureBindingViewDimension: 'cube', ... });
should fail with a validation error. This would already fail at view creation time but seems like it should fail here because GL can't create a 2 layer cube map which is what's being asking for here
Originally posted by @greggman in #4365 (comment)
teoxoy
Metadata
Metadata
Assignees
Labels
compatWebGPU Compatibility ModeWebGPU Compatibility Mode