Contents

记录 MTK 驱动opengl 编译问题

Contents

崩溃在OpenGL glLinkProgram。集中在libGLESv2_mtk.so这个mtk驱动上面,PowerVR Rogue GE8320/PowerVR Rogue GE8320系列GPU。

驱动支持反馈的触发bug需要同时满足三个条件:

  1. sampler2DArray optimisation is possible (.z is directly set from a uniform)
  2. total binding-symbols (uniforms, builtins, driver-internals) become more than 32
  3. the sampler2DArray symbol and the z-uniform both happen to be among the first 32 symbols