mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 09:00:10 +01:00
i965: Drop VECTOR_MASK_ENABLE in Broadwell's 3DSTATE_VS packet.
We never set it on previous generations, but I had to set it in 3DSTATE_PS for correct behavior. For symmetry, I set it in 3DSTATE_VS as well, but there's no actual need to do so. Piglit works fine either way. The documentation also remarks that there should never be a need to program this. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
4dd1002518
commit
b0e90ea09f
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ upload_vs_state(struct brw_context *brw)
|
||||||
OUT_BATCH(_3DSTATE_VS << 16 | (9 - 2));
|
OUT_BATCH(_3DSTATE_VS << 16 | (9 - 2));
|
||||||
OUT_BATCH(stage_state->prog_offset);
|
OUT_BATCH(stage_state->prog_offset);
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
OUT_BATCH(GEN6_VS_VECTOR_MASK_ENABLE | floating_point_mode |
|
OUT_BATCH(floating_point_mode |
|
||||||
((ALIGN(stage_state->sampler_count, 4) / 4) <<
|
((ALIGN(stage_state->sampler_count, 4) / 4) <<
|
||||||
GEN6_VS_SAMPLER_COUNT_SHIFT) |
|
GEN6_VS_SAMPLER_COUNT_SHIFT) |
|
||||||
((prog_data->base.binding_table.size_bytes / 4) <<
|
((prog_data->base.binding_table.size_bytes / 4) <<
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue