aboutsummaryrefslogtreecommitdiff
path: root/tests/hiz
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-05-18 16:14:32 -0700
committerChad Versace <chad.versace@intel.com>2011-05-19 07:49:23 -0700
commit53facdccd5b535c358bf931d4c7001afce529568 (patch)
tree140336ec7295e016a5c86b1cd5d428b0aedbb46a /tests/hiz
parent734c6e417d5deb36ffacca53681cbfba1b4d3592 (diff)
hiz: Rename hiz_check_fbo_depth_test() to hiz_run_test_depth_test_fbo()
... in order to impose naming consistency with hiz_run_test_depth_test_window() and future test functions. Signed-off-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'tests/hiz')
-rw-r--r--tests/hiz/hiz-depth-test-fbo-d24-s8.c2
-rw-r--r--tests/hiz/hiz-depth-test-fbo-d24.c2
-rw-r--r--tests/hiz/hiz-depth-test-fbo-d24s8.c2
-rw-r--r--tests/hiz/hiz-util.c2
-rw-r--r--tests/hiz/hiz-util.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/hiz/hiz-depth-test-fbo-d24-s8.c b/tests/hiz/hiz-depth-test-fbo-d24-s8.c
index b027174d..8d7fc650 100644
--- a/tests/hiz/hiz-depth-test-fbo-d24-s8.c
+++ b/tests/hiz/hiz-depth-test-fbo-d24-s8.c
@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv)
enum piglit_result
piglit_display()
{
- if (hiz_check_fbo_depth_test(&fbo_options))
+ if (hiz_run_test_depth_test_fbo(&fbo_options))
return PIGLIT_PASS;
else
return PIGLIT_FAIL;
diff --git a/tests/hiz/hiz-depth-test-fbo-d24.c b/tests/hiz/hiz-depth-test-fbo-d24.c
index 14972649..193e0300 100644
--- a/tests/hiz/hiz-depth-test-fbo-d24.c
+++ b/tests/hiz/hiz-depth-test-fbo-d24.c
@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv)
enum piglit_result
piglit_display()
{
- if (hiz_check_fbo_depth_test(&fbo_options))
+ if (hiz_run_test_depth_test_fbo(&fbo_options))
return PIGLIT_PASS;
else
return PIGLIT_FAIL;
diff --git a/tests/hiz/hiz-depth-test-fbo-d24s8.c b/tests/hiz/hiz-depth-test-fbo-d24s8.c
index b5bdc75c..53ca958e 100644
--- a/tests/hiz/hiz-depth-test-fbo-d24s8.c
+++ b/tests/hiz/hiz-depth-test-fbo-d24s8.c
@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv)
enum piglit_result
piglit_display()
{
- if (hiz_check_fbo_depth_test(&fbo_options))
+ if (hiz_run_test_depth_test_fbo(&fbo_options))
return PIGLIT_PASS;
else
return PIGLIT_FAIL;
diff --git a/tests/hiz/hiz-util.c b/tests/hiz/hiz-util.c
index 7ca23afa..ec54add8 100644
--- a/tests/hiz/hiz-util.c
+++ b/tests/hiz/hiz-util.c
@@ -239,7 +239,7 @@ hiz_delete_fbo(GLuint fbo)
}
bool
-hiz_check_fbo_depth_test(const struct hiz_fbo_options *fbo_options)
+hiz_run_test_depth_test_fbo(const struct hiz_fbo_options *fbo_options)
{
bool pass = true;
GLuint fbo = 0;
diff --git a/tests/hiz/hiz-util.h b/tests/hiz/hiz-util.h
index 50a99da0..271df966 100644
--- a/tests/hiz/hiz-util.h
+++ b/tests/hiz/hiz-util.h
@@ -90,7 +90,7 @@ void hiz_delete_fbo(GLuint fbo);
* \param options Perform the test with an FBO with the given formats.
* \return True if test passed.
*/
-bool hiz_check_fbo_depth_test(const struct hiz_fbo_options *options);
+bool hiz_run_test_depth_test_fbo(const struct hiz_fbo_options *options);
/**
* Check that depth tests work correctly when rendering to the window