mesa/src
Caio Marcelo de Oliveira Filho 8bdf5a008b nir: Allow derefs to be used as phi sources
It is possible and valid for a pointer to be selected based on a
conditional before used, and depending on the mode, those cases will
result in a phi with derefs as sources.

To achieve this, we don't rematerialize derefs that are used by phis.
As a consequence, when converting from SSA to regs, we may have phis
that come from different blocks and are used by phis.  We now convert
those to regs too.

Validation was added to ensure only derefs of certain modes can be
used as phi sources.  No extra validation is needed for the presence
of cast, any instruction that uses derefs will validate the
deref-chain is complete (ending in a cast or a var).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-05-29 08:19:15 -07:00
..
amd radv: use view format when selecting the resolve path for subpasses 2019-05-29 08:53:48 +02:00
broadcom nir: Drop imov/fmov in favor of one mov instruction 2019-05-24 08:38:11 -05:00
compiler nir: Allow derefs to be used as phi sources 2019-05-29 08:19:15 -07:00
egl egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL 2019-05-17 15:13:15 -07:00
freedreno nir: Drop imov/fmov in favor of one mov instruction 2019-05-24 08:38:11 -05:00
gallium radeonsi: Fix editorconfig 2019-05-29 15:55:40 +02: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: delete demo file 2019-05-21 14:40:22 +01:00
intel intel/decoder: Use get_state_size() over guessed counts in more cases 2019-05-28 13:44:16 -07: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 mesa/main: clean up extension-check for GL_SAMPLE_MASK 2019-05-29 10:54:09 +02:00
util radeonsi: add drirc workaround for American Truck Simulator 2019-05-28 08:47:44 +10:00
vulkan vk/util: suppress warning about out-of-enum android value 2019-05-23 15:28:43 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript