diff options
author | Jason Ekstrand <[email protected]> | 2016-04-18 17:03:00 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-20 14:54:09 -0700 |
commit | 50018522d2f2e1deb91710d63e0985c0b3dc8818 (patch) | |
tree | 439040b1a4945376f9eed1b65d70ade5ccf2a177 /src/intel/vulkan/genX_state.c | |
parent | 0a45395902134a4541be68c0522dbb623f32f765 (diff) |
anv: s/anv_batch_emit_blk/anv_batch_emit/
Acked-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_state.c')
-rw-r--r-- | src/intel/vulkan/genX_state.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/intel/vulkan/genX_state.c b/src/intel/vulkan/genX_state.c index b997e1bd138..a53555cbed9 100644 --- a/src/intel/vulkan/genX_state.c +++ b/src/intel/vulkan/genX_state.c @@ -44,30 +44,30 @@ genX(init_device_state)(struct anv_device *device) batch.start = batch.next = cmds; batch.end = (void *) cmds + sizeof(cmds); - anv_batch_emit_blk(&batch, GENX(PIPELINE_SELECT), ps) { + anv_batch_emit(&batch, GENX(PIPELINE_SELECT), ps) { #if GEN_GEN >= 9 ps.MaskBits = 3; #endif ps.PipelineSelection = _3D; } - anv_batch_emit_blk(&batch, GENX(3DSTATE_VF_STATISTICS), vfs) + anv_batch_emit(&batch, GENX(3DSTATE_VF_STATISTICS), vfs) vfs.StatisticsEnable = true; - anv_batch_emit_blk(&batch, GENX(3DSTATE_HS), hs); - anv_batch_emit_blk(&batch, GENX(3DSTATE_TE), ts); - anv_batch_emit_blk(&batch, GENX(3DSTATE_DS), ds); + anv_batch_emit(&batch, GENX(3DSTATE_HS), hs); + anv_batch_emit(&batch, GENX(3DSTATE_TE), ts); + anv_batch_emit(&batch, GENX(3DSTATE_DS), ds); - anv_batch_emit_blk(&batch, GENX(3DSTATE_STREAMOUT), so); - anv_batch_emit_blk(&batch, GENX(3DSTATE_AA_LINE_PARAMETERS), aa); + anv_batch_emit(&batch, GENX(3DSTATE_STREAMOUT), so); + anv_batch_emit(&batch, GENX(3DSTATE_AA_LINE_PARAMETERS), aa); #if GEN_GEN >= 8 - anv_batch_emit_blk(&batch, GENX(3DSTATE_WM_CHROMAKEY), ck); + anv_batch_emit(&batch, GENX(3DSTATE_WM_CHROMAKEY), ck); /* See the Vulkan 1.0 spec Table 24.1 "Standard sample locations" and * VkPhysicalDeviceFeatures::standardSampleLocations. */ - anv_batch_emit_blk(&batch, GENX(3DSTATE_SAMPLE_PATTERN), sp) { + anv_batch_emit(&batch, GENX(3DSTATE_SAMPLE_PATTERN), sp) { sp._1xSample0XOffset = 0.5; sp._1xSample0YOffset = 0.5; sp._2xSample0XOffset = 0.25; @@ -135,7 +135,7 @@ genX(init_device_state)(struct anv_device *device) } #endif - anv_batch_emit_blk(&batch, GENX(MI_BATCH_BUFFER_END), bbe); + anv_batch_emit(&batch, GENX(MI_BATCH_BUFFER_END), bbe); assert(batch.next <= batch.end); |