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 <topi.pohjolainen@intel.com>
This commit is contained in:
Jason Ekstrand
2017-05-11 21:56:05 -07:00
parent 1f2f90be1f
commit ac79806766
+3 -3
View File
@@ -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 ********/