Bug 1679693 - Update WebGL 2 to allow drawArraysInstanced with no non-instanced active attribs. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D98112
This commit is contained in:
@@ -682,7 +682,7 @@ webgl::LinkedProgramInfo::GetDrawFetchLimits() const {
|
||||
}
|
||||
}
|
||||
|
||||
if (hasActiveAttrib && !hasActiveDivisor0) {
|
||||
if (!webgl->IsWebGL2() && hasActiveAttrib && !hasActiveDivisor0) {
|
||||
webgl->ErrorInvalidOperation(
|
||||
"One active vertex attrib (if any are active)"
|
||||
" must have a divisor of 0.");
|
||||
|
||||
Reference in New Issue
Block a user