Page MenuHome

GPU: set 'GL_PACK_ALIGNMENT' 1 as default
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Sep 30 2021, 10:22 PM.

Details

Summary

GL_PACK_ALIGNMENT may crash the gpu module if the buffer is not aligned (See T91828).

We could put safeguards in the API to avoid crashing in these cases.

But the solution of setting the GL_PACK_ALIGNMENT to 1 might be preferable as it is less restrictive.

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 17480
Build 17480: arc lint + arc unit