Skip to content
Snippets Groups Projects
Commit 3563ae4b authored by Emma Anholt's avatar Emma Anholt Committed by Marge Bot
Browse files

nir_to_tgsi: Fix a bug in TXP detection after backend lowering.


TGSI reserves 2 components for the coord in the first operand vector, even
for 1D.  Fixes r600 failure with shadow1d.

Fixes: 390a3fcd ("nir_to_tgsi: Add support for TXP.")
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
Part-of: <mesa/mesa!14322>
parent 8e21cad3
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