diff options
author | Kenneth Graunke <[email protected]> | 2018-02-28 13:22:22 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-02-28 15:03:51 -0800 |
commit | e51b0664e03a028961e1a4250c49fbc3005b2fa4 (patch) | |
tree | c9a4e642a9177c54306dd3339edeee2315809d25 /src/gallium/include/pipe/p_state.h | |
parent | e4e79a02da2e813284aa8a82dfd4423f0ae9923a (diff) |
i965: Don't emit MOVs with undefined registers for Gen4 point clipping.
Gen4 point clipping calls brw_clip_tri_alloc_regs with nr_verts == 0,
which means that c->reg.vertex[] isn't initialized. It then emits MOVs
to stomp components of those uninitialized registers to 0.
This started causing assertions after Matt's recent series, when those
uninitialized registers started getting BRW_REGISTER_TYPE_NF, which
definitely doesn't exist on Gen4-5.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
0 files changed, 0 insertions, 0 deletions