Quantcast
Channel: Questions in topic: "compute shader"
Viewing all articles
Browse latest Browse all 287

How to measure the compute shader execution time of the coresponding kenel?

$
0
0
I know the GetData() will block the main thread to fetch data from GPU. But in my realization code, the data arrays are encoded into a render texture and pass to the vertex shader for render. which way is best to measure the actual execution time of one kernel Dispatch().

Viewing all articles
Browse latest Browse all 287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>