码迷,mamicode.com
首页 > 其他好文 > 详细

mali tiling 的开销

时间:2020-02-11 20:52:47      阅读:92      评论:0      收藏:0      [点我收藏+]

标签:ssi   work   triangle   section   span   which   least   orm   page   

遇到个不会的

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.

不懂

mali tiling 的开销

标签:ssi   work   triangle   section   span   which   least   orm   page   

原文地址:https://www.cnblogs.com/minggoddess/p/12296623.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!