Summary: | [swrast] piglit glean glsl1 regression | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | eric, kenneth |
Version: | 10.2 | Keywords: | bisected, have-backtrace, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 79039 |
Description
Vinson Lee
2014-04-10 21:42:17 UTC
mesa: d9e102b220701c15730329290daa0176751af09a (master 10.3.0-devel) This regression is still present. This patch silences the assertion, but I'm really not sure if it's the right thing to do. --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1797,7 +1797,8 @@ ir_to_mesa_visitor::visit(ir_assignment *ir) int first_enabled_chan = 0; int rhs_chan = 0; - assert(ir->lhs->type->is_vector()); + assert(ir->lhs->type->is_vector() || + ir->lhs->type->is_matrix()); l.writemask = ir->write_mask; for (int i = 0; i < 4; i++) { The corresponding code in the src/mesa/state_tracker/st_glsl_to_tgsi.cpp has no type assertions. So maybe we should just remove the assert()? The alternative I think would be to make "if (ir->write_mask == 0) {" (which is presumably the case that was being hit before) also explicitly accept matrices/structures. mesa: d13d2fd16132f351ec7c8184f165faeac3b31bb4 (master 10.4.0-devel) Regression is still present. mesa: 8323796840a343ee39687cc8e8b424ee43d6fee7 (10.6.0-devel) piglit glean glsl1 regression on swrast is still present. mesa: 717376155d2082d7bf94122a1e1d383b39e0b070 (master 10.7.0-devel) piglit glean glsl1 regression on swrast is still present. mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) piglit glean glsl1 regression on swrast is still present. mesa: 150736b5c34fc07de296454b973ae72ede215ae2 (master 17.1.0-devel) Regression is still present. All glean tests have been rewritten and removed from piglit, and since nobody really cares enough to fix swrast anyway I'm closing this bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.