include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (amd_vertex_shader_layer-layered-2d-texture-render layered-2d-texture-render.c)
piglit_add_executable (amd_vertex_shader_layer-layered-depth-texture-render layered-depth-texture-render.c)
