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

crt-aperture.cgp compiling error #155

Open
MarioMario456 opened this issue Nov 4, 2019 · 2 comments
Open

crt-aperture.cgp compiling error #155

MarioMario456 opened this issue Nov 4, 2019 · 2 comments

Comments

@MarioMario456
Copy link

MarioMario456 commented Nov 4, 2019

I try to use the Nvidia Cg compiler to make crt-aperture.cgp work on emulators that don't support uncompiled shaders.
But, it always results in a error no matter what I do (I am NOT a programmer)

Here's the log:

C:\Users\[CENSORED]\Documents\Emulators\Snes9x\Shaders\crt>cgc -o "crt-aperture.glsl" "crt-aperture.cgp"
crt-aperture.cgp
crt-aperture.cgp(1) : error C0000: syntax error, unexpected '=', expecting "::" at token "="
@VelocityRa
Copy link
Contributor

.cgp files are shader presets, not shaders. Their format is described here under "Cg meta-shader format".
The extension of Cg shaders is .cg.

Not sure what you mean by "uncompiled shaders". If the emulator does not itself have support for libretro's shader preset system (described in the link above) which it probably doesn't, then these will not work.

@hizzlekizzle
Copy link
Collaborator

AFAIK, snes9x has support for all of the libretro shader formats. I would suggest switching to slang shaders instead of Cg/p anyway.

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

3 participants