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

Fragment asm: initial support of PSEQ fetch instruction and couple of minor changes #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

digetx
Copy link
Member

@digetx digetx commented Mar 25, 2018

Add PSEQ fetch instruction to grate's asm and make couple corrections to the asm that bugged me a bit for quite some time.

digetx added 3 commits March 24, 2018 18:53
It is easy to override ALU by accident, let's avoid that.

Something like this isn't allowed to have in the code now:

	ALU:
		ALU0:	NOP
		ALU0:	NOP
Now ASM's error message gives correct line number if code contains multi-line
comments.
PSEQ 'fetch' instruction reads data from given render target and loads
it to destination registers. Add initial support of that instruction.

Example:
	PSEQ:	fetch r0, r1, rt15
Copy link
Member

@kusma kusma left a comment

Choose a reason for hiding this comment

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

Nice!

@digetx
Copy link
Member Author

digetx commented Apr 24, 2018

For the record: I've found that PSEQ doesn't work exactly as I supposed with different RT formats and we'll probably need some more GLES tests for experimenting with PSEQ. I should get back to this sometime soon.

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