Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

where should I start #155

Open
SeleDreams opened this issue Feb 8, 2023 · 1 comment
Open

where should I start #155

SeleDreams opened this issue Feb 8, 2023 · 1 comment

Comments

@SeleDreams
Copy link

Hi,
I'm looking into programming a glsl compiler for the 3ds, as at the moment we can only program shaders in PICA 200 assembly which is pretty inconvenient.
so I was looking into making a glsl to pica 200 asm compiler using this library to handle the parsing them convert the appropriate function calls etc to the assembly language. however i'm not too sure where to start. like I followed the base examples to load shader code in the parser, but after that i'm not sure about what i'm supposed to do. how do i get the instructions from the shader file to be able to convert them

@SeleDreams
Copy link
Author

to be more precise i just don't know what i'm supposed to do after getting a TranslationUnit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant