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
Shader cleanup #185
Shader cleanup #185
Conversation
| @@ -216,16 +219,24 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T | |||
| "\treturn tmp.x + tmp.y + tmp.z + tmp.w;\n" | |||
| "}\n\n"); | |||
|
|
|||
| // rounding + method convertion | |||
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
@dolphin-emu-bot rebuild |
|
I've droped the constant usage patch and so also the hand placed register removal. But no other change here in this PR was based on this change, so this should be safe. |
| "\tfloat4 " I_NORMALMATRICES"[32];\n" | ||
| "\tfloat4 " I_POSTTRANSFORMMATRICES"[64];\n" | ||
| "\tfloat4 " I_DEPTHPARAMS";\n" | ||
| "};\n"); |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
LGTM once the cosmetic issues are sorted out. |
|
Is this good now? Because it LGTM. |
This branch mostly try to extract common used function out of the shader gen and some cleanups.
@neobrain: if you don't like my changes about profilation which constants are used, I'll drop it out of this list.