summaryrefslogtreecommitdiffstats
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
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]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.h6
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_emit.cpp8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h
index d56e68b4972..3c8aed53cbe 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4.h
@@ -532,9 +532,9 @@ public:
private:
void generate_code(exec_list *instructions);
- void generate_vs_instruction(vec4_instruction *inst,
- struct brw_reg dst,
- struct brw_reg *src);
+ void generate_vec4_instruction(vec4_instruction *inst,
+ struct brw_reg dst,
+ struct brw_reg *src);
void generate_math1_gen4(vec4_instruction *inst,
struct brw_reg dst,
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;
}