summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-01 13:54:24 -0600
committerBrian <[email protected]>2007-10-01 13:54:24 -0600
commit726060680ba69aaec659f78e24f2db58acd780cb (patch)
tree3c39f14b34bd96caf9ca1f0f558f257de2df2ddf /src/mesa
parentdab288b9821572b7fd3d6c9ceb4b8b3a83cd15bf (diff)
don't crash when fog enabled, still not rendered correctly though
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_derived.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c
index 4b5b6a4fc85..7eb3f3a5fae 100644
--- a/src/mesa/pipe/i915simple/i915_state_derived.c
+++ b/src/mesa/pipe/i915simple/i915_state_derived.c
@@ -85,6 +85,10 @@ static void calculate_vertex_layout( struct i915_context *i915 )
vinfo->hwfmt[1] |= hwtc << (unit * 4);
}
break;
+ case TGSI_SEMANTIC_FOG:
+ fprintf(stderr, "i915 fogcoord not implemented yet\n");
+ draw_emit_vertex_attr(vinfo, FORMAT_1F, INTERP_PERSPECTIVE);
+ break;
default:
assert(0);
}