BartSiwek / Gris

Small graphics engine to try stuff out
MIT License
0 stars 0 forks source link

Prevent unnecessary descriptor set allocations in ShaderResourceBindings::PrepareBindings #41

Open BartSiwek opened 3 years ago

BartSiwek commented 3 years ago

Since the pipeline layout does not change during the lifetime of this object the descriptor set is constant as well - only the contents may need updating. This means however that the descriptor set pool needs to be alive and we need a way of signaling when the pool was destroyed and new set needs to be allocated.

BartSiwek commented 3 years ago

Possibly depends on #54