-
Notifications
You must be signed in to change notification settings - Fork 67
Rework pipeline shader spec info #871
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 9 commits
Commits
Show all changes
373 commits
Select commit
Hold shift + click to select a range
59d02fe
merge master
keptsecret 507904f
minor fixes
keptsecret 59fcc93
Implement all computeDependants for IAssets
542592f
soome changes to arithmetic config
keptsecret a9930a0
removed referencing workgroupID in scans
keptsecret 8a2ebe3
correct strategy for boost's .gitmodules mini tool which will *not* l…
AnastaZIuk 892595c
BLAS and TLAS build code reuse and unification
4b03383
nuke the old asset converter, nothing useful or not reimplemented the…
0ebdda6
proper default initializer for triangle BLAS geometry transforms
c32846f
Stream the BLAS build inputs, fix a bug and note another one that has…
bc9b5f1
make the default memcpy IUTilities buffer streaming callback public (…
ce884ca
update boost submodule
AnastaZIuk e5f610a
Resolve issues with private submodule updates, update 3rdparty/boost/…
AnastaZIuk bf93900
use fetch.parallel=0 in CMake update
AnastaZIuk 55d89c5
no need to store locals in reduce
keptsecret 4e4f26e
added workgroup accessor concepts, refactor accessor usage
keptsecret abcbb78
merge master, fix conflicts
keptsecret 6884d45
Add non const computeDependants to IAsset and its child classes
2ac65f6
Refactor anyDependantDiscardedContents and discardDependantsContents
56f013e
Merge branch 'master' into improve-workgroup-scan-2
keptsecret bba9dab
pull master & resolve conflicts
AnastaZIuk 209ecf3
correct policy setup, propagate to all 3rdparty projects; silents som…
AnastaZIuk ae27b7d
enforce some constraints, stop the double instantiation of `Triangles…
bf23ad9
Merge branch 'more_asset_converter_for_tlas' of github.com:Devsh-Grap…
292f792
update DXC pointer (to Clang fixes merge commit)
AnastaZIuk b3b2b03
post-merge updates, correct IBottomLevelAccelerationStructure::BUILD_…
AnastaZIuk 6dda1e2
Add a bunch of missing `const` in demote_promote_writer_readers_lock.h
Fletterio 004c95a
fixed minor bug
keptsecret b7fc736
Merge pull request #791 from Devsh-Graphics-Programming/ali_clang
AnastaZIuk a666673
Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla …
AnastaZIuk 9bd76f9
add docker/msvc-winsdk submodule
AnastaZIuk 0abbb21
get stuff to compile again
ccacddb
store temporaries with data accessor
keptsecret d69cd60
correct the calculation of scratch memory needed, and avoid deadlock …
5c13a93
Remove impl_valid and rework SSpecializatioNValidationResult
483a788
add docker/msvc-winsdk submodule, update build presets & dxc/CMakeLis…
AnastaZIuk fe75f42
update docker/msvc-winsdk submodule, minor .env file change
AnastaZIuk 6eecd13
update CMakePresets.json, add docker/ninja.env
AnastaZIuk 9c59677
minor fixes
keptsecret eb44262
moved indexing functionality to config struct
keptsecret 573ce44
reduction returns value instead of saving directly to storage
keptsecret 487c3de
Create .github/workflows/build-nabla.yml, update CMakePresets.json fo…
AnastaZIuk 473cdcd
Update build-nabla.yml, adjust CLI escape chars to pwsh
AnastaZIuk a1a7b6a
Update build-nabla.yml, add unpack packages step, correct container C…
AnastaZIuk 23d18b6
Update build-nabla.yml, recurse submodules, use profiling directory
AnastaZIuk 49ca655
fixes to 2-level scan indexing
keptsecret 756f90d
Update build-nabla.yml, go unprotected 0x45 to avoid scans slowing do…
AnastaZIuk e2ea8d4
Update build-nabla.yml, correct install directory
AnastaZIuk 66a49ab
Update build-nabla.yml, update shell for prefix setup
AnastaZIuk 731f077
fix various sync bugs in AS building
1181321
make BLAS tracking actually work
a639145
fixes to 3-level scan and minor stuff
keptsecret 7751359
some minor fixes
keptsecret 9f43c02
Return Subgroup size to IPipelineBase
bae94c5
Fix missing bracket for getLayout
0d8fe94
Return Subgroup Size to every SShaderSpecInfo
4ed04c8
Fix stagePresence typo
7e2fd2c
Move clone_impl to private
c01392c
Implement getSpecInfoVec for ICPURayTracingPipeline
fd6f527
latest example
keptsecret 9a3cc69
default AS patch constructor default values so patches merge correctly
7b3c0ed
Fix getSpecInfoVec
96db32b
Implement ICPURayTracingPIpeline valid
02c0d94
forgot to overwrite staging cache XD
98f3153
Fix ICPUSkeleton.h computeDependants
30f35af
Small fixes
2983ff0
Remove redundant final specifier
e218e77
Remove const so it can be cast to IAsset*
b58e486
Fix RenderpassIndependentPipeline
1f3a477
Fix SpirvIntrospector
5b6e20e
keep a pending TLAS build BLAS tracking set linked list
0f42726
implemented BLAS tracking for TLAS device-side copies
302710f
clean up a bit and implement BLAS tracking info for Host Copies
657d116
Merge pull request #880 from Devsh-Graphics-Programming/master
devshgraphicsprogramming 5813d10
finish const correctness of Descriptor Set Layouts in Pipelines
e4487ba
small lifetime issue fix
5dab089
fix device_jit_traits generation
ad96f8a
pre merge submodule update
b7e1139
Merge pull request #878 from Devsh-Graphics-Programming/more_asset_co…
devshgraphicsprogramming d042f42
Add some utility function to IGPURayTracingPipeline SShaderGroup
c4de7c2
Fix debloat logic in logical device
f1fe089
Remove unused funciton in ILogicalDevice.cpp
89f499d
get the explicitly instantiated templated methods
27d84c8
merge master, fix conflicts
keptsecret 499c10d
make asset converter work properly in absence of transfer SIntendedSu…
31e4e08
update examples_tests
0e9d932
save work
AnastaZIuk f7a7ce9
Merge branch 'nano-pipelines' of github.com:Devsh-Graphics-Programmin…
AnastaZIuk 862d92f
Merge branch 'master' of github.com:Devsh-Graphics-Programming/Nabla …
AnastaZIuk 2eea2b0
Fix layout constness on IComputePipeline
969bcb8
Fix ICPUAcclerationStructure to use computeDependantsImpl
3e96339
Fix ICPUAnimationLibrary to use computeDependantsImpl
6de189d
Remove layout constness from ICPUComputePipeline
b0fe090
Move ICPUDescriptorSet computeDependantsImpl to header
1d764ec
Remove layout constness from cpu graphics pipeline
377f25d
Remove layout constness from cpu pipeline
8809bda
Use computeDependantsImpl in cpu pipeline layout
3c0b3ba
Fix argument pack passing on IGPUPipeline
53b45ec
Remove layout constness from cpu ray tracing pipeline
e249931
Add cached parameter to SCreationParams for gpu compute pipeline
006dd7d
Remove layout constness on IPipeline
389c358
Fix IGPURayTracingPipeline construction
81df19b
Fix debloatedHitSpecData error in ILogicalDevice
2d97ce8
Fix CComputeBlit
7917918
finalize NSC image production from CMake, leave a few comments regard…
AnastaZIuk 27c50d7
compression!
AnastaZIuk e3848ce
Make docker in docker build, adjust tools/nsc/CMakeLists.txt, update …
AnastaZIuk 350c6a3
more util funcs in config, fix some calculations
keptsecret 14e5d15
added generic data/shared mem accessors
keptsecret f07329e
fix include guard
keptsecret 48a7d16
changes to arithmetic accessor concepts
keptsecret 20a54be
concept macro for checking types
keptsecret d83ac5c
revert concept macro addition
keptsecret 00787bf
added generic read/write accessors
keptsecret c0dfc1e
more refactor for accessor concept changes
keptsecret 55840a3
don't pass scalar_t as index type
keptsecret d758ff7
refactor accessor to match accessor template
keptsecret b062ede
simplified indexing functions
keptsecret add176b
update NSC image creation to not violate Microsoft EULA, update .gith…
AnastaZIuk c6d23bd
mount named pipeline and use as docker host, update .github/workflows…
AnastaZIuk 68095da
Fix error in ILogicalDevice.cpp due to removed getShaders method
98e1759
Fix all errors in CVulkanLogicalDevice
59ccb22
Add get shader count for creationParams
9bd8682
update validation of kernel version & promote to process logic
AnastaZIuk bc9befb
Move shader stage validation out of commonCreatePipelines
3f5708e
let override publish CE port & control its URL depending on NBL_DOCKE…
AnastaZIuk b81fb12
and specify network for builder, update .github/workflows/build-nabla…
AnastaZIuk fcbfa5c
add "create default network" step to actions
AnastaZIuk 472aa0b
more fixes to indexing
keptsecret c483941
share level 0 scan between 2-level and 3-level scans (and reduce)
keptsecret 951ff99
reduce duplicate vars in config
keptsecret 1f64763
add labeling to image creation steps, update actions to upload image …
AnastaZIuk d531851
correct passing vars in shell
AnastaZIuk 2074c13
post fixes to actions, use ${} to delimit var name
AnastaZIuk 353c467
ahh typo!
AnastaZIuk b8d53cc
Fix vulkan ray tracing creation
f26201e
Another fix to CCOmputeBlit
b18c834
pass NSC_IMAGE_NAME with ENV as it glitches when using CMake CLI due …
AnastaZIuk 7e6af24
upload NSC image to Github Container Registry on master push, create …
AnastaZIuk e5b229a
lock on push, update .github/workflows/build-nabla.yml
AnastaZIuk 9328fd4
update shouldPushImage logic
AnastaZIuk 127c6d9
some fixes to indexing
keptsecret 52c7db9
Update tools/nsc/docker/README.md
AnastaZIuk 531784f
post tools/nsc/docker/README.md updates
AnastaZIuk edac59f
Fix AssetConvert to use the current SpecInfo
a31cc66
Small fixes to asset and video
08ece5d
Fix CComputeBlit
75530d4
Create run-nsc.yml workflow
AnastaZIuk 4ec5bac
Delete .github/workflows directory
AnastaZIuk 104422f
Create run-nsc.yml
AnastaZIuk 90d3579
fix scans for level 1+
keptsecret 203c03a
some indexing fixes for 3-level reduce/scan
keptsecret 0b16307
fix 3-level scan downsweep step
keptsecret aab868b
Update run-nsc.yml, add reverse proxy, require authentication to conn…
AnastaZIuk 068fc26
Update run-nsc.yml, typo I did
AnastaZIuk 5bf7336
Update run-nsc.yml, some updates to dc logs
AnastaZIuk 83991b9
added tuple.hlsl
keptsecret 209adb4
added some comments to config funcs for future debugging
keptsecret 0a5dc30
merge master, fix example conflict
keptsecret 9cdaa9f
change NSC package name, add badges creation & deploy
AnastaZIuk 67a9a07
Update build-nabla.yml, typo
AnastaZIuk 9178ec3
update badge labels, discord links and tools/nsc/docker/README.md
AnastaZIuk f82b405
Merge branch 'master' into improve-workgroup-scan-2
keptsecret 7d77d30
change indexing to uint16_t
keptsecret 7b15a54
do inclusive scan on upsweep and shift left on downsweep
keptsecret 37aa99b
some adjustments to config and func usages
keptsecret eaffe98
Update compose.yml
AnastaZIuk d514007
Update compose.yml, restart: always to boot after host wakes up
AnastaZIuk f09ca19
Update build-nabla.yml, add deploy-production job
AnastaZIuk 3b3d45c
always set the callback back, because even if it were empty it needs …
da6c313
split out level 0 scans into its own struct
keptsecret 0784b45
Merge branch 'master' into stagesless_shaders
e230d06
fixes to 3 level scan
keptsecret 3da175d
padding to shared mem indexing to avoid bank conflict
keptsecret 32732e7
fix padding bugs
keptsecret 1fc684d
Fix AssetConverter after merge
0112f0f
Merge branch 'stagesless_shaders' into rework_pipeline_shader_spec_info
7a2065a
update to latest example
keptsecret 3a90fa8
Merge branch 'master' into improve-workgroup-scan-2
keptsecret 5c2f55b
Fix pipeline creation in full screen triangle pass
03f7bc7
Fix descriptor set casting for const counterpart
aeebe36
Fix entries traversal in gpu pipeline
b65f14f
move SHitGroup to outside SCreationParams
c5f9479
Fix ray tracing pipeline creation
edefa67
Fix imgui pass
67c4d8d
Add assert shader stage
bc9aed6
use core::bitflag::hasFlags instead of &
294a399
Add whether shader is null when cloning SShaderSpecInfo
35815d2
Small improvement on ILogicalDevice
66c87a0
Small improvement on SShaderSpecInfo::create
01dced9
Skip null node
ce77b46
uncomment some concept requires
keptsecret 2440dec
Add renderpass to constructor parameter of cpu graphics pipeline
ccecd47
Fix overload error
99f2d49
Optimize SpirvDebloaterTask to use only one map
efecb7e
Add inline to method in IGPUPipeline
1707b84
Move required subgroups size stages checking to commonCreatePipelines
165eebc
Implement visitDependents
d0a0245
Check shader availability in getRequiredSubgroupStages
2ad3e73
Use visitDependents for discardDependantContents and anyDependantDisc…
542bd06
Fix debloat task
c9597ff
Initialize stages to zero.
046a334
More descriptive error
fc1bc51
removed redundant stuff, make config more readable
keptsecret 10b7f50
fix some bugs, readability fix
keptsecret 50281c6
Remove computeDependants interface
6a84bd7
Rename visitDependentsImpl to visitDependents_impl
d58554e
Fix visitDependents_impl on some asset
4fcd6e2
Implement ICPUBuffer valid()
c3c50b4
Implement ICPUBufferView::valid()
51e408b
Implement ICPUDescriptorSet::valid()
345dbd8
Implement ICPUDescriptorSetLayout::valid()
4a4b51d
Implement ICPUImage::valid()
c5d1d85
Implement ICPUImageView::valid()
7087099
Implement ICPUPipelineCache::valid()
73a17a0
Implement ICPUSampler::valid()
c7cff1d
Remove valid implementation on IAsset and implement valid for all der…
437c194
use x-macros for config compat between hlsl and cpp
keptsecret ae3946e
Add comment to some valid logic of top acceleration structure
ef2ed3a
Rename getSpecInfoVec to getSpecInfoVector
9c87925
Fix indentation
697589c
Remove virtual from final classes
469bf04
Fix indentation
6e23e6e
Fix indentation
9c138b7
Fix indentation
026d494
Fix indentation
2578abe
Check raygen shader existence for raytracing pipeline
0608e9d
Check vertex shader existence for graphics pipeline
6080475
Remove comment on IShader::valid()
e2f7b8f
Remove virtual on IShader::valid and IShader::visitDependents_impl
47900b1
Add final to IShader
029cfeb
improved readability for config, include all new files
keptsecret 2324f45
Merge pull request #876 from Devsh-Graphics-Programming/improve-workg…
devshgraphicsprogramming 9b340a4
set the `examples_tests` submodule back to `master` HEAD as workgroup…
5d990a3
Rename ISPIRVDebloater to ISPIRVEntryPointTrimmer
6505cde
Fix indentation to use tabs
11df7a6
Initial refinement for IDescriptorSet::valid()
033c7cf
Remove unnecessary final specifier
3cf4554
Add const to hlsl::ShaderStage
9eab2f8
Remove unnecessary final specifier
74241f3
Add comment on why we need multiple dead branch elimination and multi…
04bcf0d
Remove unused variable
fc1983f
Small fixes on SpirvTrimTask
3767ede
Fix shader indexing logic in ray tracing pipeline creation
061d49c
Fix maxShaderStages calculation when creating ray tracing pipeline
e6d8727
update submodule pointer
AnastaZIuk 4a374b0
Merge branch 'master' into rework_pipeline_shader_spec_info
6fea3e5
Add agrressive dce pass to remove type and remove multiple round of b…
0aa03c7
Remove comment
f74d78b
Merge branch 'rework_pipeline_shader_spec_info' of github.com:Devsh-G…
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
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.