[PATCH] D125052: [HLSL] Enable vector types for hlsl.

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 15:34:13 PDT 2022


python3kgae created this revision.
python3kgae added reviewers: svenvh, asavonic, beanz, pow2clk.
Herald added subscribers: Anastasia, mgorny.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Vector types in hlsl is using clang ext_vector_type.
Declaration of vector types is in builtin header hlsl.h.
hlsl.h will be included by default for hlsl shader.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125052

Files:
  clang/lib/Basic/LangOptions.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/lib/Headers/CMakeLists.txt
  clang/lib/Headers/hlsl.h
  clang/lib/Headers/hlsl/hlsl_basic_types.h
  clang/test/CodeGenHLSL/basic_types.hlsl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125052.427478.patch
Type: text/x-patch
Size: 9220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220505/df91d1e3/attachment-0001.bin>


More information about the cfe-commits mailing list