Commit 53facdcc authored by Chad Versace's avatar Chad Versace

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: default avatarChad Versace <chad.versace@intel.com>
parent 734c6e41
...@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv) ...@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv)
enum piglit_result enum piglit_result
piglit_display() piglit_display()
{ {
if (hiz_check_fbo_depth_test(&fbo_options)) if (hiz_run_test_depth_test_fbo(&fbo_options))
return PIGLIT_PASS; return PIGLIT_PASS;
else else
return PIGLIT_FAIL; return PIGLIT_FAIL;
......
...@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv) ...@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv)
enum piglit_result enum piglit_result
piglit_display() piglit_display()
{ {
if (hiz_check_fbo_depth_test(&fbo_options)) if (hiz_run_test_depth_test_fbo(&fbo_options))
return PIGLIT_PASS; return PIGLIT_PASS;
else else
return PIGLIT_FAIL; return PIGLIT_FAIL;
......
...@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv) ...@@ -58,7 +58,7 @@ piglit_init(int argc, char **argv)
enum piglit_result enum piglit_result
piglit_display() piglit_display()
{ {
if (hiz_check_fbo_depth_test(&fbo_options)) if (hiz_run_test_depth_test_fbo(&fbo_options))
return PIGLIT_PASS; return PIGLIT_PASS;
else else
return PIGLIT_FAIL; return PIGLIT_FAIL;
......
...@@ -239,7 +239,7 @@ hiz_delete_fbo(GLuint fbo) ...@@ -239,7 +239,7 @@ hiz_delete_fbo(GLuint fbo)
} }
bool 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; bool pass = true;
GLuint fbo = 0; GLuint fbo = 0;
......
...@@ -90,7 +90,7 @@ void hiz_delete_fbo(GLuint fbo); ...@@ -90,7 +90,7 @@ void hiz_delete_fbo(GLuint fbo);
* \param options Perform the test with an FBO with the given formats. * \param options Perform the test with an FBO with the given formats.
* \return True if test passed. * \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 * Check that depth tests work correctly when rendering to the window
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment