Skip to content
  • Erik Faye-Lund's avatar
    d3d12: use state->num_cbufs instead of ctx->fb.nr_cbufs · 6ebfa5e0
    Erik Faye-Lund authored
    We're passing in the state-object, asking to create the PSO based on
    this. Yes, these are the same, but I wouldn't bet on that being the case
    forever.
    
    So let's start checking the state-object instead. This should be more
    resilient to changes.
    6ebfa5e0