mesa/src/compiler
Andres Calderon Jaramillo 54a564e679 nir: Account for YUV range.
This patch expands on what commit
d8fdb8dab4 did. It adds support for
YUV-to-RGB conversions depending on the range of the YUV samples.

The conversion matrices and offsets are derived from
https://gist.github.com/yohhoy/dafa5a47dade85d8b40625261af3776a.

Tested-by: Andres Calderon Jaramillo <andrescj@chromium.org>
Reviewed-by: Rob Clark <robdclark@chromium.org>
(cherry picked from commit a5d09d7a0a)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17114>
2022-11-03 19:39:40 +00:00
..
clc compiler/clc: Preserve OCL kernel arg type metadata on LLVM13 2021-10-04 18:16:01 +00:00
glsl glsl/glcpp: make sure to expand new token after concatenation 2022-01-12 19:54:24 +00:00
isaspec isaspec: De-duplicate bitset encoding 2021-09-29 22:59:43 +00:00
nir nir: Account for YUV range. 2022-11-03 19:39:40 +00:00
spirv spirv: Produce correct result for GLSLstd450Tanh with NaN 2022-02-23 17:55:55 +00:00
builtin_type_macros.h compiler/types: Add 64-bit image types 2020-11-09 17:17:39 +00:00
glsl_types.cpp glsl: add missing support for explicit components in interface blocks 2021-05-13 08:07:53 +00:00
glsl_types.h glsl: add missing support for explicit components in interface blocks 2021-05-13 08:07:53 +00:00
meson.build Move a bunch of the CLC stuff from src/microsoft to common code 2021-09-30 07:09:08 +00:00
nir_types.cpp nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
nir_types.h nir: Add a size_align helper function for aligning elements to 16 bytes. 2020-11-16 13:54:22 -08:00
shader_enums.c compiler: Add new non-Multiview Task/Mesh builtins 2021-08-28 03:56:42 +00:00
shader_enums.h compiler: Add new non-Multiview Task/Mesh builtins 2021-08-28 03:56:42 +00:00
shader_info.h spirv: switch Groups capability to non AMD specific field 2021-09-29 15:40:20 +00:00