History log of /external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6c800c9c7748c095989fea19602fa465e3bbfdf6 26-Jul-2017 James Helferty <jhelferty@nvidia.com> Fix sparse buffer test for atomics

When binding a buffer for an array of atomics, the buffer size needs
to be large enough to cover the entire array, or else you will get
undefined behavior. For the atomic buffer case where using
glBindBufferRange to bind only part of the sparse buffer, we were
only providing a size argument large enough for half of the array.

VK-GL-CTS issue 595
Components: OpenGL

Affects:
KHR-GL43.sparse_buffer_tests.BufferStorageTest
KHR-GL44.sparse_buffer_tests.BufferStorageTest
KHR-GL45.sparse_buffer_tests.BufferStorageTest

Change-Id: I8e0a67619801a6071cf53374ae9f06672782dfa0
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
d1a13c19f6e9b5120d40848fb289d2e47f2b8ca9 28-Mar-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> Fix a potential "hang" in ARB_sparse_buffer test

Reading indirect compute dispatch arguments from non-committed memory
is a bad idea because those reads are undefined. This can lead to
huge dispatches that cause the test to run for an excessively long
time and seem as if it hung the GPU.

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: I25c707cdd26bcbb4ce02d8ffa77009f180a993eb
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
0fb87bc5fdfb83cb21d36ed190babdeef6a81391 27-Mar-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> Fix the copy-ops part of the ARB_sparse_buffer tests

1. The generic BufferStorageTest framework will allocate a new sparse
buffer object for each test case, so m_sparse_bos must be updated
for each iteration.

For the same reason, the m_sparse_bos array is not yet initialized
when initTestCases is called. So instead of storing a BO ID in the
test case description, we store an index into the m_sparse_bos array
(and the index is only used when the dst/src bo is supposed to be
sparse).

2. When the same sparse buffer object is used as both source and
destination, both source and destination commit ranges must
actually be committed.

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: I8b92e716464d5f602e636480ea53648c216d1e7e
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
b483f3110ce964ee05267f9a19cdcdee53d3bd47 27-Mar-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> Fix various ARB_sparse_buffer test issues

AtomicCounterBufferStorageTestCase: The non-sparse helper buffer was
too small because unlike the sparse storage buffer, its size was not
rounded up.

BufferTextureStorageTestCase: The buffer bindings must be established
during execution (or init of the individual test) instead of during
initTestCaseGlobal (otherwise, other tests will interfere).

PixelPackBufferStorageTestCase: The pixel pack buffer binding must be
cleared at the end of the test, or subsequent tests get broken.

PixelUnpackBufferStorageTestCase: As for PixelPackBufferStorageTestCase;
additionally, the pixel unpack buffer must be un-bound while
uploading data from client memory.

QueryBufferStorageTestCase: The helper buffer that is used to read
back the query result must be 8 bytes in size (to hold a 64-bit
number). It must be cleared *before* the query result is copied for
the 32-bit case.

TransformFeedbackBufferStorageTestCase: Map the entire helper buffer
where transform feedback data was written; this is important for the
separate-attribute sub-test, where results are spread across the
buffer. Also, perform the check whether a result lies within the
committed region *before* updating the pointers.

UniformBufferStorageTestCase: ARB_sparse_buffer is like the basic
ARB_sparse_texture in that reads from uncommitted memory regions
are *not* guaranteed to return 0. Furthermore, the transform
feedback buffer bindings must be established during execution instead
of during initTestCaseGlobal (otherwise, other tests will interfere).

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Components: OpenGL
VK-GL-CTS issue: 332

Change-Id: If11c617bf8a5a5a6cf402eb33d287a5b4b390485
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
6820206014efd4dd3bf1b9de0a98a0c2abac132d 17-Feb-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> Explicitly use std140 layout for uniform blocks

The exact memory layout of an array of uints in a uniform block is
implementation-defined, unless a layout is explictly specified.
So the UniformBufferStorageTestCase would previously fail on an
implementation that uses std140 by default.

Use std140 explicitly -- which implies changing the stride of the
array to 16 bytes -- since std140 is the only layout supported for
uniform blocks in core OpenGL.

Modules: OpenGL
Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

VK-GL-CTS issue: 179

Change-Id: Ib5a996aa55a4c589625c575a1b4a3d252ca8e30c
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
93bc8300503a48a5008e7aef23e7dc5567fbe809 17-Feb-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> Use glInvalidateBuffer[Sub]Data correctly

These function take a buffer name, not a bind point.

Modules: OpenGL
Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

VK-GL-CTS issue: 178

Change-Id: Iffdecfb5dd738ea82073ccb1b8771ca411f8f3b8
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
f6de227d987afba7e3bc0c413c6bae3282ed2c34 17-Feb-2017 Nicolai Hähnle <nicolai.haehnle@amd.com> Fix shaders using reserved keywords incorrectly

"input" is a reserved keyword in GLSL 1.40 (and other versions,
for that matter); this test should never have passed for any
correct implementation.

"unsigned int" should be "uint".

Affects:
GL45-CTS.sparse_buffer_tests.BufferStorageTest

Modules: OpenGL
VK-GL-CTS Issue: 177

Change-Id: I68bba7548225ada7949182a1239d423eff15fc35
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
f1f97c069517c894a72fcc720da5e5bb5eb7226b 01-Dec-2016 Alexander Galazin <alexander.galazin@arm.com> Reformat file with clang-format-4.0

Change-Id: Ifc68a22e9ddcfe00baa42e55624c4f4d378db93c
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
84322c9402f810da3cd80b52e9f9ef72150a9004 29-Nov-2016 Alexander Galazin <alexander.galazin@arm.com> Reformat GL CTS according to the clang-format rules.

Mostly license statement is affected.

Change-Id: I41bcd7fbdf88b6e6acda8e723d88c57f5c5374a7
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp
48087f5f0eb08759ee763f98daf3b34becb74559 14-Nov-2016 Pyry Haulos <phaulos@google.com> Import Khronos OpenGL CTS

Change-Id: Ic6e4341dedb44dfd4ebaaeba7699a5e46202a8b3
/external/deqp/external/openglcts/modules/gl/gl4cSparseBufferTests.cpp