<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Question about fragment count statistic in graphics analyzer</title><link>https://community.arm.com/developer/tools-software/graphics/f/discussions/47988/question-about-fragment-count-statistic-in-graphics-analyzer</link><description> 
 1.We want to know whether the number of Vertices and Fragments counted here is the number after culling (HiZ, geometry culling, earlyz, fpk...)? 
 2.We found that the total cost of each shader = Cycles*Fragments or Cycles*Vertices, which parameter</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Question about fragment count statistic in graphics analyzer</title><link>https://community.arm.com/thread/169223?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 12:25:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1782179a-be7c-4d83-9228-1fc0487f4ffe</guid><dc:creator>Peter Harris</dc:creator><description>&lt;p&gt;Hi Shawn,&lt;/p&gt;
[quote userid="70041" url="~/developer/tools-software/graphics/f/discussions/47988/question-about-fragment-count-statistic-in-graphics-analyzer"]1.We want to know whether the number of Vertices and Fragments counted here is the number after culling (HiZ, geometry culling, earlyz, fpk...)?[/quote]
&lt;p&gt;Vertex count is the number of unique indices seen when the draw call was made. Fragment count is based on an estimate given screenshot capture, which includes hier-z, and early-zs, but doesn&amp;#39;t handle FPK hidden surface removal.&lt;/p&gt;
[quote userid="70041" url="~/developer/tools-software/graphics/f/discussions/47988/question-about-fragment-count-statistic-in-graphics-analyzer"]2.We found that the total cost of each shader = Cycles*Fragments or Cycles*Vertices, which parameter is the accurate GPU consumption data?[/quote]
&lt;p&gt;Both use processing cycles, so you need both costs.&lt;/p&gt;
[quote userid="70041" url="~/developer/tools-software/graphics/f/discussions/47988/question-about-fragment-count-statistic-in-graphics-analyzer"]3.Does the Cycles data come from the estimation of Mali Offline Compiler? Then multiply the number directly to get the total cycles overhead?[/quote]
&lt;p&gt;Yes, the shader costing is from the Mali Offline Compiler for a Mali-T880 GPU. The number user is the average of the shortest and longest path, so may not reflect exactly what happens based on runtime state.&lt;/p&gt;
[quote userid="70041" url="~/developer/tools-software/graphics/f/discussions/47988/question-about-fragment-count-statistic-in-graphics-analyzer"]4.In general, can we analyze and locate the cost of a specific drawcall by using Fragment Count Statistic in Graphics Analyzer?&amp;nbsp;Is it real GPU overhead data?[/quote]
&lt;p&gt;No, the tool doesn&amp;#39;t give a means to cost a specific draw call, only programs.&lt;/p&gt;
&lt;p&gt;The cost is entirely estimated in software it&amp;#39;s not a direct measure from the hardware.&lt;/p&gt;
&lt;p&gt;HTH,&amp;nbsp;&lt;br /&gt;Pete&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>