Skip to content

Lighting code cleanup and optimization#16791

Merged
hrydgard merged 5 commits intomasterfrom
lighting-code-cleanup
Jan 11, 2023
Merged

Lighting code cleanup and optimization#16791
hrydgard merged 5 commits intomasterfrom
lighting-code-cleanup

Conversation

@hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jan 11, 2023

Tighten up the vertex shader lighting code a bit, and prenormalize the spotlight direction to save a few instructions.

Anything to help the driver shader compilers compile faster and generate better code...

Followup to #16787

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Jan 11, 2023
@hrydgard hrydgard added this to the v1.15.0 milestone Jan 11, 2023
@hrydgard hrydgard changed the title Lighting code cleanup Lighting code cleanup and optimization Jan 11, 2023
@hrydgard hrydgard force-pushed the lighting-code-cleanup branch from 3ca476e to 965007d Compare January 11, 2023 18:29
@hrydgard hrydgard merged commit 30586be into master Jan 11, 2023
@hrydgard hrydgard deleted the lighting-code-cleanup branch January 11, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GE emulation Backend-independent GPU issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant