[Mesa-dev] [PATCH v3 00/22] Enable Float64 capability support for Intel's Vulkan driver

Samuel Iglesias Gonsálvez siglesias at igalia.com
Thu Jan 5 10:18:23 UTC 2017


Hello,

This patch series is the third iteration of previous one:

https://lists.freedesktop.org/archives/mesa-dev/2016-December/138403.html

Main changes are the ones suggested by Jason. There are still 7 patches
unreviewed: 6, 12, 16, 18, 20, 21, 22.

Our plan is to land this patch series in master before sending
ARB_vertex_attrib64 patches for HSW for review as they depend on some
of the patches of this series.

If you want to test these patches, you can clone our branch with the
following command:

$ git clone -b spirv-to-nir-rc3 https://github.com/Igalia/mesa.github

Thanks,

Sam

Juan A. Suarez Romero (2):
  anv/pipeline: get map for double input attributes
  nir/i965: use two slots from inputs_read for dvec3/dvec4 vertex input
    attributes

Samuel Iglesias Gonsálvez (20):
  spirv: fix typo in spec_constant_decoration_cb()
  spirv: add definition of double based data types
  spirv: add support for loading DF constants
  spirv: add DF support to vtn_const_ssa_value()
  spirv: add DF support to SpvOp*ConstantComposite
  spirv: fix SpvOpSpecConstantOp with SpvOpVectorShuffle working with
    double-based vecs
  spirv: add double support to SpvOpCompositeExtract
  spirv: add double support to _vtn_variable_load_store
  spirv: add double support to _vtn_block_load_store()
  spirv: Enable double floating points when copying variables in
    _vtn_variable_copy()
  spirv: add support for doubles on OpComposite{Insert,Extract}
  nir: add nir_get_nir_type_for_glsl_type()
  nir: add nir_type_conversion_op()
  spirv/nir: implement DF conversions
  spirv/nir: add (un)packDouble2x32() translation
  spirv: add support for doubles to OpSpecConstant
  isl: fix VA64 support for double and dvecN vertex attributes
  spirv: enable SpvCapabilityFloat64 only to supported platforms
  anv: enable float64 feature on supported platforms
  anv: enable shaderFloat64 feature

 src/amd/vulkan/radv_pipeline.c               |   5 +-
 src/compiler/glsl/glsl_to_nir.cpp            |  28 +++++
 src/compiler/nir/nir.c                       |  81 +++++++++++++++
 src/compiler/nir/nir.h                       |  29 ++++++
 src/compiler/nir/nir_gather_info.c           |  48 ++++-----
 src/compiler/spirv/nir_spirv.h               |   6 +-
 src/compiler/spirv/spirv_to_nir.c            | 150 +++++++++++++++++++++------
 src/compiler/spirv/vtn_alu.c                 |  29 ++++--
 src/compiler/spirv/vtn_glsl450.c             |   2 +
 src/compiler/spirv/vtn_private.h             |   9 +-
 src/compiler/spirv/vtn_variables.c           |   3 +
 src/intel/isl/isl_format.c                   |   4 +-
 src/intel/vulkan/anv_device.c                |   2 +-
 src/intel/vulkan/anv_formats.c               |   8 +-
 src/intel/vulkan/anv_pipeline.c              |  13 ++-
 src/intel/vulkan/genX_pipeline.c             |  28 +++--
 src/mesa/drivers/dri/i965/brw_draw_upload.c  |  11 +-
 src/mesa/drivers/dri/i965/brw_fs.cpp         |  13 ---
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |   3 +-
 src/mesa/drivers/dri/i965/brw_nir.c          |   6 +-
 src/mesa/drivers/dri/i965/brw_nir.h          |   1 -
 src/mesa/drivers/dri/i965/brw_vec4.cpp       |  11 +-
 22 files changed, 378 insertions(+), 112 deletions(-)

-- 
2.11.0



More information about the mesa-dev mailing list