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

Generate custom AV based on user's av settings on load #22

Open
GhoulofGSG9 opened this issue Jan 9, 2019 · 0 comments
Open

Generate custom AV based on user's av settings on load #22

GhoulofGSG9 opened this issue Jan 9, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@GhoulofGSG9
Copy link
Member

Right now crazyAV uses one hlsl file for all available options which requires not only to push all the user's av settings to the shader on run time but also the usage of a lot optional branching. That causes the AV to perform a lot worse than it should.

A more elegant solution would be to generate a hlsl on load based on the user's av settings. So the client doesn't have to run any unnecessary shader code and the shader compiler is able to optimize the byte code as much as possible.

@GhoulofGSG9 GhoulofGSG9 added the enhancement New feature or request label Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant