aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-02-17 11:34:05 -0800
committerPaul Berry <[email protected]>2013-04-11 09:25:25 -0700
commit7214451bdce6d553620d2b9b3f1f89d14b113357 (patch)
tree55dbe97988a717a3e56307779c5bc10fd5c902b6 /src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
parent9bb6840b28a9a77377d437198c62d705cade5370 (diff)
i965/vs: rename vec4_generator::generate_vs_instruction.
Since this function is going to get used for geometry shaders too, it deserves a more generic name: generate_vec4_instruction. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_emit.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_emit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
index 4fec4e49bf6..344e0986f4f 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
@@ -620,9 +620,9 @@ vec4_generator::generate_pull_constant_load_gen7(vec4_instruction *inst,
}
void
-vec4_generator::generate_vs_instruction(vec4_instruction *instruction,
- struct brw_reg dst,
- struct brw_reg *src)
+vec4_generator::generate_vec4_instruction(vec4_instruction *instruction,
+ struct brw_reg dst,
+ struct brw_reg *src)
{
vec4_instruction *inst = (vec4_instruction *)instruction;
@@ -876,7 +876,7 @@ vec4_generator::generate_code(exec_list *instructions)
break;
default:
- generate_vs_instruction(inst, dst, src);
+ generate_vec4_instruction(inst, dst, src);
break;
}