1 #ifndef _VKTSYNCHRONIZATIONOPERATIONTESTDATA_HPP
2 #define _VKTSYNCHRONIZATIONOPERATIONTESTDATA_HPP
3 /*------------------------------------------------------------------------
4 * Vulkan Conformance Tests
5 * ------------------------
7 * Copyright (c) 2016 The Khronos Group Inc.
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 * \brief Synchronization operation static data
24 *//*--------------------------------------------------------------------*/
26 #include "tcuDefs.hpp"
28 #include "tcuVector.hpp"
29 #include "vktSynchronizationOperation.hpp"
33 namespace synchronization
36 static const OperationName s_writeOps[] =
38 OPERATION_NAME_WRITE_FILL_BUFFER,
39 OPERATION_NAME_WRITE_UPDATE_BUFFER,
40 OPERATION_NAME_WRITE_COPY_BUFFER,
41 OPERATION_NAME_WRITE_COPY_BUFFER_TO_IMAGE,
42 OPERATION_NAME_WRITE_COPY_IMAGE_TO_BUFFER,
43 OPERATION_NAME_WRITE_COPY_IMAGE,
44 OPERATION_NAME_WRITE_BLIT_IMAGE,
45 OPERATION_NAME_WRITE_SSBO_VERTEX,
46 OPERATION_NAME_WRITE_SSBO_TESSELLATION_CONTROL,
47 OPERATION_NAME_WRITE_SSBO_TESSELLATION_EVALUATION,
48 OPERATION_NAME_WRITE_SSBO_GEOMETRY,
49 OPERATION_NAME_WRITE_SSBO_FRAGMENT,
50 OPERATION_NAME_WRITE_SSBO_COMPUTE,
51 OPERATION_NAME_WRITE_SSBO_COMPUTE_INDIRECT,
52 OPERATION_NAME_WRITE_IMAGE_VERTEX,
53 OPERATION_NAME_WRITE_IMAGE_TESSELLATION_CONTROL,
54 OPERATION_NAME_WRITE_IMAGE_TESSELLATION_EVALUATION,
55 OPERATION_NAME_WRITE_IMAGE_GEOMETRY,
56 OPERATION_NAME_WRITE_IMAGE_FRAGMENT,
57 OPERATION_NAME_WRITE_IMAGE_COMPUTE,
58 OPERATION_NAME_WRITE_IMAGE_COMPUTE_INDIRECT,
59 OPERATION_NAME_WRITE_CLEAR_COLOR_IMAGE,
60 OPERATION_NAME_WRITE_CLEAR_DEPTH_STENCIL_IMAGE,
61 OPERATION_NAME_WRITE_DRAW,
62 OPERATION_NAME_WRITE_DRAW_INDEXED,
63 OPERATION_NAME_WRITE_DRAW_INDIRECT,
64 OPERATION_NAME_WRITE_DRAW_INDEXED_INDIRECT,
65 OPERATION_NAME_WRITE_CLEAR_ATTACHMENTS,
66 OPERATION_NAME_WRITE_INDIRECT_BUFFER_DRAW,
67 OPERATION_NAME_WRITE_INDIRECT_BUFFER_DRAW_INDEXED,
68 OPERATION_NAME_WRITE_INDIRECT_BUFFER_DISPATCH,
71 static const OperationName s_readOps[] =
73 OPERATION_NAME_READ_COPY_BUFFER,
74 OPERATION_NAME_READ_COPY_BUFFER_TO_IMAGE,
75 OPERATION_NAME_READ_COPY_IMAGE_TO_BUFFER,
76 OPERATION_NAME_READ_COPY_IMAGE,
77 OPERATION_NAME_READ_BLIT_IMAGE,
78 OPERATION_NAME_READ_UBO_VERTEX,
79 OPERATION_NAME_READ_UBO_TESSELLATION_CONTROL,
80 OPERATION_NAME_READ_UBO_TESSELLATION_EVALUATION,
81 OPERATION_NAME_READ_UBO_GEOMETRY,
82 OPERATION_NAME_READ_UBO_FRAGMENT,
83 OPERATION_NAME_READ_UBO_COMPUTE,
84 OPERATION_NAME_READ_UBO_COMPUTE_INDIRECT,
85 OPERATION_NAME_READ_SSBO_VERTEX,
86 OPERATION_NAME_READ_SSBO_TESSELLATION_CONTROL,
87 OPERATION_NAME_READ_SSBO_TESSELLATION_EVALUATION,
88 OPERATION_NAME_READ_SSBO_GEOMETRY,
89 OPERATION_NAME_READ_SSBO_FRAGMENT,
90 OPERATION_NAME_READ_SSBO_COMPUTE,
91 OPERATION_NAME_READ_SSBO_COMPUTE_INDIRECT,
92 OPERATION_NAME_READ_IMAGE_VERTEX,
93 OPERATION_NAME_READ_IMAGE_TESSELLATION_CONTROL,
94 OPERATION_NAME_READ_IMAGE_TESSELLATION_EVALUATION,
95 OPERATION_NAME_READ_IMAGE_GEOMETRY,
96 OPERATION_NAME_READ_IMAGE_FRAGMENT,
97 OPERATION_NAME_READ_IMAGE_COMPUTE,
98 OPERATION_NAME_READ_IMAGE_COMPUTE_INDIRECT,
99 OPERATION_NAME_READ_INDIRECT_BUFFER_DRAW,
100 OPERATION_NAME_READ_INDIRECT_BUFFER_DRAW_INDEXED,
101 OPERATION_NAME_READ_INDIRECT_BUFFER_DISPATCH,
102 OPERATION_NAME_READ_VERTEX_INPUT,
108 #endif // _VKTSYNCHRONIZATIONOPERATIONTESTDATA_HPP