include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (gl-3.2-layered-rendering-blit blit.c)
piglit_add_executable (gl-3.2-layered-rendering-clear-color clear-color.c)
piglit_add_executable (gl-3.2-layered-rendering-clear-color-all-types clear-color-all-types.c)
piglit_add_executable (gl-3.2-layered-rendering-clear-color-mismatched-layer-count clear-color-mismatched-layer-count.c)
piglit_add_executable (gl-3.2-layered-rendering-clear-depth clear-depth.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffer-layered-attachments framebuffer-layered-attachments.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffer-layer-attachment-mismatch framebuffer-layer-attachment-mismatch.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffer-layer-complete framebuffer-layer-complete.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffer-layer-count-mismatch framebuffer-layer-count-mismatch.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffertexture framebuffertexture.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffertexture-buffer-textures framebuffertexture-buffer-textures.c)
piglit_add_executable (gl-3.2-layered-rendering-framebuffertexture-defaults framebuffertexture-defaults.c)
piglit_add_executable (gl-3.2-layered-rendering-readpixels readpixels.c)
piglit_add_executable (gl-3.2-layered-rendering-gl-layer gl-layer.c)
piglit_add_executable (gl-3.2-layered-rendering-gl-layer-cube-map gl-layer-cube-map.c)
piglit_add_executable (gl-3.2-layered-rendering-gl-layer-not-layered gl-layer-not-layered.c)
piglit_add_executable (gl-3.2-layered-rendering-gl-layer-render gl-layer-render.c)
piglit_add_executable (gl-3.2-layered-rendering-gl-layer-render-clipped gl-layer-render-clipped.c)
piglit_add_executable (gl-3.2-layered-rendering-gl-layer-render-storage gl-layer-render-storage.c)
# vim: ft=cmake:
