• Kenneth Graunke's avatar
    st/mesa: Record samplers for extra planes in info->textures_used. · 4b5e8eb3
    Kenneth Graunke authored
    Normally gl_nir_lower_samplers_as_deref records info->textures_used
    for us, but this pass runs after that, attempting to assign samplers
    in the same order as st_atom_texture's external_samplers_used loop
    so the stars align and we get the same locations.
    
    Since we're adding textures late, we need to amend info->textures_used.
    
    iris uses info->textures_used to set up texture bindings; this fixes
    Piglit's ext_image_dma_buf_import-sample-{nv12,yuv420,yvu420} there.
    Reviewed-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
    4b5e8eb3
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include 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...
.gitlab-ci.yml 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...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...