Skip to content

Take extern as define to match fxc. - #138

Merged
Xiang Li (python3kgae) merged 2 commits into
microsoft:dxil-v1.0from
python3kgae:extern_resource
Mar 15, 2017
Merged

Xiang Li (python3kgae) merged 2 commits into
microsoft:dxil-v1.0from
python3kgae:extern_resource

Conversation

@python3kgae

Copy link
Copy Markdown
Contributor

No description provided.

@msftclas

Xiang Li (@python3kgae),
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Comment thread tools/clang/lib/AST/Decl.cpp Outdated
getTemplateSpecializationKind() != TSK_ExplicitSpecialization)
return DeclarationOnly;

if (!getASTContext().getLangOpts().HLSL2015) // HLSL Change - take extern as define to match fxc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should apply to all HLSL versions (so far).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Other than the HLSL version number, this looks good to go.

@python3kgae
Xiang Li (python3kgae) merged commit e84b71d into microsoft:dxil-v1.0 Mar 15, 2017
@python3kgae
Xiang Li (python3kgae) deleted the extern_resource branch March 15, 2017 01:58
Damyan Pepper (damyanp) pushed a commit to damyanp/DirectXShaderCompiler that referenced this pull request Mar 22, 2025
These are just empty placeholder sections with some grammar definitions
to fill in the ID expression grammars. Properly documenting this will
require going back and defining scopes and other lexical constructs.

Since all of this is more or less inherited from C/C++ I'm going to
leave them as stubs for now and focus on the HLSL-specific sections.
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