platform/upstream/VK-GL-CTS.git
9 years agoDon't mangle safe bit patterns in copy_image sRGB RB cases.
Jarkko Pöyry [Sat, 20 Jun 2015 03:06:47 +0000 (20:06 -0700)]
Don't mangle safe bit patterns in copy_image sRGB RB cases.

Clearing a sRGB framebuffer takes in the clear color in linear space and
then transforms it to sRGB space. This process destroys the carefully
selected clear color bit pattern. Avoid bit mangling by doing first an
inverse tranformation to the supplied clear color which restores the bit
pattern when the color is coverted to sRGB internal format.

Bug: 20698928
Bug: 21951463
Change-Id: I2155e8a977cc524401b5f98c7dde4502f62e35a7

9 years agoMerge "Use de::ArrayBuffer in tcu::Surface."
Jarkko Pöyry [Mon, 22 Jun 2015 16:43:30 +0000 (16:43 +0000)]
Merge "Use de::ArrayBuffer in tcu::Surface."

9 years agoAdd licenses to several scripts and misc files.
Jamie Madill [Fri, 19 Jun 2015 22:27:44 +0000 (18:27 -0400)]
Add licenses to several scripts and misc files.

This fixes integration with Chromium, since it has a bot that checks that
all sources files have an appropriate license.

Bug: 21903358
Change-Id: I27ffd7a9feee81a1d29cca64cda88b2d1e67708d

9 years agoMerge "Remove non-trivially modified random shader cases from mustpass."
Jarkko Pöyry [Fri, 19 Jun 2015 18:38:00 +0000 (18:38 +0000)]
Merge "Remove non-trivially modified random shader cases from mustpass."

9 years agoRemove non-trivially modified random shader cases from mustpass.
Jarkko Pöyry [Mon, 15 Jun 2015 22:53:08 +0000 (15:53 -0700)]
Remove non-trivially modified random shader cases from mustpass.

Random shader generation erroneusly caused int overflows in value range
calculations. This is undefined behavior and it was fixed in commit
2106d67 (Change-Id: I810be9c747504df671629201ba56b5b8ed2307d7) but
since the existing tests were generated using the broken code, the fix
changed slightly the generation logic and thus the existing tests. This
CL removes all tests from mustpass for which the generation results in
significantly different shaders. Trivially changed shaders are left
unremoved as the feature coverage of those tests is expected to remain
unchanged.

Bug: 21851700
Change-Id: Ic0930602fc17c1851b9ffa694c04a884294f438b

9 years agoam 143aabaa: am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch
Pyry Haulos [Fri, 19 Jun 2015 18:09:29 +0000 (18:09 +0000)]
am 143aabaa: am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch

* commit '143aabaa689c67c25e29832450452c9394343b38':
  Add GLSL ES 3.0 tests for default uniform precision mismatch

9 years agoam 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch
Pyry Haulos [Fri, 19 Jun 2015 17:56:18 +0000 (17:56 +0000)]
am 7cbc13c0: Add GLSL ES 3.0 tests for default uniform precision mismatch

* commit '7cbc13c0d0410af3031a3c13353bbf6456c8be04':
  Add GLSL ES 3.0 tests for default uniform precision mismatch

9 years agoAdd GLSL ES 3.0 tests for default uniform precision mismatch
Pyry Haulos [Fri, 19 Jun 2015 17:14:33 +0000 (10:14 -0700)]
Add GLSL ES 3.0 tests for default uniform precision mismatch

GLSL ES 3.0 specification requires linking to fail if there is a
precision mismatch between (default block) uniforms between shader
stages. This rule was only covered for struct members and this CL adds
coverage for uniforms of basic (scalar / vector) type.

Bug: 21947794
Change-Id: Ifab9cbd17726c01b987177df43d7248c34c9cf44

9 years agoUse de::ArrayBuffer in tcu::Surface.
Mika Isojärvi [Wed, 29 Apr 2015 23:14:12 +0000 (16:14 -0700)]
Use de::ArrayBuffer in tcu::Surface.

Change-Id: Ia55dbb91a9adc4b5842f42d7797678dd57f9dae3

9 years agoam 7ac44dca: am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random...
Jarkko Pöyry [Thu, 18 Jun 2015 20:10:38 +0000 (20:10 +0000)]
am 7ac44dca: am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

* commit '7ac44dca240bc798dc87bba7da3659abd2aad2ad':
  Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

9 years agoam ab888c4e: am c65c11dd: Merge "Fix expected results in implicit conversion tests...
Jarkko Pöyry [Thu, 18 Jun 2015 20:10:37 +0000 (20:10 +0000)]
am ab888c4e: am c65c11dd: Merge "Fix expected results in implicit conversion tests" into mnc-dev

* commit 'ab888c4e417a91032a3a6a5453aa5c099fd67372':
  Fix expected results in implicit conversion tests

9 years agoam afc89f0f: am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.
Jarkko Pöyry [Thu, 18 Jun 2015 20:10:36 +0000 (20:10 +0000)]
am afc89f0f: am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.

* commit 'afc89f0f625f1bf7d033a7ccbf9624ea38e32a56':
  Allow interchangeable signed zeros in fragment stage frexp.

9 years agoam 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass...
Jarkko Pöyry [Thu, 18 Jun 2015 19:59:36 +0000 (19:59 +0000)]
am 8d9fc5df: Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

* commit '8d9fc5df05ee92be26d2a4a6f47025fece1a03f1':
  Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

9 years agoam c65c11dd: Merge "Fix expected results in implicit conversion tests" into mnc-dev
Jarkko Pöyry [Thu, 18 Jun 2015 19:59:35 +0000 (19:59 +0000)]
am c65c11dd: Merge "Fix expected results in implicit conversion tests" into mnc-dev

* commit 'c65c11dd1d3227cb9a3b93fdda9ed1debd3cd8ed':
  Fix expected results in implicit conversion tests

9 years agoam 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.
Jarkko Pöyry [Thu, 18 Jun 2015 19:59:34 +0000 (19:59 +0000)]
am 7b3d2d14: Allow interchangeable signed zeros in fragment stage frexp.

* commit '7b3d2d144661c38a8e609d4633f1585b7c5d3c43':
  Allow interchangeable signed zeros in fragment stage frexp.

9 years agoMerge "Add negative tests for explicit TCS-TES varying arrays."
Jarkko Pöyry [Thu, 18 Jun 2015 19:21:03 +0000 (19:21 +0000)]
Merge "Add negative tests for explicit TCS-TES varying arrays."

9 years agoMerge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev
Jarkko Pöyry [Thu, 18 Jun 2015 19:16:37 +0000 (19:16 +0000)]
Merge "Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass" into mnc-dev

9 years agoMerge "Fix expected results in implicit conversion tests" into mnc-dev
Jarkko Pöyry [Thu, 18 Jun 2015 19:16:11 +0000 (19:16 +0000)]
Merge "Fix expected results in implicit conversion tests" into mnc-dev

9 years agoAllow interchangeable signed zeros in fragment stage frexp.
Jarkko Pöyry [Thu, 18 Jun 2015 18:05:09 +0000 (11:05 -0700)]
Allow interchangeable signed zeros in fragment stage frexp.

Bug: 21923324
Change-Id: I2a556e6fcefe43a2bae62b3446fa2cccb4fa7356

9 years agoFix expected results in implicit conversion tests
Mika Isojärvi [Fri, 12 Jun 2015 20:17:02 +0000 (13:17 -0700)]
Fix expected results in implicit conversion tests

Bug: 21791351
Change-Id: I7a134dee9d23422de618be51cff9c0b46b414e58

9 years agoMerge "Fix int -> float conversion warning."
Jarkko Pöyry [Sat, 13 Jun 2015 00:42:51 +0000 (00:42 +0000)]
Merge "Fix int -> float conversion warning."

9 years agoMerge "Fix uninitialized values in astc decompression"
Mika Isojärvi [Fri, 12 Jun 2015 22:38:53 +0000 (22:38 +0000)]
Merge "Fix uninitialized values in astc decompression"

9 years agoFix uninitialized values in astc decompression
Mika Isojärvi [Fri, 12 Jun 2015 22:01:36 +0000 (15:01 -0700)]
Fix uninitialized values in astc decompression

Change-Id: I2553d5108828c435271d5d2629bb60d0fee1663f

9 years agoMerge "Avoid uninitialized values in draw tests"
Mika Isojärvi [Fri, 12 Jun 2015 22:32:36 +0000 (22:32 +0000)]
Merge "Avoid uninitialized values in draw tests"

9 years agoAvoid uninitialized values in draw tests
Mika Isojärvi [Fri, 12 Jun 2015 22:11:12 +0000 (15:11 -0700)]
Avoid uninitialized values in draw tests

Change-Id: I03433fafa3b7229495f5f869859949073f6be47a

9 years agoMerge "Use transfer format for uploaded data in texture tests"
Mika Isojärvi [Fri, 12 Jun 2015 22:05:27 +0000 (22:05 +0000)]
Merge "Use transfer format for uploaded data in texture tests"

9 years agoFix int -> float conversion warning.
Jarkko Pöyry [Fri, 12 Jun 2015 21:05:20 +0000 (14:05 -0700)]
Fix int -> float conversion warning.

Change-Id: Ie268a07df360aba0c8e381658427a47510c5aca0

9 years agoAdd negative tests for explicit TCS-TES varying arrays.
Jarkko Pöyry [Wed, 10 Jun 2015 02:08:33 +0000 (19:08 -0700)]
Add negative tests for explicit TCS-TES varying arrays.

Bug: 21737242
Change-Id: I27cd6defd9185698f4861e69f894e7bb669088b0

9 years agoRemove dEQP-GLES3.functional.uniform_api.random.23 from mustpass
Mika Isojärvi [Fri, 12 Jun 2015 20:25:12 +0000 (13:25 -0700)]
Remove dEQP-GLES3.functional.uniform_api.random.23 from mustpass

Test case doesn't check max uniform vector implementation limit and
uses too many uniforms.

Bug: 21791303
Change-Id: If4b0bede639a34776aab8b9e6fdace1f79580189

9 years agoam 19b42082: am bd58796d: Remove wide line interpolation cases from mustpass.
Jarkko Pöyry [Fri, 12 Jun 2015 18:37:44 +0000 (18:37 +0000)]
am 19b42082: am bd58796d: Remove wide line interpolation cases from mustpass.

* commit '19b4208218b157f938363c8fd2462860a1519840':
  Remove wide line interpolation cases from mustpass.

9 years agoam bd58796d: Remove wide line interpolation cases from mustpass.
Jarkko Pöyry [Fri, 12 Jun 2015 18:24:11 +0000 (18:24 +0000)]
am bd58796d: Remove wide line interpolation cases from mustpass.

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

9 years agoMerge "Fix off-by-one in floatUlpThresholdCompare."
Jarkko Pöyry [Fri, 12 Jun 2015 18:04:42 +0000 (18:04 +0000)]
Merge "Fix off-by-one in floatUlpThresholdCompare."

9 years agoFix off-by-one in floatUlpThresholdCompare.
Jarkko Pöyry [Fri, 12 Jun 2015 17:33:34 +0000 (10:33 -0700)]
Fix off-by-one in floatUlpThresholdCompare.

Fix off-by-one in ULP calculation causing comparison accepting errors
one larger than threshold if either of the compared operands were
excatly 0.

Change-Id: I328eebfae5c8caa1f34dea3e519d4dfa41fd92a9

9 years agoRemove wide line interpolation cases from mustpass.
Jarkko Pöyry [Fri, 12 Jun 2015 17:11:47 +0000 (10:11 -0700)]
Remove wide line interpolation cases from mustpass.

Bug: 21804494
Change-Id: I606bbb5e33f603873054cc91fcec8691ed438ef7

9 years agoMerge "Update egl/common.py"
Hengyuan Hu [Fri, 12 Jun 2015 17:11:24 +0000 (17:11 +0000)]
Merge "Update egl/common.py"

9 years agoMerge "Avoid accessing uninitialized values in get/setPixDepth/Stencil"
Mika Isojärvi [Fri, 12 Jun 2015 17:08:26 +0000 (17:08 +0000)]
Merge "Avoid accessing uninitialized values in get/setPixDepth/Stencil"

9 years agoUpdate egl/common.py
Hengyuan Hu [Fri, 12 Jun 2015 00:48:52 +0000 (17:48 -0700)]
Update egl/common.py

Add wrappers for EGL_EXT_buffer_age, EGL_KHR_partial_update and
EGL_KHR_swap_buffers_with_damage.

Change-Id: I5bdbd2f6d36c34aee244e191001d97adefd8d7f8

9 years agoam 0266f255: am a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved...
Jarkko Pöyry [Thu, 11 Jun 2015 22:22:15 +0000 (22:22 +0000)]
am 0266f255: am a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into mnc-dev

* commit '0266f255775eb0b406f0a509fde6d10108078112':
  Enable default VAO attrib divisor test for resolved Khronos bug 13564.

9 years agoam a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved Khronos bug...
Jarkko Pöyry [Thu, 11 Jun 2015 22:09:52 +0000 (22:09 +0000)]
am a4ee9d81: Merge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into mnc-dev

* commit 'a4ee9d81761262d28b8219cae3199d59d04f9a9c':
  Enable default VAO attrib divisor test for resolved Khronos bug 13564.

