mali tiling 的开销

遇到个不会的

Effective triangulation

Tiling and rasterization both work on fragment patches larger than a single pixel; e.g. for Mali GPUs the tiling will use bins at least as large as 16x16 pixels, and fragment rasterization will emit 2x2 pixel quads for fragment shading. Best performance is achieved when mesh triangulation uses as few triangles as possible to cover the necessary pixels, in particular trying to maximize the ratio of triangle area to edge length.

Do

Use triangles which are close to equllateral as possible; this maximizes the ratia of area to edge length, reducing the number of partial fragment quads which are spawned

Impact

Increased fragment shading overhead due to the triangle fetch and partial sample coverage of the 2x2 pixel fragment quads.

不懂

猜你喜欢

转载自www.cnblogs.com/minggoddess/p/12296623.html
今日推荐