platform/upstream/VK-GL-CTS.git
9 years agoam 9c027619: Merge "Add LaunchControl null build with android must-pass generation."
Kalle Raita [Mon, 13 Jul 2015 20:13:36 +0000 (20:13 +0000)]
am 9c027619: Merge "Add LaunchControl null build with android must-pass generation."

* commit '9c027619c7dccd689888ba4bce91cd1f3febc5f4':
  Add LaunchControl null build with android must-pass generation.

9 years agoMerge "Fix Vulkan disp (non-GPU) handle types" into vulkan
Pyry Haulos [Mon, 13 Jul 2015 20:07:38 +0000 (20:07 +0000)]
Merge "Fix Vulkan disp (non-GPU) handle types" into vulkan

9 years agoMerge "Various fixes to example triangle case" into vulkan
Pyry Haulos [Mon, 13 Jul 2015 20:07:18 +0000 (20:07 +0000)]
Merge "Various fixes to example triangle case" into vulkan

9 years agoFix Vulkan disp (non-GPU) handle types
Pyry Haulos [Mon, 13 Jul 2015 19:55:52 +0000 (12:55 -0700)]
Fix Vulkan disp (non-GPU) handle types

Change-Id: I90222900e060d1aae8a086d95dd88636f39a14c8

9 years agoIndent struct contents in Vulkan struct pretty-printing utils
Pyry Haulos [Mon, 13 Jul 2015 19:58:11 +0000 (12:58 -0700)]
Indent struct contents in Vulkan struct pretty-printing utils

Change-Id: I7cbbf943b465c6b836288be4f72709aa29ae2da7

9 years agoVarious fixes to example triangle case
Pyry Haulos [Mon, 13 Jul 2015 19:56:30 +0000 (12:56 -0700)]
Various fixes to example triangle case

Change-Id: Ic7b260f132bf0e0770164a0be905bab7bcb88b93

9 years agoMerge "Add LaunchControl null build with android must-pass generation."
Kalle Raita [Mon, 13 Jul 2015 17:46:44 +0000 (17:46 +0000)]
Merge "Add LaunchControl null build with android must-pass generation."

9 years agoAdd LaunchControl null build with android must-pass generation.
Kalle Raita [Fri, 10 Jul 2015 20:54:54 +0000 (13:54 -0700)]
Add LaunchControl null build with android must-pass generation.

Change-Id: I01c1cb2fa90174b9f442e1e98237024f8aed9159

9 years agoam 96b754f8: am 26931108: am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests...
Pyry Haulos [Fri, 10 Jul 2015 22:09:25 +0000 (22:09 +0000)]
am 96b754f8: am 26931108: am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

* commit '96b754f86d8d0c3c5870732968925ac683018188':
  Remove highp acosh() and atanh() tests from mustpass

9 years agoam 26931108: am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass...
Pyry Haulos [Fri, 10 Jul 2015 21:56:03 +0000 (21:56 +0000)]
am 26931108: am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

* commit '2693110863d53e7cf641c4569d28aa7376e50bd2':
  Remove highp acosh() and atanh() tests from mustpass

9 years agoam 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev
Pyry Haulos [Fri, 10 Jul 2015 21:41:21 +0000 (21:41 +0000)]
am 4f2b8b0a: Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

* commit '4f2b8b0a428812eab6f7ca4a6785ea9f7b37ecd7':
  Remove highp acosh() and atanh() tests from mustpass

9 years agoam efdc1173: Allow alternative expansion of acosh()
Pyry Haulos [Fri, 10 Jul 2015 21:31:19 +0000 (21:31 +0000)]
am efdc1173: Allow alternative expansion of acosh()

* commit 'efdc11737f4ca604e837bdfd8a0675e3c6c1c24f':
  Allow alternative expansion of acosh()

9 years agoMerge "Update framework and test code to API revision 138" into vulkan
Pyry Haulos [Fri, 10 Jul 2015 21:30:10 +0000 (21:30 +0000)]
Merge "Update framework and test code to API revision 138" into vulkan

9 years agoAllow alternative expansion of acosh()
Pyry Haulos [Fri, 10 Jul 2015 20:59:53 +0000 (13:59 -0700)]
Allow alternative expansion of acosh()

Bug: 22302334
Change-Id: I00cb642d4494770ec33738a12c3cb9fd5ae99745

9 years agoMerge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev
Pyry Haulos [Fri, 10 Jul 2015 20:44:20 +0000 (20:44 +0000)]
Merge "Remove highp acosh() and atanh() tests from mustpass" into mnc-dev

9 years agoUpdate framework and test code to API revision 138
Pyry Haulos [Wed, 8 Jul 2015 22:45:09 +0000 (15:45 -0700)]
Update framework and test code to API revision 138

Change-Id: Ia19074241dea78b391ec6993811e2d9e52467291

9 years agoam e819e5c9: am 5bc95474: am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture...
Jarkko Pöyry [Thu, 9 Jul 2015 01:43:39 +0000 (01:43 +0000)]
am e819e5c9: am 5bc95474: am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

* commit 'e819e5c9a21fae753f181b02ee85fa13570bf204':
  Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

9 years agoam 5bc95474: am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3...
Jarkko Pöyry [Thu, 9 Jul 2015 01:33:43 +0000 (01:33 +0000)]
am 5bc95474: am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

* commit '5bc95474320729390211ac3c01708b57c390004c':
  Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

9 years agoam 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.
Jarkko Pöyry [Thu, 9 Jul 2015 01:14:51 +0000 (01:14 +0000)]
am 8acdc205: Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

* commit '8acdc205af7e417ece2f31526bb209309871340d':
  Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

9 years agoCheck EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.
Jarkko Pöyry [Wed, 8 Jul 2015 22:59:09 +0000 (15:59 -0700)]
Check EXT_render_snorm and EXT_sparse_texture in gles3 negative tests.

Bug: 20005726
Change-Id: Ie0dcaa65cc535d66070459efade758e4e9efbd67

9 years agoMerge "Copy path in BinaryRegistryReader to avoid depending on argument lifetime...
Pyry Haulos [Wed, 8 Jul 2015 17:53:56 +0000 (17:53 +0000)]
Merge "Copy path in BinaryRegistryReader to avoid depending on argument lifetime." into vulkan

9 years agoMerge "Add RefUtil helper for vkAllocMemory." into vulkan
Pyry Haulos [Wed, 8 Jul 2015 17:53:30 +0000 (17:53 +0000)]
Merge "Add RefUtil helper for vkAllocMemory." into vulkan

9 years agoMerge "Update Vulkan testspec to match revision 138 API" into vulkan
Pyry Haulos [Wed, 8 Jul 2015 17:51:27 +0000 (17:51 +0000)]
Merge "Update Vulkan testspec to match revision 138 API" into vulkan

9 years agoMerge "Move Vulkan code to external/vulkancts and change license" into vulkan
Pyry Haulos [Wed, 8 Jul 2015 17:50:56 +0000 (17:50 +0000)]
Merge "Move Vulkan code to external/vulkancts and change license" into vulkan

9 years agoam 183f95d2: am f9185641: am b24fe40c: Merge "Remove mediump sin/cos/tan precision...
Pyry Haulos [Wed, 8 Jul 2015 02:28:58 +0000 (02:28 +0000)]
am 183f95d2: am f9185641: am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

* commit '183f95d2126f5c663058b39f8fd2a4d166bb0d0c':
  Remove mediump sin/cos/tan precision tests from mustpass

9 years agoam 9fd3acc3: am 0f2d0484: am e8efb729: Relax asin() precision requirements
Pyry Haulos [Wed, 8 Jul 2015 02:28:57 +0000 (02:28 +0000)]
am 9fd3acc3: am 0f2d0484: am e8efb729: Relax asin() precision requirements

* commit '9fd3acc3136860a7629ac9f1d70b602009d32d61':
  Relax asin() precision requirements

9 years agoam f9185641: am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from...
Pyry Haulos [Wed, 8 Jul 2015 02:07:35 +0000 (02:07 +0000)]
am f9185641: am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

* commit 'f91856418ad7de5d7217dbbea281ee42808e7aa7':
  Remove mediump sin/cos/tan precision tests from mustpass

9 years agoam 0f2d0484: am e8efb729: Relax asin() precision requirements
Pyry Haulos [Wed, 8 Jul 2015 02:07:33 +0000 (02:07 +0000)]
am 0f2d0484: am e8efb729: Relax asin() precision requirements

* commit '0f2d0484a4b9a3ee6e7ffbcf303ba5354504c7e7':
  Relax asin() precision requirements

9 years agoam b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into...
Pyry Haulos [Wed, 8 Jul 2015 01:36:11 +0000 (01:36 +0000)]
am b24fe40c: Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

* commit 'b24fe40c85c66677d846f038c6cb0bf06447d616':
  Remove mediump sin/cos/tan precision tests from mustpass

9 years agoam e8efb729: Relax asin() precision requirements
Pyry Haulos [Wed, 8 Jul 2015 01:36:10 +0000 (01:36 +0000)]
am e8efb729: Relax asin() precision requirements

* commit 'e8efb729845f35160e5ab692226a1394154ccb24':
  Relax asin() precision requirements

9 years agoAdd RefUtil helper for vkAllocMemory.
Jarkko Pöyry [Tue, 7 Jul 2015 21:50:31 +0000 (14:50 -0700)]
Add RefUtil helper for vkAllocMemory.

Change-Id: Idd3cc6d17cad6d9beb8c8430e5e88d9d8e543448

9 years agoCopy path in BinaryRegistryReader to avoid depending on argument lifetime.
Jarkko Pöyry [Tue, 7 Jul 2015 23:17:37 +0000 (16:17 -0700)]
Copy path in BinaryRegistryReader to avoid depending on argument lifetime.

Change-Id: I950cfc5968a19e456c4130d958e2b881de380cb1

9 years agoMove Vulkan code to external/vulkancts and change license
Pyry Haulos [Mon, 29 Jun 2015 21:28:58 +0000 (14:28 -0700)]
Move Vulkan code to external/vulkancts and change license

Vulkan-specific test and framework code uses MIT license with additional
temporary confidentiality clause.

Change-Id: I4f468ab5e8aeaa1d822dee0c8357a6d5aed08407

9 years agoam 90577ca7: Merge "Update mustpass"
Hengyuan Hu [Tue, 7 Jul 2015 22:45:08 +0000 (22:45 +0000)]
am 90577ca7: Merge "Update mustpass"

* commit '90577ca72e0b767c8a3dfa7d99047696976830bf':
  Update mustpass

9 years agoam 67ffc066: Merge "Add tests for EGL_EXT_buffer_age"
Hengyuan Hu [Tue, 7 Jul 2015 22:45:07 +0000 (22:45 +0000)]
am 67ffc066: Merge "Add tests for EGL_EXT_buffer_age"

* commit '67ffc0669f3cdb023136c81e00d14aa955c45025':
  Add tests for EGL_EXT_buffer_age

9 years agoMerge "Update mustpass"
Hengyuan Hu [Tue, 7 Jul 2015 22:40:22 +0000 (22:40 +0000)]
Merge "Update mustpass"

9 years agoUpdate mustpass
Hengyuan Hu [Tue, 7 Jul 2015 22:34:21 +0000 (15:34 -0700)]
Update mustpass

Update mustpass after adding teglBufferAgeTest

Change-Id: I8bdc20fe19219e3fdad3370dc9669bb3f7964391

9 years agoMerge "Add tests for EGL_EXT_buffer_age"
Hengyuan Hu [Tue, 7 Jul 2015 22:33:06 +0000 (22:33 +0000)]
Merge "Add tests for EGL_EXT_buffer_age"

9 years agoAdd tests for EGL_EXT_buffer_age
Hengyuan Hu [Thu, 18 Jun 2015 20:26:57 +0000 (13:26 -0700)]
Add tests for EGL_EXT_buffer_age

Add basic functionality tests for EGL_EXT_buffer_age. Rendering using
single drawtype as well as combinations of two drawtypes is tested.
Introduce a new FrameSequence class to avoid the situation where edges
of different rectangles are too close to each other.

Change-Id: Id77b50ae962c9580a27d90807bcea4b5f785fadf

9 years agoam 05ea3c58: am 593dcffd: am b5d33660: Fix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Tue, 7 Jul 2015 20:54:19 +0000 (20:54 +0000)]
am 05ea3c58: am 593dcffd: am b5d33660: Fix scaling of precision for mediump sin/cos/tan

* commit '05ea3c58e95acbaf1cf1239c1266c353847d1a8a':
  Fix scaling of precision for mediump sin/cos/tan

9 years agoRemove highp acosh() and atanh() tests from mustpass
Pyry Haulos [Tue, 7 Jul 2015 20:46:37 +0000 (13:46 -0700)]
Remove highp acosh() and atanh() tests from mustpass

Bug: 22302334
Change-Id: I585e394b003966b90c81aa9e9697e076e0b79f9b

9 years agoam 593dcffd: am b5d33660: Fix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Tue, 7 Jul 2015 20:37:37 +0000 (20:37 +0000)]
am 593dcffd: am b5d33660: Fix scaling of precision for mediump sin/cos/tan

* commit '593dcffd28535bffe19cbebfa56962eac3431226':
  Fix scaling of precision for mediump sin/cos/tan

9 years agoMerge "Add additional sample cases to API tests" into vulkan
Pyry Haulos [Tue, 7 Jul 2015 20:22:39 +0000 (20:22 +0000)]
Merge "Add additional sample cases to API tests" into vulkan

9 years agoMerge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev
Pyry Haulos [Tue, 7 Jul 2015 19:45:51 +0000 (19:45 +0000)]
Merge "Remove mediump sin/cos/tan precision tests from mustpass" into mnc-dev

9 years agoUpdate Vulkan testspec to match revision 138 API
Pyry Haulos [Tue, 7 Jul 2015 19:40:40 +0000 (12:40 -0700)]
Update Vulkan testspec to match revision 138 API

Change-Id: I5c7c0cfb08167239abee0143bef918a07828ad94

9 years agoam b5d33660: Fix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Tue, 7 Jul 2015 19:36:19 +0000 (19:36 +0000)]
am b5d33660: Fix scaling of precision for mediump sin/cos/tan

* commit 'b5d3366020ce9abfdbd6d10686d8c2fea7787ce9':
  Fix scaling of precision for mediump sin/cos/tan

9 years agoRelax asin() precision requirements
Pyry Haulos [Tue, 7 Jul 2015 18:44:23 +0000 (11:44 -0700)]
Relax asin() precision requirements

Use absolute error of 2^-11 for highp and 2^-8 for mediump.

Bug: 22302334
Change-Id: Id3dea981bfc6c1db1e0b4098ab844a77739a930c

9 years agoRemove mediump sin/cos/tan precision tests from mustpass
Pyry Haulos [Tue, 7 Jul 2015 18:38:05 +0000 (11:38 -0700)]
Remove mediump sin/cos/tan precision tests from mustpass

Bug: 21668605
Change-Id: I883adccbf83de66a8ce6c04340b9b991dfdb1895

9 years agoam f5054cbf: am 2b0b8aa0: am 8e77955a: Remove remaining wide line interpolation cases...
Jarkko Pöyry [Tue, 7 Jul 2015 00:47:48 +0000 (00:47 +0000)]
am f5054cbf: am 2b0b8aa0: am 8e77955a: Remove remaining wide line interpolation cases from mustpass.

* commit 'f5054cbf33c14d5fb398319b79c39b3033a878bf':
  Remove remaining wide line interpolation cases from mustpass.

9 years agoam 2b0b8aa0: am 8e77955a: Remove remaining wide line interpolation cases from mustpass.
Jarkko Pöyry [Tue, 7 Jul 2015 00:33:06 +0000 (00:33 +0000)]
am 2b0b8aa0: am 8e77955a: Remove remaining wide line interpolation cases from mustpass.

* commit '2b0b8aa0bf5d9391e8ea29cf7ae923c663b6e641':
  Remove remaining wide line interpolation cases from mustpass.

9 years agoam 8e77955a: Remove remaining wide line interpolation cases from mustpass.
Jarkko Pöyry [Mon, 6 Jul 2015 22:57:02 +0000 (22:57 +0000)]
am 8e77955a: Remove remaining wide line interpolation cases from mustpass.

* commit '8e77955a66e73dafccedd6284b4482eaf9e69e8a':
  Remove remaining wide line interpolation cases from mustpass.

9 years agoFix scaling of precision for mediump sin/cos/tan
Pyry Haulos [Mon, 6 Jul 2015 22:40:35 +0000 (15:40 -0700)]
Fix scaling of precision for mediump sin/cos/tan

Code should have been scaling expected precision linearly based on input
value, but was actually using a fixed precision of ~3 ULP.

Bug: 21668605
Change-Id: I00640889319bc7673def3e1541fdd574e8e13306

9 years agoRemove remaining wide line interpolation cases from mustpass.
Jarkko Pöyry [Mon, 6 Jul 2015 19:33:30 +0000 (12:33 -0700)]
Remove remaining wide line interpolation cases from mustpass.

Bug: 21804494
Change-Id: I92ade234e7f16c4e8ab8ca63eacc9113c6dfa04b

9 years agoam 27da3fbb: Merge "Remove duplicated texture derivative functions."
Jarkko Pöyry [Mon, 6 Jul 2015 17:53:17 +0000 (17:53 +0000)]
am 27da3fbb: Merge "Remove duplicated texture derivative functions."

* commit '27da3fbb1f0d426a2e2e7d8ea569180e368de2ba':
  Remove duplicated texture derivative functions.

9 years agoam 4119ed02: Merge "Remove unused clear(SurfaceAccess)."
Jarkko Pöyry [Mon, 6 Jul 2015 17:53:16 +0000 (17:53 +0000)]
am 4119ed02: Merge "Remove unused clear(SurfaceAccess)."

* commit '4119ed021bdd013213109e9a45f5d3ef1ab21357':
  Remove unused clear(SurfaceAccess).

9 years agoMerge "Remove duplicated texture derivative functions."
Jarkko Pöyry [Mon, 6 Jul 2015 17:44:00 +0000 (17:44 +0000)]
Merge "Remove duplicated texture derivative functions."

9 years agoMerge "Remove unused clear(SurfaceAccess)."
Jarkko Pöyry [Mon, 6 Jul 2015 17:43:53 +0000 (17:43 +0000)]
Merge "Remove unused clear(SurfaceAccess)."

9 years agoRemove duplicated texture derivative functions.
Jarkko Pöyry [Thu, 2 Jul 2015 01:45:31 +0000 (18:45 -0700)]
Remove duplicated texture derivative functions.

Change-Id: I66c4288fe92475d1463c0a97bceb6b456c4a9603

9 years agoRemove unused clear(SurfaceAccess).
Jarkko Pöyry [Tue, 30 Jun 2015 21:54:29 +0000 (14:54 -0700)]
Remove unused clear(SurfaceAccess).

Change-Id: I8adf9f89d7dad06b1b123ed6fff80ca753cb0ce7

9 years agoam 2b5d91c3: am 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests...
Jarkko Pöyry [Fri, 3 Jul 2015 17:03:22 +0000 (17:03 +0000)]
am 2b5d91c3: am 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests by 90%.

* commit '2b5d91c36ed5c94fd439f70df41bb0b86b1f5f00':
  Reduce rendering load in large sync tests by 90%.

9 years agoam 72eaf4c1: am 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases...
Jarkko Pöyry [Fri, 3 Jul 2015 17:03:21 +0000 (17:03 +0000)]
am 72eaf4c1: am 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.

* commit '72eaf4c1d2297922d392ea7e4c28784f3e4ef876':
  Remove from mustpass 3D texture_function cases with LOD issues.

9 years agoam 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests by 90%.
Jarkko Pöyry [Fri, 3 Jul 2015 16:48:28 +0000 (16:48 +0000)]
am 29a994fb: am 6fe4621d: Reduce rendering load in large sync tests by 90%.

* commit '29a994fbbbba977d7c9b13c2d15d114601b1a9eb':
  Reduce rendering load in large sync tests by 90%.

9 years agoam 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases with LOD...
Jarkko Pöyry [Fri, 3 Jul 2015 16:48:27 +0000 (16:48 +0000)]
am 9555fa0c: am 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.

* commit '9555fa0cd2032502d8666d278784906b6ce01ca3':
  Remove from mustpass 3D texture_function cases with LOD issues.

9 years agoam 6fe4621d: Reduce rendering load in large sync tests by 90%.
Jarkko Pöyry [Thu, 2 Jul 2015 00:46:56 +0000 (00:46 +0000)]
am 6fe4621d: Reduce rendering load in large sync tests by 90%.

* commit '6fe4621dfaa3d80deb71bbe63347d48ee9c2043e':
  Reduce rendering load in large sync tests by 90%.

9 years agoam 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.
Jarkko Pöyry [Thu, 2 Jul 2015 00:46:55 +0000 (00:46 +0000)]
am 7c532311: Remove from mustpass 3D texture_function cases with LOD issues.

* commit '7c5323116bb164d64bfecb68e8da1af634317b24':
  Remove from mustpass 3D texture_function cases with LOD issues.

9 years agoMerge "Add info tests for all physical device properties" into vulkan
Pyry Haulos [Wed, 1 Jul 2015 22:29:53 +0000 (22:29 +0000)]
Merge "Add info tests for all physical device properties" into vulkan

9 years agoMerge "addFunctionCase(): pass parameters by value instead of by reference" into...
Pyry Haulos [Wed, 1 Jul 2015 22:29:19 +0000 (22:29 +0000)]
Merge "addFunctionCase(): pass parameters by value instead of by reference" into vulkan

9 years agoMerge "Add utilities for logging Vk* struct types" into vulkan
Pyry Haulos [Wed, 1 Jul 2015 22:28:52 +0000 (22:28 +0000)]
Merge "Add utilities for logging Vk* struct types" into vulkan

9 years agoAdd info tests for all physical device properties
Pyry Haulos [Wed, 1 Jul 2015 18:11:19 +0000 (11:11 -0700)]
Add info tests for all physical device properties

Change-Id: Ifd98bcfe4de6ccfb63fe3f71f443acd3e2583d5f

9 years agoaddFunctionCase(): pass parameters by value instead of by reference
Pyry Haulos [Wed, 1 Jul 2015 21:46:07 +0000 (14:46 -0700)]
addFunctionCase(): pass parameters by value instead of by reference

Passing values always by reference creates problems when passing values
of basic type.

Values can be still passed by reference as long as reference points to
memory that remains live throughout test case execution.

Change-Id: I69c9799b5be7db9ae295283737f9aee3a8dcfdd6

9 years agoAdd utilities for logging Vk* struct types
Pyry Haulos [Wed, 1 Jul 2015 20:26:35 +0000 (13:26 -0700)]
Add utilities for logging Vk* struct types

Change-Id: I7614186f95261792f9fc34791c8a894d672729d9

9 years agoReduce rendering load in large sync tests by 90%.
Jarkko Pöyry [Wed, 1 Jul 2015 21:17:40 +0000 (14:17 -0700)]
Reduce rendering load in large sync tests by 90%.

Bug: 22231633
Change-Id: I48f604fac4fe372a60dd5d63002045f2eb96bd24

9 years agoImplement support for pre-built SPIR-V binaries
Pyry Haulos [Wed, 1 Jul 2015 18:14:53 +0000 (11:14 -0700)]
Implement support for pre-built SPIR-V binaries

vk-build-programs utility can be used to build and store SPIR-V
binaries.

If glslang is not available, test framework will attempt to load
pre-built binaries from vulkan/prebuilt directory.

scripts/build_vulkan_programs.py can be used to populate
data/vulkan/prebuilt directory with SPIR-V binaries.

Change-Id: I1e998bba0e0021d0e5b6da35ed53c54a61207bff

9 years agoMerge "First version of Vulkan API test specification" into vulkan
Pyry Haulos [Wed, 1 Jul 2015 19:30:41 +0000 (19:30 +0000)]
Merge "First version of Vulkan API test specification" into vulkan

9 years agoAdd additional sample cases to API tests
Pyry Haulos [Tue, 30 Jun 2015 23:26:33 +0000 (16:26 -0700)]
Add additional sample cases to API tests

Change-Id: I167e29e5e912d552f1664d80c10b3cbededcf724

9 years agoFix ambiguous addFunctionCase() by renaming variant with programs
Pyry Haulos [Tue, 30 Jun 2015 23:22:24 +0000 (16:22 -0700)]
Fix ambiguous addFunctionCase() by renaming variant with programs

