Skip to content
Snippets Groups Projects
Commit 770faf54 authored by Timur Kristóf's avatar Timur Kristóf Committed by Emma Anholt
Browse files

tgsi_to_nir: Improve interpolation modes.


This patch extracts the interpolation mode translation
into a separate function called ttn_translate_interp_mode,
adds support for TGSI_INTERPOLATE_COLOR which was missing,
and also sets the proper interpolation mode to output
variables, which were not set previously.

Signed-Off-By: default avatarTimur Kristóf <timur.kristof@gmail.com>
Tested-by: default avatarAndre Heider <a.heider@gmail.com>
Tested-by: default avatarRob Clark <robdclark@gmail.com>
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 2fb800fd
No related branches found
No related tags found
No related merge requests found
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