Mesa (master): i965/gen6 fbo: make unmatched depth/ stencil configs return unsupported

Jordan Justen jljusten at kemper.freedesktop.org
Sat Aug 16 04:55:59 UTC 2014


Module: Mesa
Branch: master
Commit: 3da13aef012a7edd6d2b07452865812f072d4b01
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3da13aef012a7edd6d2b07452865812f072d4b01

Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Fri Jul 19 15:44:56 2013 -0700

i965/gen6 fbo: make unmatched depth/stencil configs return unsupported

(f3c886b for gen6)

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/intel_fbo.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c
index 12bd452..b0861fb 100644
--- a/src/mesa/drivers/dri/i965/intel_fbo.c
+++ b/src/mesa/drivers/dri/i965/intel_fbo.c
@@ -673,9 +673,9 @@ intel_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb)
    }
 
    if (depth_mt && stencil_mt) {
-      if (brw->gen >= 7) {
-         /* For gen >= 7, we are using the lod/minimum-array-element fields
-          * and supportting layered rendering. This means that we must restrict
+      if (brw->gen >= 6) {
+         /* For gen >= 6, we are using the lod/minimum-array-element fields
+          * and supporting layered rendering. This means that we must restrict
           * the depth & stencil attachments to match in various more retrictive
           * ways. (width, height, depth, LOD and layer)
           */




More information about the mesa-commit mailing list