DirectXShaderCompiler/include
Lei Zhang fa1e7cddd0
[spirv] Add SubpassInput(MS) and vk::input_attachment_index (#1000)
Two new Vulkan specific intrinsic resource types, SubpassInput and
SubpassInputMS, are introduced to provide a way to use subpass inputs
in Vulkan. Their signatures:

template<typename T>
class SubpassInput {
  T SubpassLoad();
};

template<typename T>
class SubpassInputMS {
  T SubpassLoad(int sample);
};

T can be a scalar or vector type.

If compiled without ENABLE_SPIRV_CODEGEN, the compiler will report
unknown type name for SubpassInput(MS). If compiled with SPIR-V
CodeGen and trying to use SubpassInput(MS) in DXIL CodeGen, the
compiler will report an error saying the type is Vulkan-specific.

A new Vulkan-specific attribute, vk::input_attachment_index is
introduced to provide a way to set the input attachment index for
SubpassInput(MS) objects.
2018-01-20 17:16:39 -05:00
..
dxc [spirv] Add SubpassInput(MS) and vk::input_attachment_index (#1000) 2018-01-20 17:16:39 -05:00
llvm type_traits.h: Support isPodLike for _MSC_VER >= 1900 (#925) 2017-12-14 14:41:00 -08:00
llvm-c Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00