mirror of https://gitlab.freedesktop.org/mesa/mesa
When I last time fixed this, I missed that continuing here would make us
leak pointers in the translate state, which is what made this avoid a
crash in the first place.
That's not great, we need to set *some* pointer in this case. The
obvious option would be NULL, but that means that the translate-code
also needs to support NULL-pointers here.
Instead, let's point to a small, static buffer that contains enough
zero-data for the largest possible vertex attribute. This avoids having
to add more NULL-checks.
Fixes:
|
||
---|---|---|
.. | ||
bare-metal | ||
container | ||
fossils | ||
meson | ||
piglit | ||
windows | ||
cross-xfail-i386 | ||
cross-xfail-ppc64el | ||
cross-xfail-s390x | ||
deqp-default-skips.txt | ||
deqp-runner.sh | ||
docs | ||
download-git-cache.sh | ||
fossilize-runner.sh | ||
fossils.yml | ||
generate_lava.py | ||
lava-gitlab-ci.yml | ||
lava.yml.jinja2 | ||
prepare-artifacts.sh | ||
run-shader-db.sh | ||
test-source-dep.yml | ||
x86_64-w64-mingw32 |