diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-05-06 02:15:55 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-05-06 11:09:30 +0000 |
commit | 5692351264de9000b59b5eaab6e41f5fd547248d (patch) | |
tree | 2d407549a9caa47fa1ac4b41d3d4f71e5b352ccd /src/compiler/nir/nir_metadata.c | |
parent | 28784e494e07d890cc2f30d8302f130bf5ff94b6 (diff) |
radv: Implement cosited_even sampling.
Apparently cosited_even was the required one instead of midpoint.
This adds slight offset of 0.5 pixels to the coordinates (+ we need
the image size to convert to normalized coords)
Fixes: 91702374d5d "radv: Add ycbcr lowering pass."
Acked-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_metadata.c')
0 files changed, 0 insertions, 0 deletions