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

Moved compiled shader cache from device to DeviceCache instance #4960

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Jan 10, 2023

  • small refactor, to move a cache of compiled vertex / fragment shaders away from GraphicsDevice, as only WebglShader needs it.
  • improved DeviceCache class to handle optional lostContext

@mvaligursky mvaligursky self-assigned this Jan 10, 2023
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Jan 10, 2023
@mvaligursky mvaligursky merged commit 56d3f7d into main Jan 10, 2023
@mvaligursky mvaligursky deleted the mv-shader-device-cache branch January 10, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants