Repository navigation
[SPIRV] Add support of the GL_EXT_spirv_intrinsics - #3949
Conversation
50dd7d2 to
8363139
Compare
Jaebaek Seo (jaebaek)
left a comment
There was a problem hiding this comment.
Thank you for your contribution!
I have a few comments. PTAL.
13a4138 to
e2a2328
Compare
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
e2a2328 to
c92f21c
Compare
|
en. it looks like the check failures does not be related with my commits. |
Jaebaek Seo (jaebaek)
left a comment
There was a problem hiding this comment.
Mostly looks good to me. If you update the code based on my comments, I will approve it.
Just one general comment: I prefer small multiple PRs. This PR is ok, but please separate independent parts (e.g., ext_literal / ext_reference) as multiple PRs in the future, which would be better for bisecting bugs.
| initInstruction(inst); | ||
| curInst.push_back(inst->getResultTypeId()); | ||
| curInst.push_back(getOrAssignResultId<SpirvInstruction>(inst)); | ||
| if (inst->hasResultType()) { |
There was a problem hiding this comment.
Nice catch!
|
new added attributes VKLiteralExt, and VKReferenceExt does fail "cxx11-attributes.hlsl" expected warning tests. would need to dig further. |
emm, this is quite tricky. |
|
JiaoluAMD (@jiaolu) I sent minor changes to your repo: jiaolu#1 |
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
d390835 to
5290c04
Compare
I don't have idea why the "AppVeyor build" failed, looked up the message it just shows |
|
Finally , thanks , Jaebaek, cheers. |
|
Ah I just saw your comment. Thanks for your contribution :) |
Related to the issue: #3919
Add these attributes
vk::ext_capability
vk::ext_extension
vk::ext_instruction