9 years agoAvoid accessing uninitialized values in get/setPixDepth/Stencil
Mika Isojärvi [Wed, 10 Jun 2015 23:27:08 +0000 (16:27 -0700)]
Avoid accessing uninitialized values in get/setPixDepth/Stencil

Access only depth or stencil component when using combined formats in
tcu::Texture to avoid propagating uninitialized values.

Change-Id: I399c912ef07710a5dbb9e85559d108b98a9f2178

9 years agoam 685c36aa: am 28b88d23: Remove interpolate_at_centroid tests from mustpass.
Jarkko Pöyry [Thu, 11 Jun 2015 21:20:42 +0000 (21:20 +0000)]
am 685c36aa: am 28b88d23: Remove interpolate_at_centroid tests from mustpass.

* commit '685c36aa1f359b33a301e8ce1dd8d90ae4122dce':
  Remove interpolate_at_centroid tests from mustpass.

9 years agoam 4f5bacb8: am a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into...
Jarkko Pöyry [Thu, 11 Jun 2015 21:20:41 +0000 (21:20 +0000)]
am 4f5bacb8: am a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev

* commit '4f5bacb8d76ea2f18704338146e9189bb3885f67':
  Ignore denormals in floatUlpThresholdCompare.

9 years agoam b559f2e9: am eb7b7b57: Merge "Convert negative pragma cases to positive." into...
Jarkko Pöyry [Thu, 11 Jun 2015 21:20:40 +0000 (21:20 +0000)]
am b559f2e9: am eb7b7b57: Merge "Convert negative pragma cases to positive." into mnc-dev

* commit 'b559f2e97fdd78ab0ebd63afb5f7cb8cdde4bc00':
  Convert negative pragma cases to positive.

9 years agoam 28b88d23: Remove interpolate_at_centroid tests from mustpass.
Jarkko Pöyry [Thu, 11 Jun 2015 21:11:12 +0000 (21:11 +0000)]
am 28b88d23: Remove interpolate_at_centroid tests from mustpass.

* commit '28b88d232e3758d30ff25ed132ac4df6f742fb4a':
  Remove interpolate_at_centroid tests from mustpass.

9 years agoam a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 21:10:44 +0000 (21:10 +0000)]
am a0227f11: Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev

* commit 'a0227f11d2a18d73fdef4edda07dc1a93ec5113a':
  Ignore denormals in floatUlpThresholdCompare.

9 years agoam eb7b7b57: Merge "Convert negative pragma cases to positive." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 21:10:43 +0000 (21:10 +0000)]
am eb7b7b57: Merge "Convert negative pragma cases to positive." into mnc-dev

* commit 'eb7b7b5711e0447e6ea0ab28ca3574fdb9efdd76':
  Convert negative pragma cases to positive.

9 years agoMerge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into...
Jarkko Pöyry [Thu, 11 Jun 2015 20:59:24 +0000 (20:59 +0000)]
Merge "Enable default VAO attrib divisor test for resolved Khronos bug 13564." into mnc-dev

9 years agoEnable default VAO attrib divisor test for resolved Khronos bug 13564.
Jarkko Pöyry [Thu, 11 Jun 2015 20:13:21 +0000 (13:13 -0700)]
Enable default VAO attrib divisor test for resolved Khronos bug 13564.

Bug: 20154392
Change-Id: I46118adefb6f6f8e91c6660c2503c987343fc4c8

9 years agoRemove interpolate_at_centroid tests from mustpass.
Jarkko Pöyry [Thu, 11 Jun 2015 20:09:56 +0000 (13:09 -0700)]
Remove interpolate_at_centroid tests from mustpass.

Bug: 20453509
Change-Id: Ia9d31f5e5f96743793bc57f1440a114128e8e833

9 years agoMerge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 19:56:56 +0000 (19:56 +0000)]
Merge "Ignore denormals in floatUlpThresholdCompare." into mnc-dev

9 years agoMerge "Convert negative pragma cases to positive." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 19:56:30 +0000 (19:56 +0000)]
Merge "Convert negative pragma cases to positive." into mnc-dev

9 years agoam 6566f6d2: am 54a10cdf: Merge "Fix GLES31 geo/tess linkage test uniforms with confi...
Jarkko Pöyry [Thu, 11 Jun 2015 17:19:34 +0000 (17:19 +0000)]
am 6566f6d2: am 54a10cdf: Merge "Fix GLES31 geo/tess linkage test uniforms with conficting precisions." into mnc-dev

* commit '6566f6d29e881d3db7e3431677b1712bc79d29ee':
  Fix GLES31 geo/tess linkage test uniforms with conficting precisions.

9 years agoam 5a74ac83: am 3b7bf927: Merge "Add missing TCS/TES image limit checks to PIQ tests...
Jarkko Pöyry [Thu, 11 Jun 2015 17:09:32 +0000 (17:09 +0000)]
am 5a74ac83: am 3b7bf927: Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev

* commit '5a74ac837d8157ab07c8bb77c661c5fb642b33e0':
  Add missing TCS/TES image limit checks to PIQ tests.

9 years agoam d41aad0c: am d75e90cd: Merge "Check tessellation SSBO block limits in ShaderExecUt...
Jarkko Pöyry [Thu, 11 Jun 2015 17:09:31 +0000 (17:09 +0000)]
am d41aad0c: am d75e90cd: Merge "Check tessellation SSBO block limits in ShaderExecUtil." into mnc-dev

* commit 'd41aad0c69a0a3076a22d5158312f155ff141550':
  Check tessellation SSBO block limits in ShaderExecUtil.

9 years agoam 5b99b804: am 2627adc0: Merge "Fix explicit TCS output array size not matching...
Jarkko Pöyry [Thu, 11 Jun 2015 17:09:06 +0000 (17:09 +0000)]
am 5b99b804: am 2627adc0: Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into mnc-dev

* commit '5b99b804ef87efec7746e5d2bed6feca409e7d78':
  Fix explicit TCS output array size not matching gl_MaxPatchVertices.

9 years agoam 54a10cdf: Merge "Fix GLES31 geo/tess linkage test uniforms with conficting precisi...
Jarkko Pöyry [Thu, 11 Jun 2015 17:06:50 +0000 (17:06 +0000)]
am 54a10cdf: Merge "Fix GLES31 geo/tess linkage test uniforms with conficting precisions." into mnc-dev

* commit '54a10cdf8b32aacf79d090c5f2584271cff211b6':
  Fix GLES31 geo/tess linkage test uniforms with conficting precisions.

9 years agoIgnore denormals in floatUlpThresholdCompare.
Jarkko Pöyry [Thu, 11 Jun 2015 16:27:09 +0000 (09:27 -0700)]
Ignore denormals in floatUlpThresholdCompare.

- Calculate ULPs assuming denormals (and signed zeros) do not exist.

Bug: 21731219
Change-Id: I6f426c781b2c38d7279b65a973e381f0848fbe02

9 years agoam 3b7bf927: Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 16:53:52 +0000 (16:53 +0000)]
am 3b7bf927: Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev

* commit '3b7bf927113405c56ea1790ef8dc8cc667768cfa':
  Add missing TCS/TES image limit checks to PIQ tests.

9 years agoam d75e90cd: Merge "Check tessellation SSBO block limits in ShaderExecUtil." into...
Jarkko Pöyry [Thu, 11 Jun 2015 16:53:51 +0000 (16:53 +0000)]
am d75e90cd: Merge "Check tessellation SSBO block limits in ShaderExecUtil." into mnc-dev

* commit 'd75e90cd6a2a72774124c341a77c8b8cb913cc54':
  Check tessellation SSBO block limits in ShaderExecUtil.

9 years agoMerge "Fix GLES31 geo/tess linkage test uniforms with conficting precisions." into...
Jarkko Pöyry [Thu, 11 Jun 2015 16:44:07 +0000 (16:44 +0000)]
Merge "Fix GLES31 geo/tess linkage test uniforms with conficting precisions." into mnc-dev

9 years agoam 2627adc0: Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertic...
Jarkko Pöyry [Thu, 11 Jun 2015 16:38:31 +0000 (16:38 +0000)]
am 2627adc0: Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into mnc-dev

* commit '2627adc0f42793dfb9b73e84937162b9c85bd1e8':
  Fix explicit TCS output array size not matching gl_MaxPatchVertices.

9 years agoMerge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 16:36:37 +0000 (16:36 +0000)]
Merge "Add missing TCS/TES image limit checks to PIQ tests." into mnc-dev

9 years agoMerge "Check tessellation SSBO block limits in ShaderExecUtil." into mnc-dev
Jarkko Pöyry [Thu, 11 Jun 2015 16:28:03 +0000 (16:28 +0000)]
Merge "Check tessellation SSBO block limits in ShaderExecUtil." into mnc-dev

9 years agoCheck tessellation SSBO block limits in ShaderExecUtil.
Jarkko Pöyry [Wed, 10 Jun 2015 01:08:59 +0000 (18:08 -0700)]
Check tessellation SSBO block limits in ShaderExecUtil.

Bug: 21731306
Change-Id: Ib6291006b03b87494cdefc78875162f538a4e695

9 years agoMerge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into...
Jarkko Pöyry [Thu, 11 Jun 2015 16:19:32 +0000 (16:19 +0000)]
Merge "Fix explicit TCS output array size not matching gl_MaxPatchVertices." into mnc-dev

9 years agoam 90c3f00b: am 3894a568: Merge "Remove flush_wait test as glFlush does not flush...
Kalle Raita [Thu, 11 Jun 2015 02:00:26 +0000 (02:00 +0000)]
am 90c3f00b: am 3894a568: Merge "Remove flush_wait test as glFlush does not flush on all platforms." into mnc-dev

* commit '90c3f00b4f0fc4bcb70b0bd4eb1299ebe50092ba':
  Remove flush_wait test as glFlush does not flush on all platforms.

9 years agoam b72263a1: am 3ec40c89: Merge "Force sampling to single texture level in copy image...
Mika Isojärvi [Thu, 11 Jun 2015 02:00:25 +0000 (02:00 +0000)]
am b72263a1: am 3ec40c89: Merge "Force sampling to single texture level in copy image tests" into mnc-dev

* commit 'b72263a1e501c2e21c47c7c49055abf74cf898ee':
  Force sampling to single texture level in copy image tests

9 years agoam 3894a568: Merge "Remove flush_wait test as glFlush does not flush on all platforms...
Kalle Raita [Thu, 11 Jun 2015 01:49:03 +0000 (01:49 +0000)]
am 3894a568: Merge "Remove flush_wait test as glFlush does not flush on all platforms." into mnc-dev

* commit '3894a5680af18b0e121d08b32944bd71aae91eca':
  Remove flush_wait test as glFlush does not flush on all platforms.

9 years agoam 3ec40c89: Merge "Force sampling to single texture level in copy image tests" into...
Mika Isojärvi [Thu, 11 Jun 2015 01:49:03 +0000 (01:49 +0000)]
am 3ec40c89: Merge "Force sampling to single texture level in copy image tests" into mnc-dev

* commit '3ec40c891edc5de43094c30cd637982509168652':
  Force sampling to single texture level in copy image tests

9 years agoMerge "Remove flush_wait test as glFlush does not flush on all platforms." into mnc-dev
Kalle Raita [Thu, 11 Jun 2015 00:25:08 +0000 (00:25 +0000)]
Merge "Remove flush_wait test as glFlush does not flush on all platforms." into mnc-dev

9 years agoUse transfer format for uploaded data in texture tests
Mika Isojärvi [Wed, 10 Jun 2015 23:54:55 +0000 (16:54 -0700)]
Use transfer format for uploaded data in texture tests

Use transfer format instead of internal format for uploaded data in
texture tests.

Change-Id: I1b72a704aac659c0b276ad922f5fac944ee5286b

9 years agoRemove flush_wait test as glFlush does not flush on all platforms.
Kalle Raita [Wed, 6 May 2015 18:39:55 +0000 (11:39 -0700)]
Remove flush_wait test as glFlush does not flush on all platforms.

Bug: 20558284
Change-Id: I8daa93459db7e1bfadf194e496a1596703a07693

9 years agoMerge "Force sampling to single texture level in copy image tests" into mnc-dev
Mika Isojärvi [Wed, 10 Jun 2015 23:36:25 +0000 (23:36 +0000)]
Merge "Force sampling to single texture level in copy image tests" into mnc-dev

9 years agoam a95a445f: am 8fbd4858: Merge "Remove tests for __LINE__ in nested multi-line macro...
Kalle Raita [Wed, 10 Jun 2015 23:31:57 +0000 (23:31 +0000)]
am a95a445f: am 8fbd4858: Merge "Remove tests for __LINE__ in nested multi-line macros." into mnc-dev

* commit 'a95a445f3cee51ecbe201846ecfc95f22af0bf87':
  Remove tests for __LINE__ in nested multi-line macros.

9 years agoam 44a6b6f1: am b3637d2f: Fix bug in tcu::Interval::intersects()
Pyry Haulos [Wed, 10 Jun 2015 23:31:56 +0000 (23:31 +0000)]
am 44a6b6f1: am b3637d2f: Fix bug in tcu::Interval::intersects()

* commit '44a6b6f1fc0d44130b1dd71197e236c1b3664856':
  Fix bug in tcu::Interval::intersects()

9 years agoam 8fbd4858: Merge "Remove tests for __LINE__ in nested multi-line macros." into...
Kalle Raita [Wed, 10 Jun 2015 23:15:37 +0000 (23:15 +0000)]
am 8fbd4858: Merge "Remove tests for __LINE__ in nested multi-line macros." into mnc-dev

* commit '8fbd4858011144feee50cf2cc2ca5faa076d8c71':
  Remove tests for __LINE__ in nested multi-line macros.

9 years agoam b3637d2f: Fix bug in tcu::Interval::intersects()
Pyry Haulos [Wed, 10 Jun 2015 23:14:46 +0000 (23:14 +0000)]
am b3637d2f: Fix bug in tcu::Interval::intersects()

* commit 'b3637d2f4c8c33317e4b9e7d5e637e8e33766e00':
  Fix bug in tcu::Interval::intersects()

9 years agoMerge "Remove tests for __LINE__ in nested multi-line macros." into mnc-dev
Kalle Raita [Wed, 10 Jun 2015 20:48:22 +0000 (20:48 +0000)]
Merge "Remove tests for __LINE__ in nested multi-line macros." into mnc-dev

9 years agoRemove tests for __LINE__ in nested multi-line macros.
Kalle Raita [Wed, 10 Jun 2015 18:23:01 +0000 (11:23 -0700)]
Remove tests for __LINE__ in nested multi-line macros.

Bug: 21737600
Change-Id: Ifb98bcfceec5a9c9cb75cfa3d17109111dce7360

9 years agoFix bug in tcu::Interval::intersects()
Pyry Haulos [Wed, 10 Jun 2015 19:19:54 +0000 (12:19 -0700)]
Fix bug in tcu::Interval::intersects()

This bug (probably just a typo) was causing issues in atan(y, x) tests.
The verification didn't account for small denormal divisors being
flushed to +0.

Bug: 21326633
Change-Id: I044ab38fb7f2ae316dfdac0674eab942fc5c8446

9 years agoMerge "Do not produce Infs in atanh tests."
Jarkko Pöyry [Wed, 10 Jun 2015 18:28:44 +0000 (18:28 +0000)]
Merge "Do not produce Infs in atanh tests."

9 years agoAdd missing TCS/TES image limit checks to PIQ tests.
Jarkko Pöyry [Wed, 10 Jun 2015 18:22:04 +0000 (11:22 -0700)]
Add missing TCS/TES image limit checks to PIQ tests.

Bug: 21731306
Change-Id: If08d216ba0d67a772312caeeac65ebe7cd762cfe

9 years agoForce sampling to single texture level in copy image tests
Mika Isojärvi [Tue, 9 Jun 2015 23:03:31 +0000 (16:03 -0700)]
Force sampling to single texture level in copy image tests

Use GL_TEXTURE_MAX_LEVEL and GL_TEXTURE_BASE_LEVEL to make sure verification
always samples from single texture level.

Bug: 21731224
Change-Id: I0e7ccaeda4de693e1828980c2b1f2529050bc406

9 years agoFix explicit TCS output array size not matching gl_MaxPatchVertices.
Jarkko Pöyry [Tue, 9 Jun 2015 20:32:17 +0000 (13:32 -0700)]
Fix explicit TCS output array size not matching gl_MaxPatchVertices.

Fix GLES3 tessellation.user_defined_io.per_vertex_* cases declaring explicitly
sized output (block) array with invalid size. Size, if declared, must match
both gl_MaxPatchVertices and the size declared in the layout declaration. Fix
cases by always using implicit array sizes in per-vertex TCS output arrays.

See Khronos bug #12908 (issues 2 and 3) for details.

Bug: 21730725
Change-Id: I9c5e674893590e0f004708139b507fc5446424ae

9 years agoam 2ff0cb3d: am a69003b7: Merge "Allow XXX_framebuffer_no_attachments limits to excee...
Jarkko Pöyry [Wed, 10 Jun 2015 17:13:10 +0000 (17:13 +0000)]
am 2ff0cb3d: am a69003b7: Merge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into mnc-dev

* commit '2ff0cb3d8c1f7c57671de21a29c57ab3260ae5ff':
  Allow XXX_framebuffer_no_attachments limits to exceed texture limits.

9 years agoam c71de183: am 0fbaeab9: Merge "Allow any int -> float rounding in state query utils...
Jarkko Pöyry [Wed, 10 Jun 2015 17:13:09 +0000 (17:13 +0000)]
am c71de183: am 0fbaeab9: Merge "Allow any int -> float rounding in state query utils." into mnc-dev

* commit 'c71de18307ef4a04c201fe1a23d99280539bc44f':
  Allow any int -> float rounding in state query utils.

