Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make modifications of GL_EXT_spirv_intrinsics #2777

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

amdrexu
Copy link
Contributor

@amdrexu amdrexu commented Oct 13, 2021

  1. spirv_execution_mode_id and spirv_decorate_id could support
    specialization constants. The original implementation always
    assume only normal frontend constants are valid. It is not true.

  2. spirv_type donesn't support type_specifier as an option of
    spirv_type_parameter. At present, only constant_expression is the
    valid option.

@amdrexu
Copy link
Contributor Author

amdrexu commented Oct 13, 2021

Part of this change is to address the issue #2774

@greg-lunarg greg-lunarg added the kokoro:run Trigger Google bot runs label Oct 14, 2021
@greg-lunarg greg-lunarg self-requested a review October 14, 2021 18:05
@kokoro-team kokoro-team removed the kokoro:run Trigger Google bot runs label Oct 14, 2021
Copy link
Contributor

@greg-lunarg greg-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add test code that checks for the acceptance of specialization constants?

@amdrexu
Copy link
Contributor Author

amdrexu commented Oct 15, 2021

Can you please add test code that checks for the acceptance of specialization constants?

Sure. I will do this.

1. spirv_execution_mode_id and spirv_decorate_id could support
   specialization constants. The original implementation always
   assume only normal frontend constants are valid. It is not true.

2. spirv_type donesn't support type_specifier as an option of
   spirv_type_parameter. At present, only constant_expression is the
   valid option.
@amdrexu
Copy link
Contributor Author

amdrexu commented Oct 15, 2021

Change is updated.

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.

3 participants