aboutsummaryrefslogtreecommitdiff
path: root/tests/texturing/CMakeLists.gl.txt
blob: cc0623ce64d5c01067109e3db0c26b89cb802811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
)

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

if(NOT USE_WAFFLE)
	# These tests use glutBitmapCharacter.
	piglit_add_executable (getteximage-formats getteximage-formats.c)
	piglit_add_executable (texture-packed-formats texture-packed-formats.c)
	piglit_add_executable (texwrap texwrap.c)
endif(NOT USE_WAFFLE)

piglit_add_executable (1-1-linear-texture 1-1-linear-texture.c)
piglit_add_executable (array-depth-roundtrip array-depth-roundtrip.c)
piglit_add_executable (array-texture array-texture.c)
piglit_add_executable (compressedteximage compressedteximage.c)
piglit_add_executable (copytexsubimage copytexsubimage.c)
piglit_add_executable (copyteximage copyteximage.c)
piglit_add_executable (copyteximage-border copyteximage-border.c)
piglit_add_executable (copyteximage-clipping copyteximage-clipping.c)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
	piglit_add_executable (crossbar crossbar.c)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
piglit_add_executable (cubemap cubemap.c)
piglit_add_executable (depth-level-clamp depth-level-clamp.c)
piglit_add_executable (depthstencil-render-miplevels depthstencil-render-miplevels.cpp)
piglit_add_executable (gen-compressed-teximage gen-compressed-teximage.c)
piglit_add_executable (gen-nonzero-unit gen-nonzero-unit.c)
piglit_add_executable (gen-teximage gen-teximage.c)
piglit_add_executable (gen-texsubimage gen-texsubimage.c)
piglit_add_executable (getteximage-simple getteximage-simple.c)
piglit_add_executable (getteximage-luminance getteximage-luminance.c)
piglit_add_executable (incomplete-texture incomplete-texture.c)
piglit_add_executable (fragment-and-vertex-texturing fragment-and-vertex-texturing.c)
piglit_add_executable (levelclamp levelclamp.c)
piglit_add_executable (lodbias lodbias.c)
piglit_add_executable (lodclamp lodclamp.c)
piglit_add_executable (lodclamp-between lodclamp-between.c)
piglit_add_executable (lodclamp-between-max lodclamp-between-max.c)
piglit_add_executable (max-texture-size max-texture-size.c)
piglit_add_executable (max-texture-size-level max-texture-size-level.c)
piglit_add_executable (mipmap-setup mipmap-setup.c)
piglit_add_executable (proxy-texture proxy-texture.c)
piglit_add_executable (rg-draw-pixels rg-draw-pixels.c)
piglit_add_executable (rg-teximage-01 rg-teximage-01.c rg-teximage-common.c)
piglit_add_executable (rg-teximage-02 rg-teximage-02.c rg-teximage-common.c)
piglit_add_executable (rgtc-teximage-01 rgtc-teximage-01.c rg-teximage-common.c)
piglit_add_executable (rgtc-teximage-02 rgtc-teximage-02.c rg-teximage-common.c)
IF (UNIX)
        target_link_libraries (rg-teximage-01 m)
        target_link_libraries (rg-teximage-02 m)
        target_link_libraries (rgtc-teximage-01 m)
        target_link_libraries (rgtc-teximage-02 m)
ENDIF (UNIX)
piglit_add_executable (s3tc-teximage s3tc-teximage.c)
piglit_add_executable (fxt1-teximage fxt1-teximage.c)
piglit_add_executable (s3tc-texsubimage s3tc-texsubimage.c)
piglit_add_executable (s3tc-errors s3tc-errors.c)
piglit_add_executable (sampler-cube-shadow sampler-cube-shadow.c)
piglit_add_executable (streaming-texture-leak streaming-texture-leak.c)
piglit_add_executable (tex-miplevel-selection tex-miplevel-selection.c)
piglit_add_executable (tex3d tex3d.c)
piglit_add_executable (tex3d-depth1 tex3d-depth1.c)
piglit_add_executable (tex3d-maxsize tex3d-maxsize.c)
piglit_add_executable (tex3d-npot tex3d-npot.c)
piglit_add_executable (texdepth texdepth.c)
piglit_add_executable (teximage-errors teximage-errors.c)
piglit_add_executable (texrect-many texrect-many.c)
piglit_add_executable (texredefine texredefine.c)
piglit_add_executable (depth-tex-modes      depth-tex-modes.c depth-tex-modes-common.c)
piglit_add_executable (depth-tex-modes-rg   depth-tex-modes-rg.c depth-tex-modes-common.c)
piglit_add_executable (depth-tex-modes-glsl depth-tex-modes-glsl.c)
piglit_add_executable (depth-tex-compare depth-tex-compare.c)
piglit_add_executable (depth-cube-map depth-cube-map.c)
piglit_add_executable (sized-texture-format-channels sized-texture-format-channels.c)
piglit_add_executable (tex-border-1 tex-border-1.c)
piglit_add_executable (tex-skipped-unit tex-skipped-unit.c)
piglit_add_executable (tex-swizzle tex-swizzle.c)
piglit_add_executable (tex-srgb tex-srgb.c)
IF (UNIX)
        target_link_libraries (tex-srgb m)
ENDIF (UNIX)
piglit_add_executable (texsubimage texsubimage.c)
piglit_add_executable (texture-al texture-al.c)
piglit_add_executable (texture-rg texture-rg.c)

# vim: ft=cmake: