radv: Remove assert about pDepthStencilState
RenderDoc's serialization code replaces unused references with NULL pointers, which caused this assert to fire when the NULL state wasn't really dereferenced. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8860>
This commit is contained in:
@@ -1614,8 +1614,6 @@ radv_pipeline_init_dynamic_state(struct radv_pipeline *pipeline,
|
||||
* against does not use a depth/stencil attachment.
|
||||
*/
|
||||
if (needed_states && subpass->depth_stencil_attachment) {
|
||||
assert(pCreateInfo->pDepthStencilState);
|
||||
|
||||
if (states & RADV_DYNAMIC_DEPTH_BOUNDS) {
|
||||
dynamic->depth_bounds.min = pCreateInfo->pDepthStencilState->minDepthBounds;
|
||||
dynamic->depth_bounds.max = pCreateInfo->pDepthStencilState->maxDepthBounds;
|
||||
|
Reference in New Issue
Block a user