mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
i965: Trivial formatting changes in gen7_vs_state.c
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
This commit is contained in:
parent
f917a65b3e
commit
d302f51a1e
1 changed files with 5 additions and 5 deletions
|
|
@ -62,6 +62,7 @@ gen7_upload_constant_state(struct brw_context *brw,
|
|||
OUT_BATCH(active ? stage_state->push_const_size : 0);
|
||||
OUT_BATCH(0);
|
||||
}
|
||||
|
||||
/* Pointer to the constant buffer. Covered by the set of state flags
|
||||
* from gen6_prepare_wm_contants
|
||||
*/
|
||||
|
|
@ -95,15 +96,14 @@ gen7_upload_constant_state(struct brw_context *brw,
|
|||
|
||||
ADVANCE_BATCH();
|
||||
|
||||
/* On SKL+ the new constants don't take effect until the next corresponding
|
||||
* 3DSTATE_BINDING_TABLE_POINTER_* command is parsed so we need to ensure
|
||||
* that is sent
|
||||
*/
|
||||
/* On SKL+ the new constants don't take effect until the next corresponding
|
||||
* 3DSTATE_BINDING_TABLE_POINTER_* command is parsed so we need to ensure
|
||||
* that is sent
|
||||
*/
|
||||
if (brw->gen >= 9)
|
||||
brw->ctx.NewDriverState |= BRW_NEW_SURFACES;
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
upload_vs_state(struct brw_context *brw)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue