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

-O3 flag not working in cg #152

Open
Fewnity opened this issue Dec 28, 2024 · 0 comments
Open

-O3 flag not working in cg #152

Fewnity opened this issue Dec 28, 2024 · 0 comments

Comments

@Fewnity
Copy link

Fewnity commented Dec 28, 2024

It's not a bug in cgcomp but I noticed that the ### -O3 flag send by cgcomp changes nothing in the final shader code.
When I compile a shader with cgc -profile fp40 -O3 frag.txt or with cgc -profile fp40 -O1 the result is the same.

@shagkur Do you remember back in the days if the -O3 flag has an effect on nvidia cg? Maybe a bug in the latest version of cg? Thanks.

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

1 participant