mesa/src/amd/common
Timothy Arceri a5f9ac2928 ac: fix nir_op_f2f64
Without this we get the error "FPExt only operates on FP" when
converting the following:

   vec1 32 ssa_5 = b2f ssa_4
   vec1 64 ssa_6 = f2f64 ssa_5

Which results in:

   %44 = and i32 %43, 1065353216
   %45 = fpext i32 %44 to double

With this patch we now get:

   %44 = and i32 %43, 1065353216
   %45 = bitcast i32 %44 to float
   %46 = fpext float %45 to double

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2017-12-13 13:20:28 +11:00
..
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
.gitignore ac/debug: move .gitignore for sid_tables.h too 2017-01-13 00:37:52 +01:00
ac_binary.c radeonsi: move/remove ac_shader_binary helpers 2017-11-29 18:21:30 +01:00
ac_binary.h radeonsi: move/remove ac_shader_binary helpers 2017-11-29 18:21:30 +01:00
ac_debug.c radeonsi: remove 'Authors:' comments 2017-11-02 18:19:03 +01:00
ac_debug.h radeonsi: remove 'Authors:' comments 2017-11-02 18:19:03 +01:00
ac_exp_param.h radeonsi/ac: move vertex export remove to common code. 2017-04-27 05:17:47 +01:00
ac_gpu_info.c radeonsi: dismantle si_common_screen_init/destroy 2017-11-29 18:21:30 +01:00
ac_gpu_info.h radeonsi: dismantle si_common_screen_init/destroy 2017-11-29 18:21:30 +01:00
ac_llvm_build.c ac: move build_varying_gather_values() to ac_llvm_build.h and expose 2017-12-04 12:52:19 +11:00
ac_llvm_build.h ac: move build_varying_gather_values() to ac_llvm_build.h and expose 2017-12-04 12:52:19 +11:00
ac_llvm_helper.cpp radeon/ac: fix build on llvm 3.8.1 2017-04-27 11:22:12 +01:00
ac_llvm_util.c radeonsi: use ac_create_target_machine 2017-11-07 17:58:38 +01:00
ac_llvm_util.h radeonsi: use ac_create_target_machine 2017-11-07 17:58:38 +01:00
ac_nir_to_llvm.c ac: fix nir_op_f2f64 2017-12-13 13:20:28 +11:00
ac_nir_to_llvm.h ac/nir: Only clamp shadow reference on radeonsi. 2017-10-23 09:13:38 +02:00
ac_shader_abi.h ac: add si_nir_load_input_gs() to the abi 2017-12-04 12:52:19 +11:00
ac_shader_info.c nir: Get rid of nir_shader::stage 2017-10-20 12:49:17 -07:00
ac_shader_info.h ac/nir: Add shader support for multiviews. 2017-08-24 19:20:47 +02:00
ac_surface.c ac/surface: always compute DCC info when DCC is possible on GFX9 2017-11-30 18:46:11 +01:00
ac_surface.h ac: pack legacy_surf_level better 2017-11-27 14:46:16 +01:00
amd_family.h radeonsi/gfx9: add support for Raven 2017-05-15 13:00:26 +02:00
amd_kernel_code_t.h tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
gfx9d.h radeonsi/gfx9: fix TC-compatible stencil compression 2017-06-19 20:15:36 +02:00
meson.build meson: build r600 driver 2017-11-28 14:06:33 -08:00
sid.h amd/common: sid.h cleanups 2017-11-28 09:34:43 +01:00
sid_tables.py ac/debug: take ASIC generation into account when printing registers 2017-09-06 09:59:19 +02:00