Skip to content

Review - #1

Merged
jiaolu merged 8 commits into
jiaolu:devfrom
jaebaek:review
Sep 24, 2021
Merged

jiaolu merged 8 commits into
jiaolu:devfrom
jaebaek:review

Conversation

@jaebaek

@jaebaek jaebaek commented Sep 23, 2021

Copy link
Copy Markdown

No description provided.

jiaolu and others added 7 commits September 18, 2021 20:38
Related to the issue: microsoft#3919
Add these attributes

vk::ext_capability
vk::ext_extension
vk::ext_instruction
Fix intermittent clang-spirv-tests failures on the linux platform.
Put the processSpvIntrinsicCallExpr ahead of the processIntrinsicCallExpr to allow the redeclaration of the intrinsic function
Also add two new spirv Attributes
vk::ext_reference
vk::ext_literal
@jiaolu
jiaolu merged commit 3a723de into jiaolu:dev Sep 24, 2021
jiaolu pushed a commit that referenced this pull request Jun 6, 2025
…icrosoft#7401)

Change the definition of the HLSL `dot4add_i8packed` and
`dot4add_u8packed` intrinsics in `utils/hct/gen_intrin_main.txt` to
simply spell out the return types, rather than saying that their return
type is determined by their third argument.

This prevents DXC from trying to give those functions declarations like

declare i64 @"\01?dot4add_u8packed@hlsl@@YA_JII_J@Z"(i32, i32, i64
signext) #1

which seems to expect a 64-bit third argument and return value.

These functions are not generic, and they have only one overload, so
there is no need to use interesting `uComponentTypeId` values to get the
right effects, and `HLSLExternalSource::MatchArguments` seems to get
confused about how to treat argument types that affect the return types.

Fixes microsoft#7400.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants