-
Notifications
You must be signed in to change notification settings - Fork 16
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 lazy load #382
Merged
Merged
Shader lazy load #382
Changes from 31 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
141d45e
Some optimize.
roeas 3732d3c
Shader Variant Collections Component
roeas fd7c50b
Fix compile bug.
roeas 0039034
Upload pre compiled imgui shader to github.
roeas 23c934b
Renderer::LoadShaders
roeas 87803fa
include cassert
roeas fccf8ab
Separating shader compiling and loading logic in the renderer.
roeas 3404891
Renderer::CreateGraphicsResources
roeas 782e884
typo
roeas 3dedbb6
Merge branch 'main' into collection
roeas c39c479
Preparing to use SVC to guide shader compiling.
roeas 660f9eb
ShaderVariantCollectionsComponent::RegisterPragram
roeas 508a497
SVC guiding non-uber shader compiling.
roeas 1353ac1
rename
roeas 8b6d9a3
No more treating SVC as a component.
roeas 7479561
SVC guiding uber shader compiling.
roeas c690cb1
SVC guiding shader loading.
roeas 6a2f689
merge main
roeas 099e885
Refactor RenderContext
roeas 6b0fd02
merge main
roeas 1ad81e9
Fix clang compile error.
roeas cf065d4
Preparing for lazy compiling and loading.
roeas 69273bd
Lazy compile and load.
roeas c4535a6
fix clang compile error
roeas 4bcf703
CheckResources::CheckResources
roeas 5ff73c1
Renderer::Warmup
roeas e82be84
Trate uber shader without shader feature as non-uber shader.
roeas fcfb1f9
SVC store StringCrc as map key.
roeas fadc3f7
Merge branch 'main' into collection
roeas de15fed
RenderContext::AddShaderBlob return blob if exist.
roeas 97ba310
Rename SVC to ShaderCollections.
roeas affc9af
optimize
roeas 17005ba
RenderContext store uint16_t as handle.
roeas b500574
Cleanup ShaderSchema and MaterialComponent. Add compile variant button.
roeas 2606d56
ResourceBuilder use pOutputFilePath as modifyTimeCache's key.
roeas f0ec269
rename
roeas eef910a
MaterialComponent::ActivateShaderFeature check shader feature comflict.
roeas 7f8779a
Delete RequiredTextureType
roeas e94a304
EditorApp::UpdateMaterials
roeas 8115cbe
merge main
roeas a8d3eda
Delete SkyType::Count
roeas 3759347
Merge main
roeas 773796c
Update BlendShapeRenderer and PostProcessRenderer
roeas 3fcf2af
optimize
roeas 029ae5b
Add a launch option to compile all uber shader variant.
roeas 8bd62d5
Merge branch 'main' into collection
roeas a8251ec
Disable compileAllShaders in main
roeas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...Shaders/atm/cs_ComputeDirectIrradiance.sc → ...ers/shaders/cs_ComputeDirectIrradiance.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...aders/atm/cs_ComputeIndirectIrradiance.sc → ...s/shaders/cs_ComputeIndirectIrradiance.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...aders/atm/cs_ComputeMultipleScattering.sc → ...s/shaders/cs_ComputeMultipleScattering.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...haders/atm/cs_ComputeScatteringDensity.sc → ...rs/shaders/cs_ComputeScatteringDensity.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Shaders/atm/cs_ComputeSingleScattering.sc → ...ers/shaders/cs_ComputeSingleScattering.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tInShaders/atm/cs_ComputeTransmittance.sc → ...haders/shaders/cs_ComputeTransmittance.sc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upload vs_imgui.bin and fs_imgui.bin to github.
Seems that i cant just write something like
to upload vs_imgui.bin but ignore other files under Shared.