Arm Community
Site
Search
User
Site
Search
User
Arm Developer
Documentation
Learning Paths
On-Demand Videos
Groups
Arm Ambassadors
Education Hub
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Automotive forum
Compilers and Libraries forum
Embedded and Microcontrollers forum
Internet of Things (IoT) forum
Keil forum
Laptops and Desktops forum
Mobile, Graphics, and Gaming forum
Morello forum
Operating Systems forum
Servers and Cloud Computing forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI blog
Announcements
Architectures and Processors blog
Automotive blog
Embedded and Microcontrollers blog
Internet of Things (IoT) blog
Laptops and Desktops blog
Mobile, Graphics, and Gaming blog
Operating Systems blog
Servers and Cloud Computing blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Mobile, Graphics, and Gaming forum
Depth texture linearization banding on Mali 400
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
136 subscribers
Views
4555 views
Users
0 members are here
DS-5 Development Studio
Mali-GPU
Mali-400
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Depth texture linearization banding on Mali 400
Stephane Jacoby
over 11 years ago
Note: This was originally posted on 19th June 2013 at
http://forums.arm.com
Hello Mali devs,
We are working on an application that performs depth buffer based post processing effects, mainly for fog. We are using 24bit depth for the main scene. However when sampling this depth, the results are very banded (see attachment) due to the non linear nature of the depth buffer and Mali400's mediump 0-1 precision (2^-10 I believe). With most depth values lying in the 0.96-1.0 range, the precision is obviously insufficient. Are there any workarounds that would allow use to leverage the non fractional range of mediump floats? I suspect there isn't however wanted to make sure as the platform does provide depth24 and depth texture extensions. The option of vertex based fogging is an alternative, however, we hope to stay away from that due to the added global cost of the technique.
Many thanks,
Stephane
Parents
Peter Harris
over 11 years ago
Note: This was originally posted on 1st July 2013 at
http://forums.arm.com
Always worth a couple of footnotes to the "Mali-T600 family can do highp" ...
* Mali-T600 can do highp in the fragment shader and is very good at it, but mediump may well be faster / lower power / lower memory bandwidth (doubling the size of the vector elements and memory access size isn't free ;P).
* Remember most content has orders of magnitude more fragments than vertices - if you can "get away with" doing the work in the vertex shader it may well give better overall performance.
HTH,
Iso
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 11 years ago
Note: This was originally posted on 1st July 2013 at
http://forums.arm.com
Always worth a couple of footnotes to the "Mali-T600 family can do highp" ...
* Mali-T600 can do highp in the fragment shader and is very good at it, but mediump may well be faster / lower power / lower memory bandwidth (doubling the size of the vector elements and memory access size isn't free ;P).
* Remember most content has orders of magnitude more fragments than vertices - if you can "get away with" doing the work in the vertex shader it may well give better overall performance.
HTH,
Iso
Cancel
Vote up
0
Vote down
Cancel
Children
No data