Skip to content
Snippets Groups Projects
Commit adf8afa1 authored by Matt Turner's avatar Matt Turner
Browse files

i965: NULL check depth_mt to quiet static analysis.


Reviewed-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent 7d430bfa
No related branches found
No related tags found
No related merge requests found
......@@ -598,7 +598,7 @@ brw_emit_depthbuffer(struct brw_context *brw)
depth_mt = stencil_mt;
}
if (depth_irb) {
if (depth_irb && depth_mt) {
/* When 3DSTATE_DEPTH_BUFFER.Separate_Stencil_Enable is set, then
* 3DSTATE_DEPTH_BUFFER.Surface_Format is not permitted to be a packed
* depthstencil format.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment