• Ian Romanick's avatar
    intel/fs: Add need_dest parameter to fs_visitor::nir_emit_alu · a2887085
    Ian Romanick authored
    This is the same as the need_dest parameter to
    prepare_alu_destination_and_sources.  This allows us to not change the
    register that is expected to hold an result if an instruction is
    re-emitted.  This is particularly a problem if the re-emitted
    instruction is a partial write.  A later patch will use this feature.
    
    No shader-db changes on any Intel platform.
    
    v2: Don't do the Boolean resolve when there is no destination.  If the
    ALU instruction didn't write a register, there's nothing to resolve.
    This replaces an earlier patch "intel/fs: Allocate dummy destination
    register when need_dest is false".
    Reviewed-by: Caio Marcelo de Oliveira Filho's avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
    Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
    a2887085
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...