2

I'm pretty new to PSOs. I was wondering if there is a way to extract a D3D12_GRAPHICS_PIPELINE_STATE_DESC structure for example, holding the info for a particular PSO? Or if there is any way really to access any information from a PipelineStateObject? Or does a PSO become a black box once first created?

Gregor Sattel
  • 352
  • 3
  • 12
  • Unlike ID3D12Resource where there is GetDesc method, there is nothing similar for PSOs. What are you trying to achieve? – mateeeeeee Jun 02 '21 at 13:34

1 Answers1

2

Once created, a PSO becomes a black box, you can't retrieve any info about it anymore.

The only thing your can retrieve is the "binary blob" by calling :

pso->GetCachedBlob

Which allows you to save it to disk (so you can create it back using the cached version, which is faster).

Please note that this blob is Hardware AND Driver dependent.

mrvux
  • 8,523
  • 1
  • 27
  • 61