[Piglit] [PATCH v3] GL 3.2: Test validity of GL_DEPTH_CLAMP state

Paul Berry stereotype441 at gmail.com
Mon Aug 19 10:05:43 PDT 2013


On 15 August 2013 15:12, Nicholas Mack <nichmack at gmail.com> wrote:

> diff --git a/tests/spec/CMakeLists.txt b/tests/spec/CMakeLists.txt
> index 96987cf..327780f 100644
> --- a/tests/spec/CMakeLists.txt
> +++ b/tests/spec/CMakeLists.txt
> @@ -1,6 +1,7 @@
>  add_subdirectory (amd_performance_monitor)
>  add_subdirectory (arb_color_buffer_float)
>  add_subdirectory (arb_debug_output)
> +add_subdirectory (arb_depth_clamp)
>  add_subdirectory (arb_draw_instanced)
>  add_subdirectory (arb_es2_compatibility)
>  add_subdirectory (arb_framebuffer_object)
> diff --git a/tests/spec/arb_depth_clamp/CMakeLists.gl.txt
> b/tests/spec/arb_depth_clamp/CMakeLists.gl.txt
> new file mode 100644
> index 0000000..f3a6ee4
> --- /dev/null
> +++ b/tests/spec/arb_depth_clamp/CMakeLists.gl.txt
> @@ -0,0 +1,14 @@
> +include_directories(
> +       ${GLEXT_INCLUDE_DIR}
> +       ${OPENGL_INCLUDE_PATH}
> +)
> +
> +link_libraries (
> +       piglitutil_${piglit_target_api}
> +       ${OPENGL_gl_LIBRARY}
> +       ${OPENGL_glu_LIBRARY}
> +)
> +
> +piglit_add_executable (gl-arb-depth-clamp depth-clamp.c)
>

This test needs to be added to all.tests.

With that fixed, this patch is:

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130819/e902a7bc/attachment.html>


More information about the Piglit mailing list