From: Jason Ekstrand Date: Fri, 12 May 2017 04:56:05 +0000 (-0700) Subject: intel/blorp: Rename emit_viewport_state to emit_cc_viewport X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac79806766c4b5874c9393c4f9ec45816fe6e8e2;p=mesa.git intel/blorp: Rename emit_viewport_state to emit_cc_viewport The real point of this packet is that it sets up CC_VIEWPORT so that name is a bit better. Reviewed-by: Topi Pohjolainen --- diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h index 3c46340a2ee..31cb0491e8c 100644 --- a/src/intel/blorp/blorp_genX_exec.h +++ b/src/intel/blorp/blorp_genX_exec.h @@ -432,8 +432,8 @@ blorp_emit_vertex_elements(struct blorp_batch *batch, /* 3DSTATE_VIEWPORT_STATE_POINTERS */ static uint32_t -blorp_emit_viewport_state(struct blorp_batch *batch, - const struct blorp_params *params) +blorp_emit_cc_viewport(struct blorp_batch *batch, + const struct blorp_params *params) { uint32_t cc_vp_offset; blorp_emit_dynamic(batch, GENX(CC_VIEWPORT), vp, 32, &cc_vp_offset) { @@ -1136,7 +1136,7 @@ blorp_emit_pipeline(struct blorp_batch *batch, blorp_emit_sf_config(batch, params); blorp_emit_ps_config(batch, params); - blorp_emit_viewport_state(batch, params); + blorp_emit_cc_viewport(batch, params); } /******** This is the end of the pipeline setup code ********/