Skip to content

Comments

Adreno gpu const float precision#1

Draft
JackKaiXing wants to merge 1 commit intomasterfrom
cursor/adreno-gpu-const-float-precision-b431
Draft

Adreno gpu const float precision#1
JackKaiXing wants to merge 1 commit intomasterfrom
cursor/adreno-gpu-const-float-precision-b431

Conversation

@JackKaiXing
Copy link
Owner

Clarify Adreno GPU const float precision behavior to prevent unexpected rounding issues.

On Adreno, mediump floats are often treated as 16-bit (FP16), which applies to const float values if they are mediump or default to it. This can cause constants to be rounded or truncated, leading to subtle bugs. This documentation explains this behavior and recommends using highp for critical constants.


Open in Cursor Open in Web

Co-authored-by: kevin.kaixing <kevin.kaixing@gmail.com>
@cursor
Copy link

cursor bot commented Dec 14, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants