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

Technique 'DeferredRendererPBR' compile error #2

Open
htlpt opened this issue Sep 6, 2024 · 4 comments
Open

Technique 'DeferredRendererPBR' compile error #2

htlpt opened this issue Sep 6, 2024 · 4 comments

Comments

@htlpt
Copy link

htlpt commented Sep 6, 2024

main.gg compiles fine in Editor, but 'file not found' in Viewer
image

Octahedral.hlsl is in the folder though
image

what might be the cause?

@Atrix256
Copy link
Contributor

Atrix256 commented Sep 6, 2024

That's strange, I'm not able to reproduce this myself.
Did you build the code yourself, or did you use the binary package in the release (if so, .zip or the installer?)
Do you have any changes to the code or techniques locally?
Does this happen 100% of the time?

Trying to think what the issue might be:

  • I wonder if your anti virus could be preventing the open for read done by the shader compiler?
  • I thought perhaps the file copies were non blocking, and so the file read could be happening before the write was done, but I just verified that the copies are blocking (fopen, fwrite, fclose). These copies happen in RunBackend_Interpreter(), in Backend_Interpreter.cpp.

@Atrix256
Copy link
Contributor

Atrix256 commented Sep 6, 2024

A shot in the dark is to try running Gigi in administrator mode to rule out any file permission issues.

@Atrix256
Copy link
Contributor

Atrix256 commented Sep 6, 2024

Another shot in the dark to try would be to make sure your graphics driver is up to date, and any pending "windows updates" are done, in case they are affecting the shader compiler logic.

@htlpt
Copy link
Author

htlpt commented Sep 7, 2024

I'm building from source on Windows 11, other examples work just fine.
I've also tried administrator mode and the latest prebuilt release 0.99.1, still only this example has error (100% on my pc).
And I just noticed only in this sample the .gg file got upgraded, and shader compiler changed from FXC to DXC
image
the .gg file seems to be in older version 0.93b, other examples are in 0.98b, could that be the problem?

I also tried setting main.gg and all its subgraphs back to FXC and setting *_6_1 back to *_5_1, doesn't seems to work either
image

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

No branches or pull requests

2 participants