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:
Jeff Gilbert 2020-11-30 18:19:40 +00:00
Родитель 637fafc5a7
Коммит aedaf29bc6
3 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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.");

Просмотреть файл

@ -5392,7 +5392,6 @@ subsuite = webgl2-core
subsuite = webgl2-core
[generated/test_2_conformance2__rendering__instanced-arrays.html]
subsuite = webgl2-core
fail-if = 1
[generated/test_2_conformance2__rendering__instanced-rendering-bug.html]
subsuite = webgl2-core
[generated/test_2_conformance2__rendering__instanced-rendering-large-divisor.html]

Просмотреть файл

@ -170,8 +170,6 @@ skip-if = 1
[generated/test_2_conformance2__rendering__blitframebuffer-resolve-to-back-buffer.html]
# ABORT_ON_ERROR
skip-if = 1
[generated/test_2_conformance2__rendering__instanced-arrays.html]
fail-if = 1
[generated/test_2_conformance2__rendering__vertex-id.html]
fail-if = 1
[generated/test_2_conformance2__transform_feedback__too-small-buffers.html]