mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
i965: NULL check depth_mt to quiet static analysis.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
7d430bfab9
commit
adf8afa168
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue