include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${piglit_SOURCE_DIR}/tests/util
)

link_libraries (
	piglitutil_${piglit_target_api}
	${OPENGL_gl_LIBRARY}
)

piglit_add_executable (arb_compute_shader-api_errors api_errors.c)
piglit_add_executable (arb_compute_shader-minmax minmax.c)
piglit_add_executable (arb_compute_shader-compute-and-render-bug-109630 compute-and-render-bug-109630.c)

set(depends cs-ids-common.c common.c)

piglit_add_executable (arb_compute_shader-dlist dlist.c ${depends})
piglit_add_executable (arb_compute_shader-indirect-compute indirect-compute.c ${depends})
piglit_add_executable (arb_compute_shader-local-id local-id.c ${depends})
piglit_add_executable (arb_compute_shader-render-and-compute render-and-compute.c ${depends})
piglit_add_executable (arb_compute_shader-zero-dispatch-size zero-dispatch-size.c ${depends})

# vim: ft=cmake:
