-
Notifications
You must be signed in to change notification settings - Fork 65
IShader, no more conversions, stage is now part of spec info. #839
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
Closed
Closed
Changes from 6 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
6fd47aa
first commit that turns IGPUShader and ICPUShader into one IShader an…
92a58ea
Asset Converter should work after this change
7e3d71c
correct the eggregious typos, add TODOs
2370636
touch up the Vulkan Pipelines to not hold onto shaders
38dd6e5
fix more typos, and add one more TODO
499f57b
Create pipeline now use spir-v directly
40d744e
Remove constructor. this overload conflict with another constructor.
e7beb7e
FIx spirv introspector
782bf4c
Fix CComputeBlit to use IShader
a2f7d91
Merge branch 'master' into stagesless_shaders
82dc575
Fix asset converter to support the new IShader
19b0c21
Fix NSC to use AssetMetadata to get shader stage
7be8def
use std::string_view for shader entry points
1a8ea98
remove getObjectDebugName from IShader
a428d4d
disable IShader patching
8028703
Disable IShader patching
36e6f33
Fix by adding static to getLoogingLabel
7c548b7
Enable HLSLMetadata to support multiple shader stages
64875ac
Expose more option in ISPIRVOptimizer
94cc246
Implement ISPIRVDebloater
565fd4a
expose dead constant elim optimization in ISPIRVOptimizer
08d4e70
Expose more options in ISPIRVOptimizer
0bf0601
make the noun plural in optimization pass
6ddea53
add more optimization pass to spirv debloater
31724ef
improve optimization name for trim capabilities. plural instead of si…
d5c6081
Add missing comma
cfb4bd1
Rework ISPIRVDebloater algorithm
48055b6
Move SPIRV_VERSION as constant
690cbb5
Validate entry points parameter
52c03a8
Handle unsupported execution model failure case
550dc3f
Fix wrong error log message placement
24d7f33
Refactor ISPIRVDebloater::Result naming and add operator bool
80297ed
Set default value for logger
247c7c3
Add comparison operator to EntryPoint so it can be inserterd to set
488d383
Implement more ergonomic overload
b1068a5
Move spirv debloater to ILogicalDevice
3e1b375
More fixes on moving ISPIRVDebloater to ILogicalDevice
c5b252b
Add agressive dce to optimization pass
9c9a742
Initialize m_spirvDebloater
78d20c2
Add dead member removal to the optimization pass.
5b119de
Add more optimization pass
a508eb1
Use core::set for entryPoints in debloat
f0eef49
improve naming from shaderStage to stage
d226301
Improve spirv optimizer passes mapping logic
7c43412
Remove spirv override argument
419016b
Add comment about spirv layout
7258912
Fix debloat by adding const to return type
2b85156
Pass reserved vector instead of pointer to shader when debloating
1670efa
Merge branch 'master' into stagesless_shaders
da73442
Some fixes to make nabla compile after merging with ray tracing pipel…
0ec9cf1
run debloat shaders on each module instead of each entry point
d18de3b
Refactor ray tracing to use SPIRVDebloater
597516f
Remove unfoundEntryPoint and use a counter to make it more efficient
9f3f823
print debug information in spirv debloater in debug mode
2e89fa2
Fix spirvdebloater when debloat is not needed
4d5af4e
Fix optimizer to remove array maps.
977c92e
Add inline modifier
7675c23
Validate that shader is spirv
716330c
Return null shader when spirv is null instead of shader that contain …
44a09a9
Fix some logic regarding entry point collection when debloating
4295b84
Fix SPIRVIntrospector use IShader
eda3310
Add assert that reserve is working for outShaders
4e8f41c
Remove IShader as template parameter for IRayTracingPipeline
2560e3e
Merge branch 'master' into stagesless_shaders
2b90640
Ray Tracing Pipeline interface does not need ShaderType
659ac5a
Add validate option to skip block layout validation
def49f7
Set pipeline name from shader
8d608bd
Merge branch 'master' into stagesless_shaders
7d6ede4
Fix outputReverseMap so it can hold IShader
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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.