[Mesa-dev] [PATCH 06/27] radeonsi: rename build_streamout_store -> build_tbuffer_store_dwords
Marek Olšák
maraeo at gmail.com
Tue Jun 16 16:06:09 PDT 2015
From: Marek Olšák <marek.olsak at amd.com>
It will be reused later.
---
src/gallium/drivers/radeonsi/si_shader.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 9cb462d..3d1481a 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -1000,13 +1000,13 @@ static void build_tbuffer_store(struct si_shader_context *shader,
args, Elements(args));
}
-static void build_streamout_store(struct si_shader_context *shader,
- LLVMValueRef rsrc,
- LLVMValueRef vdata,
- unsigned num_channels,
- LLVMValueRef vaddr,
- LLVMValueRef soffset,
- unsigned inst_offset)
+static void build_tbuffer_store_dwords(struct si_shader_context *shader,
+ LLVMValueRef rsrc,
+ LLVMValueRef vdata,
+ unsigned num_channels,
+ LLVMValueRef vaddr,
+ LLVMValueRef soffset,
+ unsigned inst_offset)
{
static unsigned dfmt[] = {
V_008F0C_BUF_DATA_FORMAT_32,
@@ -1119,11 +1119,11 @@ static void si_llvm_emit_streamout(struct si_shader_context *shader,
break;
}
- build_streamout_store(shader, shader->so_buffers[buf_idx],
- vdata, num_comps,
- so_write_offset[buf_idx],
- LLVMConstInt(i32, 0, 0),
- so->output[i].dst_offset*4);
+ build_tbuffer_store_dwords(shader, shader->so_buffers[buf_idx],
+ vdata, num_comps,
+ so_write_offset[buf_idx],
+ LLVMConstInt(i32, 0, 0),
+ so->output[i].dst_offset*4);
}
}
lp_build_endif(&if_ctx);
--
2.1.0
More information about the mesa-dev
mailing list