Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Graphics and Gaming
Jump...
Cancel
Graphics and Gaming
Graphics and Gaming forum
random number with mali 400 mp
Blog
Forum
Videos & Files
Help
Jump...
Cancel
New
Replies
7 replies
Subscribers
133 subscribers
Views
3446 views
Users
0 members are here
Mali-GPU
Mali-400
Related
random number with mali 400 mp
Offline
Fernando Sanchez
over 7 years ago
Note: This was originally posted on 22nd November 2012 at
http://forums.arm.com
I am having no success into generating random noise with the MALI 400 MP GPU, the code I'm using is next which works with all the other GPU vendors I've tried.
On this specific GPU will return just a few cross screen dotted thin lines with a wide space between them, instead of the expected random noise.
float rand(vec2 co)
{
return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453);
}
void main()
{
vec3 color = texture2D(u_texture, v_texcoord);
vec3 noise = vec3(
rand(gl_FragCoord.st / 1000.0
)
);
gl_FragColor = vec4(color + noise, 1.0);
}
Is there something to take into account in this specific GPU hardware?
Thanks
Parents
Offline
Fernando Sanchez
over 7 years ago
Note: This was originally posted on 24th November 2012 at
http://forums.arm.com
I've tried to limit the values for
frac
and
sin
, but I didn't get the expected results.
Is there an example of how to produce random simple grainy noise with this GPU model?
Cancel
Up
0
Down
Reply
Cancel
Reply
Offline
Fernando Sanchez
over 7 years ago
Note: This was originally posted on 24th November 2012 at
http://forums.arm.com
I've tried to limit the values for
frac
and
sin
, but I didn't get the expected results.
Is there an example of how to produce random simple grainy noise with this GPU model?
Cancel
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Not Answered
mali-checker showing as no opengl es version support available.
0
4113
views
0
replies
Started
2 months ago
by
tattimano
Answered
Zero GPU activity during "long" periods of time
+1
Mali GPU (Bifrost Architecture)
Streamline Performance Analyzer
5165
views
5
replies
Latest
2 months ago
by
JPJ
Answered
Help interpreting L/S and Texture memory usage
0
Mali GPU (Bifrost Architecture)
Streamline Performance Analyzer
5582
views
4
replies
Latest
2 months ago
by
JPJ
Not Answered
Display problem in GTK/Webkit with RK3288 Mali-T764
0
4710
views
1
reply
Latest
2 months ago
by
IronKang
Answered
Texture Cache on Mali-G76
+1
4996
views
1
reply
Latest
2 months ago
by
Kévin Petit
<
>
View all questions in Graphics and Gaming forum