History log of /external/deqp/modules/gles31/functional/es31fDrawElementsBaseVertexTests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
079ca561114713d31e05c4124b8daeef764cf9b8 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Run Draw*BaseVertex if EXT_draw_elements_base_vertex is present

Draw*BaseVertex methods are enabled if
the EXT_draw_elements_base_vertex extension is present
Follow-up on 1b1ea05b

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: If8a4860a956c771ec5ea3341e2227f437b12a286
/external/deqp/modules/gles31/functional/es31fDrawElementsBaseVertexTests.cpp
1b1ea05b4e8d6e9dbb07187b0af6bc12c315fb4e 16-Aug-2017 Alexander Galazin <alexander.galazin@arm.com> Report tests using Draw*BaseVertex as NotSupported

Draw*BaseVertex methods were added in GLES 3.2.
Report tests using these methods as NotSupported if
GLES 3.1 context is returned.

Components: AOSP

Affects: dEQP-GLES31.functional.draw_base_vertex.*

Change-Id: I87c918d5f66a0a5b547f8e625c662203a7f85048
/external/deqp/modules/gles31/functional/es31fDrawElementsBaseVertexTests.cpp
bf0b29365e9aa156370549e8af99e272e129296e 09-May-2017 Alexander Galazin <alexander.galazin@arm.com> Fix DrawRangeElementsBaseVertex tests with negative basevertex

DrawRangeElementsBaseVertex tests with negative basevertex call
glDrawRangeElementsBaseVertex with start = 0 and basevertex = -1.
According to the spec: If no element array buffer is bound, the vertex ID of
the ith element transferred is indices[i] + basevertex...
If the vertex ID is larger than the maximum value representable by type,
it should behave as if the calculation were upconverted to 32-bit unsigned
integers (with wrapping on overflow conditions).
Behavior of DrawElementsOneInstance is undefined if the vertex ID is negative
for any element, and should be handled as described in section 6.4.

This change ensures that indexMin + baseVertex will be zero or positive value.

Components: AOSP

Affects:
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_byte
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_short
dEQP-GLES31.functional.draw_base_vertex.draw_range_elements_base_vertex.base_vertex.index_neg_int

Change-Id: I07a9e6bc60d4340784d400b5087bb8fff01f0e57
/external/deqp/modules/gles31/functional/es31fDrawElementsBaseVertexTests.cpp
3c865084eb27036bf9fd43a41a7eae277a6ee170 14-Feb-2017 John Richardson <john.richardson@mobica.com> Add new draw elements base vertex tests

New tests for EXT_draw_elements_base_vertex extension
exercising the following draw calls

- DrawElementsBaseVertex()
- DrawRangeElementsBaseVertex()
- DrawElementsInstancedBaserVertex()

New test groups:
- dEQP-GLES31.functional.draw_elements_base_vertex.*

New tests:
- indices.*
- base_vertex.*
- builtin_variable.*
- points.*
- triangles.*
- triangle_fan.*
- triangle_strip.*
- lines.*
- line_strip.*
- line_loop.*

Extend dEQP-GLES31.functional.debug.negative_coverage.callbacks.vertex_array.*
tests to include additional mapping and mismatched primitive mode
errors for base vertex draw calls.

New tests:
- *.primitive_mode_mismatch
- *.invalid_map

Change-Id: Iefc9bcddd3fe8831d2bb20f2e46d06f92daa6d6b
/external/deqp/modules/gles31/functional/es31fDrawElementsBaseVertexTests.cpp