-
Notifications
You must be signed in to change notification settings - Fork 459
Open
Description
There are some invalid glTexParameteri calls here that generate some errors (highlighted):
The specification says:
An INVALID_ENUM error is generated by TexParameter* if target is ei-
ther TEXTURE_2D_MULTISAMPLE or TEXTURE_2D_MULTISAMPLE_ARRAY,
and pname is any sampler state from table 23.18.
If we look at table 23.18, we can indeed see that all four of those parameters are sampler states, making all of these calls illegal.
These calls should be removed.
P.S. multisample textures cannot be sampled in GLSL, but only read via texelFetch and imageLoad, so it makes sense that they wouldn't support sampler state.
Metadata
Metadata
Assignees
Labels
No labels