Sharing global resource signatures #216
-
I'm in the middle of setting up some global resource signatures that will be used by nearly all of the renderers in my engine, but I'm a little confused about the My current plan was to split resources up based on required access. Currently, there are only three signatures, but that will probably become more complex in the future. Hopefully not by much.
So in this case, I could set Also, I'm not sure if I should be setting things up like this, or if I should be creating a single resource signature that includes all needed resources for each possible scenario. With only a few signatures, it would be easy to pre-combine these into a couple specific signatures:
Would it be better to define very specific signatures for every case like this? Or a completely different method would be to just throw everything into one signature and let everything use it? Sorry if I'm asking dumb questions. This will probably all make more sense once I've learned more about these systems. Thanks for any advice |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You can generally have as many signatures as possible. However, your pipelines should not use more than 3 signatures simultaneously. This will be less performant and may not even be supported on lower-end hardware.
No. You can use a pipeline with signatures in slot 0 and slot 2, and no signature in slot 1. Signatures are designed to make Pipeline SRBs compatible with each other. Ideally, all your pipelines use the same signature so that all your resources are shared. The more sharing you can implement, the less resource switches will be necessary, which is better. |
Beta Was this translation helpful? Give feedback.
You can generally have as many signatures as possible. However, your pipelines should not use more than 3 signatures simultaneously. This will be less performant and may not even be supported on lower-end hardware.
No. You can use a pipeline with signatures in slot 0 and slot 2, and no signature in slot 1.
Signatures are designed to make Pipeline SRBs compatible with each other. Ideally, all your pipelines use the same signature so that all your resources are shar…