summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_offset_array.cpp
diff options
context:
space:
mode:
authorAndres Gomez <agomez@igalia.com>2014-10-24 16:51:09 +0300
committerKenneth Graunke <kenneth@whitecape.org>2014-10-24 23:14:04 -0700
commitb0e0c26f0214739108dbf0d6ae9596caf13287ee (patch)
tree799b6fcbc85e6c88a21078e862cbd75a3cd5c10f /src/glsl/lower_offset_array.cpp
parent7d560a3861ff30aa9d8ec872cf9cd7d72a980eb2 (diff)
glsl: Standardize names and fix typos
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/lower_offset_array.cpp')
-rw-r--r--src/glsl/lower_offset_array.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/glsl/lower_offset_array.cpp b/src/glsl/lower_offset_array.cpp
index 5b48526db1d..c30f8014342 100644
--- a/src/glsl/lower_offset_array.cpp
+++ b/src/glsl/lower_offset_array.cpp
@@ -22,7 +22,7 @@
*/
/**
- * \file brw_lower_offset_array.cpp
+ * \file lower_offset_array.cpp
*
* IR lower pass to decompose ir_texture ir_tg4 with an array of offsets
* into four ir_tg4s with a single ivec2 offset, select the .w component of each,
@@ -39,9 +39,9 @@
using namespace ir_builder;
-class brw_lower_offset_array_visitor : public ir_rvalue_visitor {
+class lower_offset_array_visitor : public ir_rvalue_visitor {
public:
- brw_lower_offset_array_visitor()
+ lower_offset_array_visitor()
{
progress = false;
}
@@ -52,7 +52,7 @@ public:
};
void
-brw_lower_offset_array_visitor::handle_rvalue(ir_rvalue **rv)
+lower_offset_array_visitor::handle_rvalue(ir_rvalue **rv)
{
if (*rv == NULL || (*rv)->ir_type != ir_type_texture)
return;
@@ -83,7 +83,7 @@ brw_lower_offset_array_visitor::handle_rvalue(ir_rvalue **rv)
bool
lower_offset_arrays(exec_list *instructions)
{
- brw_lower_offset_array_visitor v;
+ lower_offset_array_visitor v;
visit_list_elements(&v, instructions);