mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv
This commit is contained in:
parent
59e7bfa1de
commit
b7de64c46c
1 changed files with 6 additions and 0 deletions
|
|
@ -161,6 +161,12 @@ static void calculate_vertex_layout( struct i915_context *i915 )
|
|||
draw_set_vertex_attributes( i915->draw,
|
||||
vinfo->slot_to_attrib,
|
||||
vinfo->num_attribs);
|
||||
|
||||
/* Need to set this flag so that the LIS2/4 registers get set.
|
||||
* It also means the i915_update_immediate() function must be called
|
||||
* after this one, in i915_update_derived().
|
||||
*/
|
||||
i915->dirty |= I915_NEW_VERTEX_FORMAT;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue