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

Some GPU Instructions are failing #34

Closed
DerelictDrone opened this issue Dec 10, 2023 · 0 comments · Fixed by #36
Closed

Some GPU Instructions are failing #34

DerelictDrone opened this issue Dec 10, 2023 · 0 comments · Fixed by #36

Comments

@DerelictDrone
Copy link
Member

DerelictDrone commented Dec 10, 2023

Seems to have begun after #27, and isn't fixed by #28

Error that shows up

[wire-cpu] ZVM:[0:48: ')' expected (to close '(' at line 47) near 'local'
  1. Precompile_Finalize - addons/wire-cpu/lua/wire/zvm/zvm_core.lua:361
   2. Step - addons/wire-cpu/lua/wire/zvm/zvm_core.lua:642
    3. Run - addons/wire-cpu/lua/entities/gmod_wire_gpu/cl_init.lua:159
     4. RenderGPU - addons/wire-cpu/lua/entities/gmod_wire_gpu/cl_init.lua:249
      5. unknown - addons/wire-cpu/lua/entities/gmod_wire_gpu/cl_init.lua:354

[ZVM ERROR]: unknown error

For 3D examples, the code is being finalized while it's half finished (trailing "variable +" something from what I could tell by printing the entire emitblock on error)

For other examples(like the trig one), instructions using % for modulo or trying to check if a character is "%" have errors due to string.format attempting to parse them as a replacement.

Needs further investigation.

@DerelictDrone DerelictDrone changed the title All GPU Instructions fail Some GPU Instructions are failing Dec 10, 2023
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 a pull request may close this issue.

1 participant