Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4401 | ||
---|---|---|---|
Line 285... | Line 285... | ||
285 | old_key->line_aa, key->line_aa); |
285 | old_key->line_aa, key->line_aa); |
286 | found |= key_debug(brw, "renderbuffer height", |
286 | found |= key_debug(brw, "renderbuffer height", |
287 | old_key->drawable_height, key->drawable_height); |
287 | old_key->drawable_height, key->drawable_height); |
288 | found |= key_debug(brw, "input slots valid", |
288 | found |= key_debug(brw, "input slots valid", |
289 | old_key->input_slots_valid, key->input_slots_valid); |
289 | old_key->input_slots_valid, key->input_slots_valid); |
- | 290 | found |= key_debug(brw, "mrt alpha test function", |
|
- | 291 | old_key->alpha_test_func, key->alpha_test_func); |
|
- | 292 | found |= key_debug(brw, "mrt alpha test reference value", |
|
- | 293 | old_key->alpha_test_ref, key->alpha_test_ref); |
|
Line 290... | Line 294... | ||
290 | 294 | ||
Line 291... | Line 295... | ||
291 | found |= brw_debug_recompile_sampler_key(brw, &old_key->tex, &key->tex); |
295 | found |= brw_debug_recompile_sampler_key(brw, &old_key->tex, &key->tex); |
292 | 296 | ||
Line 465... | Line 469... | ||
465 | 469 | ||
466 | /* BRW_NEW_VUE_MAP_GEOM_OUT */ |
470 | /* BRW_NEW_VUE_MAP_GEOM_OUT */ |
467 | if (brw->gen < 6) |
471 | if (brw->gen < 6) |
Line -... | Line 472... | ||
- | 472 | key->input_slots_valid = brw->vue_map_geom_out.slots_valid; |
|
- | 473 | ||
- | 474 | ||
- | 475 | /* _NEW_COLOR | _NEW_BUFFERS */ |
|
- | 476 | /* Pre-gen6, the hardware alpha test always used each render |
|
- | 477 | * target's alpha to do alpha test, as opposed to render target 0's alpha |
|
- | 478 | * like GL requires. Fix that by building the alpha test into the |
|
- | 479 | * shader, and we'll skip enabling the fixed function alpha test. |
|
- | 480 | */ |
|
- | 481 | if (brw->gen < 6 && ctx->DrawBuffer->_NumColorDrawBuffers > 1 && ctx->Color.AlphaEnabled) { |
|
- | 482 | key->alpha_test_func = ctx->Color.AlphaFunc; |
|
- | 483 | key->alpha_test_ref = ctx->Color.AlphaRef; |
|
468 | key->input_slots_valid = brw->vue_map_geom_out.slots_valid; |
484 | } |
469 | 485 | ||
470 | /* The unique fragment program ID */ |
486 | /* The unique fragment program ID */ |