[all-commits] [llvm/llvm-project] a1dfcc: [clang][bytecode] Fix D3DCOLORtoUBYTE4 hlsl test (...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Aug 2 07:19:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1dfcc6e8154bb8c188062f0a50436a27b54f763
      https://github.com/llvm/llvm-project/commit/a1dfcc6e8154bb8c188062f0a50436a27b54f763
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-08-02 (Sat, 02 Aug 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/hlsl.hlsl

  Log Message:
  -----------
  [clang][bytecode] Fix D3DCOLORtoUBYTE4 hlsl test (#151819)

HLSL is using CK_FloatingToIntegral casts to cast to vectors, which we
don't support (neither does the current interpreter). Also fix a crash
when trying to promote the HLSL bool, which can't be promoted it seems.



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