Skip to content
Snippets Groups Projects
Commit e418710f authored by Gert Wollny's avatar Gert Wollny Committed by Marge Bot
Browse files

compiler/nir: check whether var is an input in lower_fragcoord_wtrans


Otherwise the lowering pass might try to lower any other load from
a deref if its data.location value happens to be zero.

Fixes: 418c4c0d
  compiler/nir: extend lower_fragcoord_wtrans to support VARYING_SLOT_POS

Signed-off-by: default avatarGert Wollny <gert.wollny@collabora.com>
Part-of: <mesa/mesa!10577>
parent 0f04a90e
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