mesa/src
Caio Marcelo de Oliveira Filho ded2c202d5 nir: Only convert SSA values to regs when needed
If the SSA def produced by this instruction is only in the block in
which it is defined and is not used by ifs or phis, then we don't have
a reason to convert it to a register in
nir_lower_ssa_defs_to_regs_block().

The special case for derefs is covered by the general case, so can be
removed: at this point all derefs in the block are
materialized (i.e. the whole deref chain is in the block) and derefs
are not used in phis.

v2: Fix wrong check for if_uses.  If there's such an use, the def is
    not "local_to_block".  (Jason)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-05-16 12:23:47 -07:00
..
amd ac: match radeonsi code in ac_shader_binary_read_config 2019-05-16 13:15:36 -04:00
broadcom nir: allow specifying a set of opcodes in lower_alu_to_scalar 2019-05-10 15:10:41 +00:00
compiler nir: Only convert SSA values to regs when needed 2019-05-16 12:23:47 -07:00
egl wayland/egl: Ensure correct buffer size when allocating 2019-05-14 15:33:35 +00:00
freedreno freedreno: Log the number of loops in the shader for shader-db. 2019-05-16 10:25:22 -07:00
gallium freedreno: Log the number of loops in the shader for shader-db. 2019-05-16 10:25:22 -07:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: update memory editor 2019-02-26 12:49:07 +00:00
intel intel/fs/live_variables: Do compute_start_end in BITSET_WORD chunks 2019-05-16 02:14:40 +00:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa st/mesa: Record samplers for extra planes in info->textures_used. 2019-05-16 11:54:07 -07:00
util radeonsi: disable primitive restart for triangles for DiRT Rally 2019-05-16 13:13:36 -04:00
vulkan vulkan: Update the XML and headers to 1.1.108 2019-05-13 17:20:33 -05:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript