platform/upstream/VK-GL-CTS.git
8 years agoDon't require supported binary formats in negative tests.
Mika Isojärvi [Wed, 3 Feb 2016 22:43:58 +0000 (14:43 -0800)]
Don't require supported binary formats in negative tests.

Bug: 26906411
Change-Id: I4dd1bcbdd43a85e320767fa0160db24f5b84ad74

8 years agoUse compatible texture formats in negative blit tests.
Mika Isojärvi [Wed, 3 Feb 2016 21:34:42 +0000 (13:34 -0800)]
Use compatible texture formats in negative blit tests.

The tests were using incompatible texture formats when testing that
linear filtering with integer source format produces INVALID_OPERATION.
This might have led to false positives since both cases produce same error
code.

Bug: 26666090
Change-Id: I7e7b6c0dab9c5cc70a51c427d83b8c4ac5515844

8 years agoRemove multiwindow EGL tests from mustpass.
Mika Isojärvi [Wed, 3 Feb 2016 18:43:20 +0000 (10:43 -0800)]
Remove multiwindow EGL tests from mustpass.

Bug: 26953953
Change-Id: Ie2a8712f0f28cc390a97bd5fe7ef5fa10db03c5a

8 years agoRebuild CTS mustpass
Pyry Haulos [Wed, 3 Feb 2016 20:58:36 +0000 (12:58 -0800)]
Rebuild CTS mustpass

Change-Id: I48d76bd5fdf0b133ff0bd019fa87cb5bdb32fc26

8 years agoAdd new files to Android.mk
Pyry Haulos [Tue, 2 Feb 2016 15:46:12 +0000 (07:46 -0800)]
Add new files to Android.mk

Change-Id: Ia6e203be42be9e7beb00b2776b177b6c658a5692

8 years agoMerge in first OpenGL ES 3.2 tests
Pyry Haulos [Wed, 3 Feb 2016 18:47:51 +0000 (10:47 -0800)]
Merge in first OpenGL ES 3.2 tests

Change-Id: I5c6f8bc63da6203e36504cc868a746d7a90cf5e6

8 years agoUpdate geometry and tessellation shader limits.
Mika Isojärvi [Mon, 1 Feb 2016 22:52:00 +0000 (14:52 -0800)]
Update geometry and tessellation shader limits.

Bug: 22542263
Change-Id: I88b91f5d53598431c9b6ba31e77cbb7914353699

8 years agoRemove tests cases and checks assuming native handles to be invalid.
Mika Isojärvi [Tue, 2 Feb 2016 00:08:58 +0000 (16:08 -0800)]
Remove tests cases and checks assuming native handles to be invalid.

Bug: 25850892
Change-Id: I8de0ce317bfd1bd9ddd609f0d47c71cf1084472f

8 years agoAllow helper invocations inside primitive.
Mika Isojärvi [Wed, 3 Feb 2016 00:02:21 +0000 (16:02 -0800)]
Allow helper invocations inside primitive.

Test required that helper invocations would only happen on primitive
edges, which produced false negatives if wide lines are rendered as
two triangles. This change allows helper invocations anywhere inside
the primitive.

Bug: 22180525
Change-Id: Iee7b50e7a46e4b172c3a61298a7f737d00b29750

8 years agoAllow color to change once in dithering disabled gradient tests.
Mika Isojärvi [Tue, 2 Feb 2016 23:22:45 +0000 (15:22 -0800)]
Allow color to change once in dithering disabled gradient tests.

Instead of requiring that each row or column to have only single color
allow color to change in dithering disabled tests to allow small
discontinuity on edge between triangles.

Bug: 23219552
Change-Id: I8e353187b37ab22fe8ea53985e36d1c9ba53dbc3

8 years agoMerge "Load libui.so lazily in android_native EGLImage tests."
Mika Isojarvi [Wed, 3 Feb 2016 17:57:21 +0000 (17:57 +0000)]
Merge "Load libui.so lazily in android_native EGLImage tests."

8 years agoMerge "cmake: look for png.h, not libpng.h"
Pyry Haulos [Wed, 3 Feb 2016 17:54:45 +0000 (17:54 +0000)]
Merge "cmake: look for png.h, not libpng.h"

8 years agoLoad libui.so lazily in android_native EGLImage tests.
Mika Isojärvi [Tue, 2 Feb 2016 21:13:48 +0000 (13:13 -0800)]
Load libui.so lazily in android_native EGLImage tests.

Avoid loading libui.so during test hierarchy inflation by loading it
lazily when it's used for the first time instead.

Bug: 26929325
Change-Id: I22348d91d415beae37016ed654e36774bbb5a504

8 years agoMerge "Check extension support before queries in texture size tests."
Mika Isojarvi [Tue, 2 Feb 2016 18:21:48 +0000 (18:21 +0000)]
Merge "Check extension support before queries in texture size tests."

8 years agoRemove tests using internal Android APIs from EGL mustpass
Mika Isojärvi [Tue, 2 Feb 2016 18:01:05 +0000 (10:01 -0800)]
Remove tests using internal Android APIs from EGL mustpass

Change-Id: I39d156909ba0b38788acb2e1d7a52db727264378

8 years agoMerge changes I61bcc949,I64c54ee4,I4d984d4c,I6186cd17,I953d0264, ...
Pyry Haulos [Tue, 2 Feb 2016 15:43:14 +0000 (15:43 +0000)]
Merge changes I61bcc949,I64c54ee4,I4d984d4c,I6186cd17,I953d0264, ...

* changes:
  Merge in changes from Khronos Vulkan CTS repository
  Merge branch '268-command-buffers-memory-leak-fix' into 'master'
  Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'
  Removed correct code by mistake, adding that back and back out the originally intended code.
  CommandPool creations in some tests are fixed.
  Apply formating fixes Remove ArrayStride code.
  OpSelect's condition operand didn't follow spec OpSelect's condition operand should have same component number as OpSelect's result type.
  spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.

8 years agoCheck extension support before queries in texture size tests.
Mika Isojärvi [Mon, 1 Feb 2016 23:33:17 +0000 (15:33 -0800)]
Check extension support before queries in texture size tests.

Bug: 25928364
Change-Id: I987931f7bf1ee96f782b536af2529aa1a3282f5a

8 years agoFix custom loop test missing declarations and outputs.
Mika Isojärvi [Mon, 1 Feb 2016 23:05:59 +0000 (15:05 -0800)]
Fix custom loop test missing declarations and outputs.

Bug: 26907509
Change-Id: I77e1a54ca3ea92f9632cbf3200ca36c2f0e9b771

8 years agoMerge in changes from Khronos Vulkan CTS repository
Pyry Haulos [Mon, 1 Feb 2016 22:47:34 +0000 (14:47 -0800)]
Merge in changes from Khronos Vulkan CTS repository

Change-Id: I61bcc9495e67a98227292ab354b63152df79193c

8 years agoAdd copy image snorm tests back to mustpass.
Mika Isojärvi [Mon, 1 Feb 2016 22:21:28 +0000 (14:21 -0800)]
Add copy image snorm tests back to mustpass.

Bug: 20302019
Change-Id: I89c4bfacec53896c9c5b72fc6bf546245928ee33

8 years agoMerge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Mon, 1 Feb 2016 22:18:22 +0000 (22:18 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev

8 years agoMerge branch '268-command-buffers-memory-leak-fix' into 'master'
Pyry Haulos [Mon, 1 Feb 2016 18:55:23 +0000 (13:55 -0500)]
Merge branch '268-command-buffers-memory-leak-fix' into 'master'

268 dEQP-VK.api.command_buffers test fix.

Fixes the memory leaks in the CommandBuffers tests. (vulkan/vulkancts#268)

See merge request !412

8 years agoMerge branch '267-spirv_assembly.instruction-Fixes' into 'master'
Pyry Haulos [Mon, 1 Feb 2016 18:54:39 +0000 (13:54 -0500)]
Merge branch '267-spirv_assembly.instruction-Fixes' into 'master'

267 spirv assembly.instruction fixes

1- missing ArrayStride: Array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost. Affects:

    spirv_assembly.instruction.compute.opcopymemory.*

2- OpSelect's condition operand doesn't follow spec:

    OpSelect's condition operand should have same component number as OpSelect's result type.

    SPIR-V spec p110:
    OpSelect
    ...
    Condition must be a scalar or vector of Boolean type. It must have the same number of components as Result Type.

This addresses issue #267

See merge request !410

8 years agoRemoved correct code by mistake, adding that back and back out the originally intende...
Mais Alnasser [Mon, 1 Feb 2016 15:44:37 +0000 (10:44 -0500)]
Removed correct code by mistake, adding that back and back out the originally intended code.

8 years agoCommandPool creations in some tests are fixed.
Peter Siket [Mon, 1 Feb 2016 12:07:29 +0000 (13:07 +0100)]
CommandPool creations in some tests are fixed.

8 years agoApply formating fixes
Mais Alnasser [Sun, 31 Jan 2016 00:25:30 +0000 (19:25 -0500)]
Apply formating fixes
Remove ArrayStride code.

8 years agoOpSelect's condition operand didn't follow spec
Mais Alnasser [Sat, 30 Jan 2016 19:33:27 +0000 (14:33 -0500)]
OpSelect's condition operand didn't follow spec
OpSelect's condition operand should have same component number as OpSelect's result type.

SPIR-V spec p110:
OpSelect
...
Condition must be a scalar or vector of Boolean type. It must have the
same number of components as Result Type.

8 years agospirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array...
Mais Alnasser [Thu, 28 Jan 2016 21:57:04 +0000 (16:57 -0500)]
spirv_assembly.instruction.compute.opcopymemory.* Add 2 missed ArrayStride, array type in uniform/storage block must have their stride explicitly specified, otherwise the stride infomation in block layout is lost.

8 years agoMerge "Add test cases for features introduced in OpenGL ES 3.2" into gles32-dev
Pyry Haulos [Fri, 29 Jan 2016 17:49:18 +0000 (17:49 +0000)]
Merge "Add test cases for features introduced in OpenGL ES 3.2" into gles32-dev

8 years agoMerge "Add support for OpenGL ES 3.2 features." into gles32-dev
Pyry Haulos [Fri, 29 Jan 2016 17:49:06 +0000 (17:49 +0000)]
Merge "Add support for OpenGL ES 3.2 features." into gles32-dev

8 years agoMerge "Adding test cases for OpenGL ES 3.2. Depends on CL 187666." into gles32-dev
Pyry Haulos [Fri, 29 Jan 2016 17:48:51 +0000 (17:48 +0000)]
Merge "Adding test cases for OpenGL ES 3.2. Depends on CL 187666." into gles32-dev

8 years agoAdd fixed tests back to mustpass set.
Mika Isojärvi [Fri, 29 Jan 2016 17:43:22 +0000 (09:43 -0800)]
Add fixed tests back to mustpass set.

Bug: 20340817
Bug: 20340818
Bug: 21725534
Bug: 22405868
Change-Id: I596d9c111ec06d9509b41fa8d40793b4813f4871

8 years agoMerge "Check texture buffer support in texture format tests."
Mika Isojarvi [Thu, 28 Jan 2016 22:20:22 +0000 (22:20 +0000)]
Merge "Check texture buffer support in texture format tests."

8 years agoMerge "Check also client extensions in eglGetProcAddress tests."
Mika Isojarvi [Thu, 28 Jan 2016 20:57:41 +0000 (20:57 +0000)]
Merge "Check also client extensions in eglGetProcAddress tests."

8 years agoMerge "Fix false positives when results are nan in ssbo tests."
Mika Isojarvi [Thu, 28 Jan 2016 20:57:26 +0000 (20:57 +0000)]
Merge "Fix false positives when results are nan in ssbo tests."

8 years agoMerge "Add missing tessellation shader extension check to bounding box tests."
Mika Isojarvi [Thu, 28 Jan 2016 19:58:11 +0000 (19:58 +0000)]
Merge "Add missing tessellation shader extension check to bounding box tests."

8 years agoMerge "Make EGL extension function naming consistent with the spec."
Mika Isojarvi [Thu, 28 Jan 2016 19:40:06 +0000 (19:40 +0000)]
Merge "Make EGL extension function naming consistent with the spec."

8 years agoMerge "Snap values to 3x3 grid in vertex array tests"
Mika Isojarvi [Thu, 28 Jan 2016 19:39:48 +0000 (19:39 +0000)]
Merge "Snap values to 3x3 grid in vertex array tests"

8 years agoMerge "Fix layout binding tests resolution issue."
Mika Isojarvi [Thu, 28 Jan 2016 19:39:08 +0000 (19:39 +0000)]
Merge "Fix layout binding tests resolution issue."

8 years agoMerge "Properly clean up data in buffer upload test deinit()."
Mika Isojarvi [Thu, 28 Jan 2016 19:36:51 +0000 (19:36 +0000)]
Merge "Properly clean up data in buffer upload test deinit()."

8 years agoCheck texture buffer support in texture format tests.
Mika Isojärvi [Thu, 28 Jan 2016 19:13:58 +0000 (11:13 -0800)]
Check texture buffer support in texture format tests.

Bug: 25928366
Change-Id: Ica63b164a9f8d599c60e0d602710367e555633a8

8 years agoFix false positives when results are nan in ssbo tests.
Mika Isojärvi [Thu, 28 Jan 2016 18:52:30 +0000 (10:52 -0800)]
Fix false positives when results are nan in ssbo tests.

Bug: 26508540
Change-Id: I212db6a2eefc37ffdd64154a5ddbd3f8f401c754

8 years agoCheck also client extensions in eglGetProcAddress tests.
Mika Isojärvi [Thu, 28 Jan 2016 18:39:41 +0000 (10:39 -0800)]
Check also client extensions in eglGetProcAddress tests.

Bug: 24172822
Change-Id: I9764bb09d1a6171fccba0ab3eb5fedda83db374b

8 years agoMake EGL extension function naming consistent with the spec.
Mika Isojärvi [Thu, 28 Jan 2016 18:20:34 +0000 (10:20 -0800)]
Make EGL extension function naming consistent with the spec.

Bug: 24172822
Change-Id: I17860369450a56641f846a661d3367d4e65b3740

8 years agoMerge in Khronos Vulkan CTS tests
Pyry Haulos [Thu, 28 Jan 2016 18:09:30 +0000 (10:09 -0800)]
Merge in Khronos Vulkan CTS tests

8 years agoAdd Vulkan CTS to deqp Android CTS build
Pyry Haulos [Thu, 28 Jan 2016 17:58:53 +0000 (09:58 -0800)]
Add Vulkan CTS to deqp Android CTS build

Since Android platform port supports Vulkan, it doesn't build without at
least Vulkan test framework.

Change-Id: I3482c9ad8d3a20b2bdeab4a4f27c75cf6e79a5b9

8 years agoMerge "Check ssbo limits properly in opaque indexing tests."
Mika Isojarvi [Thu, 28 Jan 2016 17:56:52 +0000 (17:56 +0000)]
Merge "Check ssbo limits properly in opaque indexing tests."

8 years agoMerge "Fix uniform block precision matching bug"
Mika Isojarvi [Thu, 28 Jan 2016 17:56:18 +0000 (17:56 +0000)]
Merge "Fix uniform block precision matching bug"

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Wed, 27 Jan 2016 21:10:53 +0000 (15:10 -0600)]
Add support for OpenGL ES 3.2 features.

Add function to generate version-appropriate shaders.
Add test cases for:
- Enablei
- Disablei
- GetBooleani_v
- GetTexParameterIiv
- GetTexParameterIuiv
- GetnUniformfv
- GetnUniformiv
- GetnUniformuiv
- GetActiveUniformBlockiv
- GetActiveUniformBlockName
- GetRenderbufferParameteriv
- GetSynciv
- IsEnabledi

Change-Id: I86e724758bfee490d6f53dccaa0f7ea0d860c913
Signed-off-by: Daniel Andrade Groppe <daniel.andrade@mobica.com>
8 years agoAdding test cases for OpenGL ES 3.2. Depends on CL 187666.
Daniel Andrade Groppe [Thu, 24 Dec 2015 01:35:52 +0000 (19:35 -0600)]
Adding test cases for OpenGL ES 3.2. Depends on CL 187666.

Change-Id: Ifb35841bf6e3d121ce054733e82bc1fb905564d7

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Thu, 28 Jan 2016 01:33:42 +0000 (17:33 -0800)]
Merge in changes from Khronos repository

8 years agoAdd CTS submission package verification script
Pyry Haulos [Thu, 28 Jan 2016 00:35:03 +0000 (16:35 -0800)]
Add CTS submission package verification script

8 years agoMerge changes from Khronos repository
Pyry Haulos [Wed, 27 Jan 2016 23:38:44 +0000 (15:38 -0800)]
Merge changes from Khronos repository

8 years agoAdd support for OpenGL ES 3.2 features.
Daniel Andrade Groppe [Wed, 27 Jan 2016 21:57:11 +0000 (15:57 -0600)]
Add support for OpenGL ES 3.2 features.

Generate version-appropriate shaders.
Add tests for functions introduced in 3.2:
- VertexAttribFormat
- VertexAttribIFormat
- DrawElementsBaseVertex
- DrawElementsInstancedBaseVertex
- DrawRangeElementsBaseVertex

Change-Id: Ibe32d0d7a5bd0e7692bb14271eb5af9599f21bad
Signed-off-by: Daniel Andrade Groppe <daniel.andrade@mobica.com>
8 years agoMinor formatting fixes
Pyry Haulos [Wed, 27 Jan 2016 21:51:09 +0000 (13:51 -0800)]
Minor formatting fixes

8 years agoRemove cmdline prefixes to make copy-pasting commands easier
Pyry Haulos [Wed, 27 Jan 2016 21:46:27 +0000 (13:46 -0800)]
Remove cmdline prefixes to make copy-pasting commands easier

8 years agoAdd test cases for features introduced in OpenGL ES 3.2
Daniel Andrade Groppe [Thu, 14 Jan 2016 17:35:01 +0000 (11:35 -0600)]
Add test cases for features introduced in OpenGL ES 3.2

es31fAdvancedBlendTests:
- Add a condition to check if the OpenGL ES context version is 3.2.
  If the context is at least 3.2 or if the extension
  GL_KHR_blend_equation_advanced is supported, the test is not skipped.

es31fIntegerStateQueryTests:
- Add support for GL_TEXTURE_BUFFER when using the extension
  GL_EXT_texture_buffer in 3.1 contexts.
- Add a check to TexBindingCase to skip checking for supported extensions
  when running in a 3.2 context.
- Modify CombinedComputeUniformComponentsCase to make it usable for other
  shader stages.
- Modify AlignmentCase, MinimumValueCase, CombinedUniformComponentsCase
  to store a minimum context version. In addition, a constructor was
  added to take an ApiType object to check minimum required version
  of a test.
- The test sets the minimum value based on the context version for:
    GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
    GL_MAX_FRAGMENT_ATOMIC_COUNTERS,
    GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
- Add a special case for 3.2 contexts:
    MaxUniformBufferBindingsCase
    MaxCombinedUniformBlocksCase
    MaxCombinedTexImageUnitsCase
- Add tests for states introduced in 3.2

es31fNegativeTextureApiTests:
- bindtexture():
    GL_TEXTURE_3D
    GL_TEXTURE_2D_ARRAY
    GL_TEXTURE_CUBE_MAP
    GL_TEXTURE_CUBE_MAP_ARRAY
- compressedteximage2d_invalid_size()
- texparameteri()
- texparameterf()
- texparameteriv()
- texparameterfv()
- teximage3d()
- teximage3d_neg_level()
- teximage3d_neg_width_height_depth()
- teximage3d_invalid_border()
- texsubimage3d_neg_level()
- texsubimage3d_neg_offset()
- texsubimage3d_neg_width_height()
- copytexsubimage3d_neg_level()
- copytexsubimage3d_max_level()
- texstorage2d()
- texstorage2d_invalid_binding()
- texstorage2d_invalid_levels()
- texstorage3d()
- texstorage3d_invalid_binding()
- texstorage3d_invalid_levels()
- copytexsubimage2d_read_buffer_is_none()
  copytexsubimage2d_texture_internalformat()
- texparameterIiv()
- texparameterIuiv()
- compressedteximage3d_invalid_width_height()
- compressedteximage3d_invalid_format()

es31fProgramStateQueryTests:
Add the tests to query the state of Geometry and Tessellation shaders:
- GeometryShaderCase
- TessellationShaderCase

Change-Id: Ide2885b4649bafd8fc92fdaee202e3fb528d6900

8 years agoClarify submission package contents
Pyry Haulos [Wed, 27 Jan 2016 20:06:43 +0000 (12:06 -0800)]
Clarify submission package contents

8 years agoFix some formatting, document how to include multiple products
Pyry Haulos [Wed, 27 Jan 2016 20:00:58 +0000 (12:00 -0800)]
Fix some formatting, document how to include multiple products

8 years agoFix Vulkan README.md formatting issues
Pyry Haulos [Wed, 27 Jan 2016 18:54:24 +0000 (10:54 -0800)]
Fix Vulkan README.md formatting issues

8 years agoMerge branch 'issue_260' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 27 Jan 2016 18:27:30 +0000 (13:27 -0500)]
Merge branch 'issue_260' into 'vulkan-cts-1.0'

Improvements to submission package documentation

Fixes #260

- documentation and waiver requirement for non-porting changes
- describe waiver process
- describe the submission package

See merge request !404

8 years agoMerge branch '242-blend-mustpass-exclusion' into 'vulkan-cts-1.0'
Pyry Haulos [Wed, 27 Jan 2016 17:26:39 +0000 (12:26 -0500)]
Merge branch '242-blend-mustpass-exclusion' into 'vulkan-cts-1.0'

Excluded blend tests where propagated errors may be large

Addresses issue #242

See merge request !403

8 years agoFix typo
Daniel Koch [Wed, 27 Jan 2016 17:19:31 +0000 (12:19 -0500)]
Fix typo

8 years agoImprovements to submission package documentation
Daniel Koch [Wed, 27 Jan 2016 07:38:09 +0000 (02:38 -0500)]
Improvements to submission package documentation

Fixes !260

- documentation and waiver requirement for non-porting changes
- describe waiver process
- describe the submission package

8 years agoMerge "Clear renderbuffers to fixed bit pattern in copy image tests."
Mika Isojarvi [Tue, 26 Jan 2016 22:28:22 +0000 (22:28 +0000)]
Merge "Clear renderbuffers to fixed bit pattern in copy image tests."
am: b92ec32644

* commit 'b92ec3264434d3092e471306a40dade0264685cd':
  Clear renderbuffers to fixed bit pattern in copy image tests.

8 years agoMerge "Clear renderbuffers to fixed bit pattern in copy image tests."
Mika Isojarvi [Tue, 26 Jan 2016 22:26:20 +0000 (22:26 +0000)]
Merge "Clear renderbuffers to fixed bit pattern in copy image tests."

8 years agoMerge "Check OpenVG support in negative EGL api tests."
Mika Isojarvi [Tue, 26 Jan 2016 21:16:57 +0000 (21:16 +0000)]
Merge "Check OpenVG support in negative EGL api tests."
am: b1f1ec2a58

* commit 'b1f1ec2a58b60e649928740f4eb2b2c770fbdbb8':
  Check OpenVG support in negative EGL api tests.

8 years agoMerge "Check OpenVG support in negative EGL api tests."
Mika Isojarvi [Tue, 26 Jan 2016 21:15:59 +0000 (21:15 +0000)]
Merge "Check OpenVG support in negative EGL api tests."

8 years agoCheck ssbo limits properly in opaque indexing tests.
Mika Isojärvi [Tue, 26 Jan 2016 21:06:28 +0000 (13:06 -0800)]
Check ssbo limits properly in opaque indexing tests.

Bug: 22949223
Change-Id: Ib6010bd685434538ba8295b8b687052e785407d2

8 years agoFix glu::FboRenderContext
Pyry Haulos [Tue, 26 Jan 2016 20:10:38 +0000 (20:10 +0000)]
Fix glu::FboRenderContext
am: 5d1cffaa20

* commit '5d1cffaa20d05bef05c3d7bbb7f0068313d433f7':
  Fix glu::FboRenderContext

8 years agoCheck OpenVG support in negative EGL api tests.
Mika Isojärvi [Tue, 26 Jan 2016 19:47:20 +0000 (11:47 -0800)]
Check OpenVG support in negative EGL api tests.

Bug: 25764793
Change-Id: I5a32dec18c68c9a40e9138caede8fccbbdc05f62

8 years agomustpass: Issue 242: Excluded blend tests where propagated errors may be large
Dae Kim [Tue, 26 Jan 2016 19:32:53 +0000 (19:32 +0000)]
mustpass: Issue 242: Excluded blend tests where propagated errors may be large

8 years agoMerge branch 'fix-undefined-trailing-data' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:16:57 +0000 (12:16 -0500)]
Merge branch 'fix-undefined-trailing-data' into 'vulkan-cts-1.0'

Fix undefined trailing data in pipeline barrier tests.

Set memory properly undefined when memory layout is changed and set image
contents undefined when buffer is written.

See merge request !402

8 years agoMerge branch '258-required-format-support' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:16:33 +0000 (12:16 -0500)]
Merge branch '258-required-format-support' into 'vulkan-cts-1.0'

Adjust Vulkan format feature support requirements

Fixes #258

See merge request !401

8 years agoMerge branch '250-limit-pipeline-count' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:15:56 +0000 (12:15 -0500)]
Merge branch '250-limit-pipeline-count' into 'vulkan-cts-1.0'

Limit number of pipelines in object_management.max_concurrent

See #250

See merge request !400

8 years agoMerge branch 'jekstrand_fix_blend_test_swizzling' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:15:25 +0000 (12:15 -0500)]
Merge branch 'jekstrand_fix_blend_test_swizzling' into 'vulkan-cts-1.0'

Blend Test: Do not swizzle the ImageView

Some formats are weird. The A2R10G10B10_UNORM_PACK32 format, for example, is
stored out of order with respect to the name. From 29.3.1 Format definitions of
the spec:

A four-component, 32-bit packed unsigned normalized format that has a
2-bit A component in bits 30..31, a 10-bit R component in bits 20..29, a
10-bit G component in bits 10..19, and a 10-bit B component in bits
0..9.

The existing code will use this fact to determine that the underlying
organization for the format is BGRA, and as such will introduce swizzles in the
view. However, this swizzling is not the desired effect used by the reference
renderer, and this resulted in a miscompare (reverse RED AND BLUE channels) for
potentially any format who underlying storage order is reverse of its logical
order, AND, whose underlying storage order is not in RGBA (swizzle free) order.

If you switch the format to A2G10B10R10, the underlying organization is
RGBA and the resulting swizzle is the identity swizzle, it still works.
Also, if you add B8G8R8A8_UNORM to the list of formats, the newly added
tests all fail.

See merge request !398

8 years agoMerge branch 'awoloszyn-fix-block-decoration' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 17:14:37 +0000 (12:14 -0500)]
Merge branch 'awoloszyn-fix-block-decoration' into 'vulkan-cts-1.0'

Fixes block order and decoration group tests.

Fixes #257

Round the input values to integer numbers so that the computations
never have to round.

The tests in question only perform addition and subtraction, and all
well within the representable range of a float. (-1500 -> 1500)

See merge request !397

8 years agoMerge branch '255-limit-mem-allocs' into 'vulkan-cts-1.0'
Pyry Haulos [Tue, 26 Jan 2016 01:38:34 +0000 (20:38 -0500)]
Merge branch '255-limit-mem-allocs' into 'vulkan-cts-1.0'

Limit number of memory allocations to 4000.

Limit memory allocation count to 4000 in vulkan memory
allocation tests. Fixes #255

See merge request !399

8 years agoMerge branch 'tzlatinski_memory_allocaiton_size_fix' into 'master'
Pyry Haulos [Tue, 26 Jan 2016 01:35:59 +0000 (20:35 -0500)]
Merge branch 'tzlatinski_memory_allocaiton_size_fix' into 'master'

CTS Memory tests fix invalid allocation sizes

allocateRandom() routine sometime requests enormous sizes
because of incorrect random size calculation logic.

Within the following formula:
m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1ull
If m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage is "0"
the result is negative, but since the number is unsigned
max takes the max of 1 and the (unsigned long long)-1.

The change, makes the comparison signed and also introduces
explicit test checks on the allocation sizes.

See merge request !389

8 years agoFix undefined trailing data in pipeline barrier tests.
Mika Isojärvi [Tue, 26 Jan 2016 00:54:10 +0000 (16:54 -0800)]
Fix undefined trailing data in pipeline barrier tests.

Set memory properly undefined when memory layout is changed and set image
contents undefined when buffer is written.

Change-Id: I688c014244f5ba5d9c602d9cdcad8a63c66b5357

8 years agoFix glu::FboRenderContext
Pyry Haulos [Tue, 26 Jan 2016 00:49:15 +0000 (16:49 -0800)]
Fix glu::FboRenderContext

FboRenderContext was always crashing since it was attempting to query
bit depth for combined depth stencil formats.

Change-Id: I986e228c22fe36b799756ddf24a192456c1eea69

8 years agoImprove Vulkan CTS README
Pyry Haulos [Tue, 26 Jan 2016 00:02:21 +0000 (16:02 -0800)]
Improve Vulkan CTS README

 * Add details how to select Android ABI at install time

 * Add note about using git cherry-pick -x when cherry-picking bugfixes.

 * Add initial conformance criteria section

8 years agoAdjust Vulkan format feature support requirements
Pyry Haulos [Mon, 25 Jan 2016 21:50:48 +0000 (13:50 -0800)]
Adjust Vulkan format feature support requirements

Fixes #258

8 years agoLimit number of pipelines in object_management.max_concurrent
Pyry Haulos [Mon, 25 Jan 2016 20:15:35 +0000 (12:15 -0800)]
Limit number of pipelines in object_management.max_concurrent

See #250

8 years agoLimit number of memory allocations to 4000.
Mika Isojärvi [Mon, 25 Jan 2016 19:01:27 +0000 (11:01 -0800)]
Limit number of memory allocations to 4000.

Limit memory allocation count to 4000 in vulkan memory
allocation tests. Fixes issue #255.

Change-Id: I9a1bc129556ce44e1d3e3e8c474c6dc668cea814

8 years agoFixes block order and decoration group tests.
Andrew Woloszyn [Mon, 25 Jan 2016 16:57:34 +0000 (11:57 -0500)]
Fixes block order and decoration group tests.

Fixes #257

Round the input values to integer numbers so that the computations
never have to round.

The tests in question only perform addition and subtraction, and all
well within the representable range of a float.

8 years agoMerge branch '249-fix-draw-mapped-memory-flushes' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:59:50 +0000 (13:59 -0500)]
Merge branch '249-fix-draw-mapped-memory-flushes' into 'vulkan-cts-1.0'

Fix flushing of index and indirect command bufs in draw tests

Fixes #249

See merge request !393

8 years agoMerge branch '252-fix-imageformatproperties-validation' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:57:50 +0000 (13:57 -0500)]
Merge branch '252-fix-imageformatproperties-validation' into 'vulkan-cts-1.0'