Using same name for both program-less and cases with programs lead to
confusion between 1-argument function and 0-argument variant without
programs.

Change-Id: I53a57a48e02ac06aa8d76bf43682645c4d554257

9 years agoAdd constructors to VkClearColorValue
Pyry Haulos [Tue, 30 Jun 2015 23:20:31 +0000 (16:20 -0700)]
Add constructors to VkClearColorValue

Change-Id: Ie2418210e93de6cc5569d34b9884e998a1c6429b

9 years agoProvide default device as part of vkt::Context
Pyry Haulos [Tue, 30 Jun 2015 23:11:18 +0000 (16:11 -0700)]
Provide default device as part of vkt::Context

Most tests use a single device, and expect to configure it in a uniform
way. This CL adds default instance and device to vkt::Context, available
to vkt::TestInstances.

On multi-device systems default device can be selected using
--deqp-vk-device-id=<N> command line option.

Change-Id: I942e0c0af07fbea792771685184b3dda3dab4b22

9 years agoRemove from mustpass 3D texture_function cases with LOD issues.
Jarkko Pöyry [Wed, 1 Jul 2015 01:09:58 +0000 (18:09 -0700)]
Remove from mustpass 3D texture_function cases with LOD issues.

Bug: 22209622
Change-Id: I181ea306aa8e7d582cf7b43ac0ef768d3fb7bdca

9 years agoam f0b6ed57: Merge "Avoid htons and ntohs in deSocket"
Pyry Haulos [Tue, 30 Jun 2015 21:20:15 +0000 (21:20 +0000)]
am f0b6ed57: Merge "Avoid htons and ntohs in deSocket"

* commit 'f0b6ed57bb8f4d05d9bc2099f6396fb5fdb4595d':
  Avoid htons and ntohs in deSocket

9 years agoMerge "Avoid htons and ntohs in deSocket"
Pyry Haulos [Tue, 30 Jun 2015 20:40:03 +0000 (20:40 +0000)]
Merge "Avoid htons and ntohs in deSocket"

9 years agoam 51a9eca0: (-s ours) am b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours...
Jarkko Pöyry [Tue, 30 Jun 2015 18:48:35 +0000 (18:48 +0000)]
am 51a9eca0: (-s ours) am b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit '51a9eca0b808f02584dd41d424ba37dd6f66d100':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoam b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48...
Jarkko Pöyry [Tue, 30 Jun 2015 18:37:54 +0000 (18:37 +0000)]
am b44040f0: (-s ours) am f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit 'b44040f02b0409de089ecb4b17170e80cda4d7f4':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoam f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE...
Jarkko Pöyry [Tue, 30 Jun 2015 18:23:56 +0000 (18:23 +0000)]
am f59c8e4f: am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit 'f59c8e4f0f89c6a586aebdd02c2672e53653fb59':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoFirst version of Vulkan API test specification
Pyry Haulos [Thu, 21 May 2015 23:00:24 +0000 (16:00 -0700)]
First version of Vulkan API test specification

Change-Id: I9b2a3da0c1887afb39abffb558bde41a11736a04

9 years agoam b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denor...
Jarkko Pöyry [Tue, 30 Jun 2015 17:57:52 +0000 (17:57 +0000)]
am b395a893: (-s ours) am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit 'b395a8939fc3496e7021e8f3383270bae2039a98':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoAvoid htons and ntohs in deSocket
Pyry Haulos [Tue, 30 Jun 2015 17:48:49 +0000 (10:48 -0700)]
Avoid htons and ntohs in deSocket

Despite best efforts, the magic required for htons/ntohs implementation
seems to always trigger warnings on some platform or build target.

Change-Id: Ib38202e07c55a98122715d6b17a4dfcc25b91f6d

9 years agoam 999a3a5d: Merge "Enable -Wconversion."
Jarkko Pöyry [Tue, 30 Jun 2015 17:22:56 +0000 (17:22 +0000)]
am 999a3a5d: Merge "Enable -Wconversion."

* commit '999a3a5d7dfaf7790797f3a6227f33a15b3454e4':
  Enable -Wconversion.

