Skip to content
Snippets Groups Projects
Commit 30ef443d authored by Axel Davy's avatar Axel Davy Committed by Dylan Baker
Browse files

frontend/nine: Fix ff position_t fallback when w = 0


For post-transformed vertices, w = 0 is similar to
w = 1. Replace the value to fix rcp(w).

It is common for apps to pass w = 0 for
position_t.

cc: mesa-stable

Signed-off-by: default avatarAxel Davy <davyaxel0@gmail.com>
Acked-by: default avatarDavid Heidelberg <david.heidelberg@collabora.com>
Part-of: <mesa/mesa!18021>
(cherry picked from commit b5df2056)
parent 499a65e8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment