diff options
| author | Marek Olšák <marek.olsak@amd.com> | 2021-02-09 10:58:51 -0500 |
|---|---|---|
| committer | Marge Bot <eric+marge@anholt.net> | 2021-04-13 05:07:42 +0000 |
| commit | 73f532e5bfd702bac6db9d34e1464d0f997c3cf0 (patch) | |
| tree | 5cfa1f4d614133a105a68e018bb7b10637241c94 /src/util/bitset.h | |
| parent | 5f7c7c9a7f7e1ce44261ca292de2bb3dc767d0ec (diff) | |
nir: add new VARYING_SLOTs and shader info for packed 16-bit varyings
This allows mediump inputs and outputs to be trivially lowered into packed
16-bit varyings where 1 slot is occupied by 2 16-bit vec4s, without any
packing instructions in NIR and without any conflicts with 32-bit varyings.
The only thing that is changed is IO semantics in intrinsics to get packed
16-bit varyings.
This simplifies supporting 16-bit types for drivers that have 32-bit slots
everywhere except the fragment shader where they can do 16-bit interpolation
on either the low or high half of each slot.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9050>
Diffstat (limited to 'src/util/bitset.h')
0 files changed, 0 insertions, 0 deletions