[all-commits] [llvm/llvm-project] 4a57e8: [HLSL] Flesh out basic type typedefs (#104479)

Chris B via All-commits all-commits at lists.llvm.org
Fri Aug 16 08:51:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a57e834f7de83d85d994c63647aa957279c354e
      https://github.com/llvm/llvm-project/commit/4a57e834f7de83d85d994c63647aa957279c354e
  Author: Chris B <chris.bieneman at me.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M clang/lib/Headers/hlsl/hlsl_basic_types.h
    A clang/test/SemaHLSL/Types/typedefs.hlsl

  Log Message:
  -----------
  [HLSL] Flesh out basic type typedefs (#104479)

We had a few missing typedefs that are supported by DXC. Specifically
1-element vectors, size-explicit 32-bit types and size-explicit floating
point types.

This adds the typedefs and a test file that just verifies the expected
sizes and vector element counts.

I needed to add some of these missing typedefs to address #102964, and
thought instead I should try and be a bit comprehensive and put it in a
separate PR.

Nothing complicated here, just typedefs and static asserts to verify
them.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list