• Lionel Landwerlin's avatar
    anv: add nir lowering pass for ycbcr textures · f3e91e78
    Lionel Landwerlin authored
    This pass implements all the implicit conversions required by the
    VK_KHR_sampler_ycbcr_conversion specification.
    
    It also inserts plane sources onto sampling instructions that we then
    let the pipeline layout pass deal with, when mapping things correctly
    to descriptors.
    
    v2: Add new file to meson build (Lionel)
        Use nir_frcp() rather than (1.0f / x) (Jason)
        Reuse nir_tex_instr_dest_size() rather than handwritten one (Jason)
        Return progress (Jason)
        Account for array of samplers (Jason)
    Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
    Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
    f3e91e78
Name
Last commit
Last update
bin Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...