Gfx.ReadbackImage - Framrate drop to 15fsp

Your feedback is very important to us. We are listening.

Gfx.ReadbackImage - Framrate drop to 15fsp

Postby francois85 » Sat Oct 27, 2018 5:44 pm

Im having some extreme slowness coming from Gfx.ReadbackImage. I was wondering if someone could run me through the what and why of this little vampire. From what i read on the web it passed info back to the CPU from the GPU. What kind of info and how do I reduce this call or the amount of data? It there something I’m doing to wrong that is causing this to be so slow?

Thanks in advance
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

Re: Gfx.ReadbackImage - Framrate drop to 15fsp

Postby Amplify_Borba » Mon Oct 29, 2018 11:13 am

Hey there, could you please elaborate on the context of this situation?

Also, sharing Unity version and hardware specs would also be extremely useful in helping to understand the issue.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Gfx.ReadbackImage - Framrate drop to 15fsp

Postby francois85 » Mon Oct 29, 2018 2:04 pm

Sure, I have a shader that uses texture arrays to blend between the different texture indices. When I run the profile I seem to get some slowness on Gfx.ReadbackImage. See attachment. Im trying to investigate if there is something in my end that is causing this slowness.

-EDIT : its real time GI causing the slowness
Attachments
RenderPro.png
RenderPro.png (191.29 KiB) Viewed 3416 times
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

Re: Gfx.ReadbackImage - Framrate drop to 15fsp

Postby Amplify_Borba » Mon Oct 29, 2018 2:56 pm

Thank you for the additional information, could you confirm if the issue is also present while using other similar shaders that take advantage of arrays?
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Gfx.ReadbackImage - Framrate drop to 15fsp

Postby francois85 » Tue Oct 30, 2018 5:44 am

Im sorry I dont have anything outside of amplify to compare it too at this time. Once you go amplify you never go back
francois85
 
Posts: 32
Joined: Thu Oct 04, 2018 2:20 pm

Re: Gfx.ReadbackImage - Framrate drop to 15fsp

Postby Amplify_Borba » Tue Oct 30, 2018 10:55 am

No problem, glad to know you have no plans of going back!

Feel free to let us know if you suspect that any performance hiccups might be related to our shaders, we'll be happy to help you debug the issue.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests