mesa/src
Iago Toral Quiroga 3e377c68f8 intel/compiler: add a NIR pass to lower conversions
Some conversions are not directly supported in hardware and need to be
split in two conversion instructions going through an intermediary type.
Doing this at the NIR level simplifies a bit the complexity in the backend.

v2:
 - Consider fp16 rounding conversion opcodes
 - Properly handle swizzles on conversion sources.

v3
 - Run the pass earlier, right after nir_opt_algebraic_late (Jason)
 - NIR alu output types already have the bit-size (Jason)
 - Use 'is_conversion' to identify conversion operations (Jason)

v4:
 - Be careful about the intermediate types we use so we don't lose
   range and avoid incorrect rounding semantics (Jason)

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> (v1)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-04-18 11:05:18 +02:00
..
amd ac: use struct/raw store intrinsics for 8-bit/16-bit int with LLVM 9+ 2019-04-17 22:10:30 +02:00
broadcom v3d: Always set up the qregs for CSD payload. 2019-04-16 12:10:39 -07:00
compiler spirv: Tell which opcode or value is unhandled when failing 2019-04-16 11:11:10 -07:00
egl Delete autotools 2019-04-15 13:44:29 -07:00
freedreno Delete autotools 2019-04-15 13:44:29 -07:00
gallium Add no_aos_sampling GALLIVM_PERF option 2019-04-17 22:16:19 +00:00
gbm Delete autotools 2019-04-15 13:44:29 -07:00
getopt
glx Delete autotools 2019-04-15 13:44:29 -07:00
gtest Delete autotools 2019-04-15 13:44:29 -07: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/compiler: add a NIR pass to lower conversions 2019-04-18 11:05:18 +02:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi Delete autotools 2019-04-15 13:44:29 -07:00
mesa intel/perf: drop counter size field 2019-04-17 14:10:42 +01:00
util drirc: add Spectacle, Falkon to a-sync blacklist 2019-04-15 17:38:44 -04:00
vulkan Delete autotools 2019-04-15 13:44:29 -07:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00