Fix VkImageFormatProperties validation

Fixes #252

See merge request !391

8 years agoMerge branch '254-fix-shaderrendercase-format-check' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:56:31 +0000 (13:56 -0500)]
Merge branch '254-fix-shaderrendercase-format-check' into 'vulkan-cts-1.0'

Fix format support check in ShaderRenderCase

Fixes #254

See merge request !392

8 years agoMerge branch '256-fix-renderpass-build-warnings' into 'vulkan-cts-1.0'
Pyry Haulos [Mon, 25 Jan 2016 18:55:32 +0000 (13:55 -0500)]
Merge branch '256-fix-renderpass-build-warnings' into 'vulkan-cts-1.0'

fix renderpass test's build warnings, fixes #256

See merge request !394

8 years agoBlend Test: Do not swizzle the ImageView
Ben Widawsky [Sun, 24 Jan 2016 22:59:48 +0000 (14:59 -0800)]
Blend Test: Do not swizzle the ImageView

Some formats are weird. The A2R10G10B10_UNORM_PACK32 format, for example, is
stored out of order with respect to the name. From 29.3.1 Format definitions of
the spec:

A four-component, 32-bit packed unsigned normalized format that has a
2-bit A component in bits 30..31, a 10-bit R component in bits 20..29, a
10-bit G component in bits 10..19, and a 10-bit B component in bits
0..9.

The existing code will use this fact to determine that the underlying
organization for the format is BGRA, and as such will introduce swizzles in the
view. However, this swizzling is not the desired effect used by the reference
renderer, and this resulted in a miscompare (reverse RED AND BLUE channels) for
potentially any format who underlying storage order is reverse of its logical
order, AND, whose underlying storage order is not in RGBA (swizzle free) order.

If you switch the format to A2G10B10R10, the underlying organization is
RGBA and the resulting swizzle is the identity swizzle, it still works.
Also, if you add B8G8R8A8_UNORM to the list of formats, the newly added
tests all fail.

8 years agofix renderpass test's build warnings, fixes #256
Daniel Hegedus [Mon, 25 Jan 2016 10:38:28 +0000 (11:38 +0100)]
fix renderpass test's build warnings, fixes #256

8 years agoCTS Memory tests fix invalid allocation sizes
Tony Zlatinski [Sun, 24 Jan 2016 20:50:51 +0000 (14:50 -0600)]
CTS Memory tests fix invalid allocation sizes

allocateRandom() routine sometime requests enormous sizes
because of incorrect random size calculation logic.

Within the following formula:
m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage - 1ull
If m_heap.size / MAX_MEMORY_USAGE_DIV) - m_usage is "0"
the result is negative, but since the number is unsigned
max takes the max of 1 and the (unsigned long long)-1.

The change, makes the comparison signed and also introduces
explicit test checks on the allocation sizes.

8 years agoFix flushing of index and indirect command bufs in draw tests
Pyry Haulos [Mon, 25 Jan 2016 01:04:49 +0000 (17:04 -0800)]
Fix flushing of index and indirect command bufs in draw tests

Fixes #249

8 years agoDrop a few checks from VkImageFormatProperties validation
Pyry Haulos [Mon, 25 Jan 2016 01:03:08 +0000 (17:03 -0800)]
Drop a few checks from VkImageFormatProperties validation

The spec around vkGetPhysicalDeviceImageFormatProperties() has to be clarified
before these checks can be made in the test.

Fixes #252

8 years agoFix format support check in ShaderRenderCase
Pyry Haulos [Mon, 25 Jan 2016 00:59:50 +0000 (16:59 -0800)]
Fix format support check in ShaderRenderCase

Fixes #254

8 years agoAdd first draft of conformance submission package description
Pyry Haulos [Fri, 22 Jan 2016 23:32:21 +0000 (15:32 -0800)]
Add first draft of conformance submission package description

Change-Id: If6581ee5ae7b497f5f7cec7bce0e42598860a5bc

8 years agoCheck in Vulkan CTS 1.0.0 RC mustpass
Pyry Haulos [Fri, 22 Jan 2016 22:56:29 +0000 (14:56 -0800)]
Check in Vulkan CTS 1.0.0 RC mustpass

8 years agoMerge in changes from Khronos repository
Pyry Haulos [Fri, 22 Jan 2016 22:48:56 +0000 (14:48 -0800)]
Merge in changes from Khronos repository

8 years agoFix accidental library name change
Pyry Haulos [Fri, 22 Jan 2016 22:48:11 +0000 (14:48 -0800)]
Fix accidental library name change