Skip to content

AMDGPU ISA Lexer#1626

Merged
Anteru merged 10 commits intopygments:masterfrom
tsymalla:amdgcn-lexer
Jan 30, 2021
Merged

AMDGPU ISA Lexer#1626
Anteru merged 10 commits intopygments:masterfrom
tsymalla:amdgcn-lexer

Conversation

@tsymalla
Copy link
Copy Markdown
Contributor

This commit implements a basic lexer for the AMDGPU ISA definition.

This is based on the GPUOpen VS Code extension to be found here: https://github.com/GPUOpen-Tools/vscode_extensions/blob/master/amd-gcn-isa/syntaxes/isa.tmLanguage

I tested it with some ISA examples found on GPUOpen (https://gpuopen.com/learn/porting-detroit-2/). Please have a look at it.

@tsymalla tsymalla marked this pull request as ready for review December 10, 2020 16:10
@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Jan 17, 2021

Please add an example file -- can be a trivial shader, but there should be one to allow the automated testing to pick this lexer up.

@tsymalla
Copy link
Copy Markdown
Contributor Author

@Anteru I added a simple shader as test.

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