9 years agoam a69003b7: Merge "Allow XXX_framebuffer_no_attachments limits to exceed texture...
Jarkko Pöyry [Wed, 10 Jun 2015 15:52:29 +0000 (15:52 +0000)]
am a69003b7: Merge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into mnc-dev

* commit 'a69003b79f317822a2bbe1f804b425ca00998a2e':
  Allow XXX_framebuffer_no_attachments limits to exceed texture limits.

9 years agoam 0fbaeab9: Merge "Allow any int -> float rounding in state query utils." into mnc-dev
Jarkko Pöyry [Wed, 10 Jun 2015 15:52:29 +0000 (15:52 +0000)]
am 0fbaeab9: Merge "Allow any int -> float rounding in state query utils." into mnc-dev

* commit '0fbaeab9d99e2e36f98598112ee56c883d00a3f4':
  Allow any int -> float rounding in state query utils.

9 years agoMerge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into...
Jarkko Pöyry [Wed, 10 Jun 2015 15:21:08 +0000 (15:21 +0000)]
Merge "Allow XXX_framebuffer_no_attachments limits to exceed texture limits." into mnc-dev

9 years agoMerge "Allow any int -> float rounding in state query utils." into mnc-dev
Jarkko Pöyry [Wed, 10 Jun 2015 15:19:41 +0000 (15:19 +0000)]
Merge "Allow any int -> float rounding in state query utils." into mnc-dev

9 years agoAllow any int -> float rounding in state query utils.
Jarkko Pöyry [Tue, 2 Jun 2015 03:58:39 +0000 (20:58 -0700)]
Allow any int -> float rounding in state query utils.

Bug: 21326686
Change-Id: I5d771e6e7f3961a0d2302952b1a6a020bce45a41

9 years agoMerge "Fix uninitialized values in geometry shader tests"
Mika Isojärvi [Tue, 9 Jun 2015 22:04:49 +0000 (22:04 +0000)]
Merge "Fix uninitialized values in geometry shader tests"

9 years agoMerge "Fix uninitialized values in vertex array tests"
Mika Isojärvi [Tue, 9 Jun 2015 22:04:06 +0000 (22:04 +0000)]
Merge "Fix uninitialized values in vertex array tests"

9 years agoAllow XXX_framebuffer_no_attachments limits to exceed texture limits.
Jarkko Pöyry [Tue, 9 Jun 2015 21:22:13 +0000 (14:22 -0700)]
Allow XXX_framebuffer_no_attachments limits to exceed texture limits.

Bug: 21732003
Change-Id: Ic242ce22c19751629fe90225328e3317968dd076

9 years agoFix uninitialized values in vertex array tests
Mika Isojärvi [Tue, 9 Jun 2015 17:59:48 +0000 (10:59 -0700)]
Fix uninitialized values in vertex array tests

Change-Id: I8a789177a2c74eec766dbff4962f869773fb9372

9 years agoFix uninitialized values in geometry shader tests
Mika Isojärvi [Tue, 9 Jun 2015 21:37:45 +0000 (14:37 -0700)]
Fix uninitialized values in geometry shader tests

Change-Id: I827034801cabe78ad7a43d85f453686a8e20ab47

9 years agoFix GLES31 geo/tess linkage test uniforms with conficting precisions.
Jarkko Pöyry [Tue, 9 Jun 2015 19:24:48 +0000 (12:24 -0700)]
Fix GLES31 geo/tess linkage test uniforms with conficting precisions.

Bug: 21730730
Change-Id: Icc8738d273ed69bc3ef8875ea5f9e3185b62d603

9 years agoam a108d4bf: (-s ours) am 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query...
Jarkko Pöyry [Tue, 9 Jun 2015 19:57:32 +0000 (19:57 +0000)]
am a108d4bf: (-s ours) am 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

* commit 'a108d4bf5719e22144c1c5ef4ed46476625d5381':
  DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

9 years agoam 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state...
Jarkko Pöyry [Tue, 9 Jun 2015 19:42:37 +0000 (19:42 +0000)]
am 13034e14: DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

* commit '13034e144e482ec96d679e796575ac69c132ee03':
  DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

9 years agoFix ULP computation issue in shader.precision.float tests
Pyry Haulos [Tue, 9 Jun 2015 19:25:17 +0000 (12:25 -0700)]
Fix ULP computation issue in shader.precision.float tests

To avoid undefined behavior, the ShaderFloatPrecisionCase::compare() was
changed to limit right shift to at most data type bit width.
Unfortunately values were mistaken as 32-bit, while they were actually
64-bit values.

Change-Id: I373e0318ab577d1f169717db734d4a66953ee29c