mesa/src/gallium/drivers
Rhys Kidd d4cb3ee95c r600g: Avoid duplicated initialization of TGSI_OPCODE_DFMA
As reported by Clang, TGSI_OPCODE_DFMA (defined magic number 118) is
currently initialized twice for Cayman and Evergreen.

When Jan Vesely added double precision FMA opcode it did make sense
to locate it immediately after TGSI_OPCODE_DMAD, although this is
out of order.

This change cleans up the prior magic number definition and ensures
any later reordering of this struct will not create problems.

Prior change was:

  commit 015e2e0fce
  Author: Jan Vesely <jan.vesely@rutgers.edu>
  Date:   Sat Jul 2 16:14:54 2016 -0400

      r600g: Add double precision FMA ops

      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96782
      Fixes: 54c4d525da ("r600g: Enable FMA on chips that support it")

      Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
      Tested-by: James Harvey <lothmordor@gmail.com>
      Signed-off-by: Marek Olšák <marek.olsak@amd.com>

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: James Harvey <lothmordor@gmail.com>
2016-08-29 11:03:20 -07:00
..
ddebug gallium: Use enum pipe_shader_type in set_shader_images() 2016-08-29 09:07:37 -06:00
freedreno gallium: Use enum pipe_shader_type in set_sampler_views() 2016-08-29 09:07:25 -06:00
i915 i915g: Fix typo in i915_translate_instruction() 2016-08-29 11:03:20 -07:00
ilo gallium: Use enum pipe_shader_type in set_shader_images() 2016-08-29 09:07:37 -06:00
llvmpipe llvmpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds 2016-08-29 18:14:49 +02:00
noop gallium: Use enum pipe_shader_type in set_sampler_views() 2016-08-29 09:07:25 -06:00
nouveau gallium: Use enum pipe_shader_type in set_shader_images() 2016-08-29 09:07:37 -06:00
r300 gallium: Use enum pipe_shader_type in set_sampler_views() 2016-08-29 09:07:25 -06:00
r600 r600g: Avoid duplicated initialization of TGSI_OPCODE_DFMA 2016-08-29 11:03:20 -07:00
radeon gallium/radeon: clear dirty_level_mask when discarding CMASK 2016-08-29 14:23:58 +02:00
radeonsi radeonsi: Don't use global variables for tess lds 2016-08-29 16:36:46 +00:00
rbug gallium: Use enum pipe_shader_type in set_sampler_views() 2016-08-29 09:07:25 -06:00
softpipe softpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds 2016-08-29 18:15:08 +02:00
svga gallium: Use enum pipe_shader_type in set_sampler_views() 2016-08-29 09:07:25 -06:00
swr swr: [rasterier core] fix GetRasterizerFunc selection 2016-08-29 12:42:36 -05:00
trace gallium: Use enum pipe_shader_type in set_shader_images() 2016-08-29 09:07:37 -06:00
vc4 vc4: Handle discards while in control flow. 2016-08-29 11:03:11 -07:00
virgl gallium: Use enum pipe_shader_type in set_sampler_views() 2016-08-29 09:07:25 -06:00