<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [bisected] wflinfo fails ctx->Const.MaxCombinedTextureImageUnits assertion"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107669#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [bisected] wflinfo fails ctx->Const.MaxCombinedTextureImageUnits assertion"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107669">bug 107669</a>
from <span class="vcard"><a class="email" href="mailto:maraeo@gmail.com" title="Marek Olšák <maraeo@gmail.com>"> <span class="fn">Marek Olšák</span></a>
</span></b>
<pre>Here's your fix:
diff --git a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i965/brw_context.c
index 6ba64e4e06d..51cae9dc637 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -422,7 +422,7 @@ brw_initialize_context_constants(struct brw_context *brw)
};
unsigned num_stages = 0;
- for (int i = 0; i < MESA_SHADER_STAGES; i++) {
+ for (int i = 0; i <= MESA_SHADER_FRAGMENT; i++) {
if (stage_exists[i])
num_stages++;
}
Feel free to push that.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>