Mesa (master): i965: Abort on gl_FragDepth in the new FS backend for now.

Eric Anholt anholt at kemper.freedesktop.org
Fri Aug 27 00:12:47 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Aug 26 17:04:30 2010 -0700

i965: Abort on gl_FragDepth in the new FS backend for now.

It hangs the GPU due to FB_WRITE handling being incomplete.  There are
bigger issues to handle first.

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 4a313a2..af97540 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -530,6 +530,7 @@ fs_visitor::visit(ir_variable *ir)
       this->frag_data = ir;
    } else if (strcmp(ir->name, "gl_FragDepth") == 0) {
       this->frag_depth = ir;
+      assert(!"FINISHME: this hangs currently.");
    }
 
    if (ir->mode == ir_var_in) {




More information about the mesa-commit mailing list