[Mesa-dev] [PATCH v2 15/19] i965/vs: rename vec4_generator::generate_vs_instruction.
Paul Berry
stereotype441 at gmail.com
Tue Apr 9 15:11:18 PDT 2013
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 <jordan.l.justen at intel.com>
---
src/mesa/drivers/dri/i965/brw_vec4.h | 6 +++---
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 8 ++++----
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 0c9fb70..73d8949 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 fc00cb3..0f0877e 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
@@ -613,9 +613,9 @@ vec4_generator::generate_pull_constant_load(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;
@@ -865,7 +865,7 @@ vec4_generator::generate_code(exec_list *instructions)
break;
default:
- generate_vs_instruction(inst, dst, src);
+ generate_vec4_instruction(inst, dst, src);
break;
}
--
1.8.2.1
More information about the mesa-dev
mailing list