xref: /aosp_15_r20/external/deqp/doc/testspecs/GLES31/functional.synchronization.txt (revision 35238bce31c2a825756842865a792f8cf7f89930)
1*35238bceSAndroid Build Coastguard Worker-------------------------------------------------------------------------
2*35238bceSAndroid Build Coastguard WorkerdrawElements Quality Program Test Specification
3*35238bceSAndroid Build Coastguard Worker-----------------------------------------------
4*35238bceSAndroid Build Coastguard Worker
5*35238bceSAndroid Build Coastguard WorkerCopyright 2014 The Android Open Source Project
6*35238bceSAndroid Build Coastguard Worker
7*35238bceSAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the "License");
8*35238bceSAndroid Build Coastguard Workeryou may not use this file except in compliance with the License.
9*35238bceSAndroid Build Coastguard WorkerYou may obtain a copy of the License at
10*35238bceSAndroid Build Coastguard Worker
11*35238bceSAndroid Build Coastguard Worker     http://www.apache.org/licenses/LICENSE-2.0
12*35238bceSAndroid Build Coastguard Worker
13*35238bceSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software
14*35238bceSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS,
15*35238bceSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16*35238bceSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
17*35238bceSAndroid Build Coastguard Workerlimitations under the License.
18*35238bceSAndroid Build Coastguard Worker-------------------------------------------------------------------------
19*35238bceSAndroid Build Coastguard Worker    Shader Storage / Image Storage synchronization tests
20*35238bceSAndroid Build Coastguard Worker
21*35238bceSAndroid Build Coastguard WorkerTests:
22*35238bceSAndroid Build Coastguard Worker + dEQP-GLES31.functional.synchronization.*
23*35238bceSAndroid Build Coastguard Worker
24*35238bceSAndroid Build Coastguard WorkerIncludes:
25*35238bceSAndroid Build Coastguard Worker
26*35238bceSAndroid Build Coastguard Worker + In-invocation synchronization
27*35238bceSAndroid Build Coastguard Worker   - Test synchronization primitives within a single invocation.
28*35238bceSAndroid Build Coastguard Worker
29*35238bceSAndroid Build Coastguard Worker + Inter-invocation synchronization
30*35238bceSAndroid Build Coastguard Worker   - Test synchronization between work group invocations.
31*35238bceSAndroid Build Coastguard Worker
32*35238bceSAndroid Build Coastguard Worker + Inter-call synchronization
33*35238bceSAndroid Build Coastguard Worker   - Test synchronization between draw calls
34*35238bceSAndroid Build Coastguard Worker
35*35238bceSAndroid Build Coastguard WorkerExcludes:
36*35238bceSAndroid Build Coastguard Worker
37*35238bceSAndroid Build Coastguard Worker - Inter-invocation synchronization without use of barrier()
38*35238bceSAndroid Build Coastguard Worker - Use vertex, fragment, or geometry shaders.
39*35238bceSAndroid Build Coastguard Worker
40*35238bceSAndroid Build Coastguard WorkerDescription:
41*35238bceSAndroid Build Coastguard Worker
42*35238bceSAndroid Build Coastguard WorkerIn-invocation synchronization tests read and write to a coherent image or
43*35238bceSAndroid Build Coastguard Workerbuffer within a single invocation. Data accessed by a single invocation is not
44*35238bceSAndroid Build Coastguard Workeraccessed by other invocations. Image accesses are synchronized using
45*35238bceSAndroid Build Coastguard WorkermemoryBarrierImage(). SSBO accesses do not need to be explicitly synchronized
46*35238bceSAndroid Build Coastguard Workeras memory operations execute in order.
47*35238bceSAndroid Build Coastguard Worker
48*35238bceSAndroid Build Coastguard WorkerInter-invocation synchronization tests read and write to a coherent image or
49*35238bceSAndroid Build Coastguard Workerbuffer within a single work group. Data accessed by a single invocation is also
50*35238bceSAndroid Build Coastguard Workeraccessed by another invocation within the work group. Accesses are synchronized
51*35238bceSAndroid Build Coastguard Workerusing a combination of groupMemoryBarrier() and barrier().
52*35238bceSAndroid Build Coastguard Worker
53*35238bceSAndroid Build Coastguard Workerinter_call.with_memory_barrier test cases read and write to an image or buffer.
54*35238bceSAndroid Build Coastguard WorkerData written in a single call is read in another call. glMemoryBarrier() is used
55*35238bceSAndroid Build Coastguard Workerfor synchronization between the calls.
56*35238bceSAndroid Build Coastguard Worker
57*35238bceSAndroid Build Coastguard Workerinter_call.without_memory_barrier.* inter-call synchronization tests modify a image
58*35238bceSAndroid Build Coastguard Workeror buffer declared as volatile with atomic operations or using atomic counters.
59*35238bceSAndroid Build Coastguard WorkerMultiple computes are dispatched without calling MemoryBarrier(). Result and
60*35238bceSAndroid Build Coastguard Workerintermediate results are checked to verify operation atomicy over multiple compute
61*35238bceSAndroid Build Coastguard Workerdispatches.
62*35238bceSAndroid Build Coastguard Worker
63*35238bceSAndroid Build Coastguard Workerinter_call.without_memory_barrier.ssbo_atomic_counter_mixed_* cases test relative
64*35238bceSAndroid Build Coastguard Workeratomicy of buffer atomic operations and atomic counter operations. Separate programs
65*35238bceSAndroid Build Coastguard Workermodify atomically either a buffer or an atomic counter backed by the same buffer.
66*35238bceSAndroid Build Coastguard WorkerMultiple instances of programs are dispatched without calling MemoryBarrrier(). Buffer
67*35238bceSAndroid Build Coastguard Workercontent and intermediate values are checked to verify atomicy between operations.
68