9 years agoam 310d37cd: Merge "Fix GraphicBuffer warnings on mips and mips64."
Jarkko Pöyry [Tue, 30 Jun 2015 17:22:55 +0000 (17:22 +0000)]
am 310d37cd: Merge "Fix GraphicBuffer warnings on mips and mips64."

* commit '310d37cd24a5f3f9a828b0a519bc6fbecd9100a0':
  Fix GraphicBuffer warnings on mips and mips64.

9 years agoam a69dad8e: Remove helper_invocation cases from rotation and msaa set.
Jarkko Pöyry [Tue, 30 Jun 2015 17:22:54 +0000 (17:22 +0000)]
am a69dad8e: Remove helper_invocation cases from rotation and msaa set.

* commit 'a69dad8e1c8cf5c0a2ad6a506a5e32250ff64111':
  Remove helper_invocation cases from rotation and msaa set.

9 years agoMerge "Enable -Wconversion."
Jarkko Pöyry [Tue, 30 Jun 2015 17:15:17 +0000 (17:15 +0000)]
Merge "Enable -Wconversion."

9 years agoMerge "Fix GraphicBuffer warnings on mips and mips64."
Jarkko Pöyry [Tue, 30 Jun 2015 17:14:50 +0000 (17:14 +0000)]
Merge "Fix GraphicBuffer warnings on mips and mips64."

9 years agoam 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresho...
Jarkko Pöyry [Tue, 30 Jun 2015 16:34:21 +0000 (16:34 +0000)]
am 2067dff2: am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit '2067dff2285a9c9110d490bcf8cab4e57d569486':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoam 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare...
Jarkko Pöyry [Tue, 30 Jun 2015 15:50:50 +0000 (15:50 +0000)]
am 4968dd48: (-s ours) DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. automerge: 4a3d88e

* commit '4968dd4825820fcedb0af31ae85f98c1d91bac9b':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoDO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Tue, 30 Jun 2015 15:41:54 +0000 (15:41 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
automerge: 4a3d88e

* commit '4a3d88eea1219ada5fbec37209b394cd65ad8f18':
  DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.

9 years agoRemove helper_invocation cases from rotation and msaa set.
Jarkko Pöyry [Tue, 30 Jun 2015 03:18:44 +0000 (20:18 -0700)]
Remove helper_invocation cases from rotation and msaa set.

Helper_invocation cases use always fbo for rendering. Fbos are not affected
by device rotations or default fb msaa.

Bug: 22181180
Change-Id: I0d31ca8d5097a54e840d00705679339d322ede68

9 years agoFix GraphicBuffer warnings on mips and mips64.
Jarkko Pöyry [Tue, 30 Jun 2015 02:17:20 +0000 (19:17 -0700)]
Fix GraphicBuffer warnings on mips and mips64.

Change-Id: I057c5dc7254ec8df2b8df88bbbc051d3729d90dd

9 years agoEnable -Wconversion.
Jarkko Pöyry [Sat, 30 May 2015 01:39:00 +0000 (18:39 -0700)]
Enable -Wconversion.

Bug: 21161908
Change-Id: I42f968968e595672a685dbdc361f3e08d07e7e60

9 years agoam d713db1a: am f06acba4: am 1caba4af: Merge "Remove MSAA wide line helper invocation...
Jarkko Pöyry [Tue, 30 Jun 2015 00:04:48 +0000 (00:04 +0000)]
am d713db1a: am f06acba4: am 1caba4af: Merge "Remove MSAA wide line helper invocation cases from mustpass." into mnc-dev

* commit 'd713db1aa4f1f9b8cce133711d5efe2f43a9c12a':
  Remove MSAA wide line helper invocation cases from mustpass.

9 years agoam acb06efd: am 706acd37: am 0fd10bc9: Merge "Remove texture size tests with incorrec...
Jarkko Pöyry [Tue, 30 Jun 2015 00:04:47 +0000 (00:04 +0000)]
am acb06efd: am 706acd37: am 0fd10bc9: Merge "Remove texture size tests with incorrect threshold from mustpass." into mnc-dev

* commit 'acb06efd920ece16d376bc3783a4ada4d788301c':
  Remove texture size tests with incorrect threshold from mustpass.