[Mesa-dev] [PATCH 31/43] intel/blorp: Rename emit_viewport_state to emit_cc_viewport

Jason Ekstrand jason at jlekstrand.net
Tue May 16 22:45:25 UTC 2017


The real point of this packet is that it sets up CC_VIEWPORT so that
name is a bit better.
---
 src/intel/blorp/blorp_genX_exec.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 3c46340..31cb049 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 ********/
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list