зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
637fafc5a7
Коммит
aedaf29bc6
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче