• Jason Ekstrand's avatar
    radeonsi/nir: Set vs_inputs_dual_locations and let NIR do the remap · 0909a57b
    Jason Ekstrand authored
    We were going out of our way to disable dual-location re-mapping in NIR
    only to then do the remapping in st_glsl_to_nir.cpp.  Presumably, this
    was so that double_inputs would be correct for the core state tracker.
    However, now that we've it to gl_program::DualSlotInputs which is
    unaffected by NIR lowering, we can let NIR lower things for us.  The one
    tricky bit here is that we have to remap the inputs_read bitfield back
    to the single-slot convention for the gallium state tracker to use.
    
    Since radeonsi is the only NIR-capable gallium driver that also supports
    GL_ARB_vertex_attrib_64bit, we only have to worry about radeonsi when
    making core gallium state tracker changes.
    Acked-by: default avatarMarek Olšák <marek.olsak@amd.com>
    Reviewed-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
    0909a57b
Name
Last commit
Last update
bin Loading commit data...
build-support 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...
README.rst 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...