platform/upstream/VK-GL-CTS.git
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 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 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

9 years agoConvert negative pragma cases to positive.
Jarkko Pöyry [Tue, 9 Jun 2015 18:08:43 +0000 (11:08 -0700)]
Convert negative pragma cases to positive.

- Convert negative #pragma debug and invalid token cases to expect
  successful compile.
- Rename tests to match new behavior and remove cases from mustpass.

Bug: 21725534
Change-Id: I4cb06d3038b551eb21b52f14dd341bb59519d38c

9 years agoDO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.
Jarkko Pöyry [Mon, 1 Jun 2015 23:42:47 +0000 (16:42 -0700)]
DO NOT MERGE: Port GLES2 and 3 binding query tests to use gls state query utils.

Bug: 21326686
Bug: 19144698
Change-Id: I39d46ff18eccb8b3d148cb05cb2cf7fdb69432be

9 years agoam da303784: am 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPo...
Jarkko Pöyry [Mon, 8 Jun 2015 21:14:10 +0000 (21:14 +0000)]
am da303784: am 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

* commit 'da303784beb93fb10aaf3e0b71694b98e56ed2e4':
  Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

9 years agoam 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.
Jarkko Pöyry [Mon, 8 Jun 2015 20:58:52 +0000 (20:58 +0000)]
am 58aae3be: Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

* commit '58aae3be8e0f69d8e48f5a50dca830b0bfc1b136':
  Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

9 years agoMerge "Initialize uninitialized values in compilation performance tests"
Mika Isojärvi [Mon, 8 Jun 2015 20:43:07 +0000 (20:43 +0000)]
Merge "Initialize uninitialized values in compilation performance tests"

9 years agoMerge "Initialize uninitialized values in debug tests"
Mika Isojärvi [Mon, 8 Jun 2015 20:42:22 +0000 (20:42 +0000)]
Merge "Initialize uninitialized values in debug tests"

9 years agoMerge "Fix fillWithGrid calling fillWithGradient for depth formats"
Mika Isojärvi [Mon, 8 Jun 2015 20:41:54 +0000 (20:41 +0000)]
Merge "Fix fillWithGrid calling fillWithGradient for depth formats"

9 years agoMerge "Initialize uninitialized value in ES 2 capability tests"
Mika Isojärvi [Mon, 8 Jun 2015 20:41:21 +0000 (20:41 +0000)]
Merge "Initialize uninitialized value in ES 2 capability tests"

9 years agoAdd deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.
Jarkko Pöyry [Tue, 2 Jun 2015 03:55:25 +0000 (20:55 -0700)]
Add deInt32ToFloatRoundToNegInf and deInt32ToFloatRoundToPosInf.

Bug: 21326686
Change-Id: Iace59b3e8ffd7fe88b75bc1801f57207807304c8

9 years agoInitialize uninitialized values in debug tests
Mika Isojärvi [Mon, 8 Jun 2015 20:17:50 +0000 (13:17 -0700)]
Initialize uninitialized values in debug tests

Change-Id: I357c2ec20e28ca3bf874f56dc629e4f3b7ec07f1

9 years agoInitialize uninitialized values in compilation performance tests
Mika Isojärvi [Mon, 8 Jun 2015 19:24:13 +0000 (12:24 -0700)]
Initialize uninitialized values in compilation performance tests

Change-Id: I2fc6c99ff1159d810cab1494790c7556c4ae8d71

9 years agoMerge "Improve build_android_caselist error reporting."
Jarkko Pöyry [Mon, 8 Jun 2015 20:09:11 +0000 (20:09 +0000)]
Merge "Improve build_android_caselist error reporting."

9 years agoMerge "Document GLES2 texture size failures."
Jarkko Pöyry [Mon, 8 Jun 2015 20:08:41 +0000 (20:08 +0000)]
Merge "Document GLES2 texture size failures."

9 years agoam 18ebbc75: am 44b90705: Merge "Add simulated error before rounding to target precis...
Jarkko Pöyry [Mon, 8 Jun 2015 19:58:12 +0000 (19:58 +0000)]
am 18ebbc75: am 44b90705: Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

* commit '18ebbc752f02455a9cee5d4e4ba940ca37a253ca':
  Add simulated error before rounding to target precision in dfdx tests.

9 years agoam e1086a8c: am fede57e8: Merge "Do not require max components to be divisible by...
Kalle Raita [Mon, 8 Jun 2015 19:57:36 +0000 (19:57 +0000)]
am e1086a8c: am fede57e8: Merge "Do not require max components to be divisible by 4" into mnc-dev

* commit 'e1086a8c31ca4ec7d87eb1a35031bc21e812df1e':
  Do not require max components to be divisible by 4

9 years agoImprove build_android_caselist error reporting.
Jarkko Pöyry [Mon, 8 Jun 2015 19:40:00 +0000 (12:40 -0700)]
Improve build_android_caselist error reporting.

Change-Id: I7f4b66ce23e5e9756d063a3eb62d0652cf7911ee

9 years agoFix fillWithGrid calling fillWithGradient for depth formats
Mika Isojärvi [Mon, 8 Jun 2015 19:39:34 +0000 (12:39 -0700)]
Fix fillWithGrid calling fillWithGradient for depth formats

Change-Id: I5f7411dafce4fbb2cce25c8fdd1a8cfb32f2b083

9 years agoDocument GLES2 texture size failures.
Jarkko Pöyry [Mon, 8 Jun 2015 19:25:35 +0000 (12:25 -0700)]
Document GLES2 texture size failures.

Bug: 21526557
Change-Id: I2ddf24bd8bb19d97a915d77b7720c983a80c615e

9 years agoam 44b90705: Merge "Add simulated error before rounding to target precision in dfdx...
Jarkko Pöyry [Mon, 8 Jun 2015 18:38:15 +0000 (18:38 +0000)]
am 44b90705: Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

* commit '44b9070540cc12faccfb02bb5082ada7a83bc112':
  Add simulated error before rounding to target precision in dfdx tests.

9 years agoInitialize uninitialized value in ES 2 capability tests
Mika Isojärvi [Mon, 8 Jun 2015 18:25:53 +0000 (11:25 -0700)]
Initialize uninitialized value in ES 2 capability tests

Change-Id: I67b722b6c0002e6bad2c6ff52b424aa4c0bfd9ac

9 years agoam fede57e8: Merge "Do not require max components to be divisible by 4" into mnc-dev
Kalle Raita [Mon, 8 Jun 2015 18:22:52 +0000 (18:22 +0000)]
am fede57e8: Merge "Do not require max components to be divisible by 4" into mnc-dev

* commit 'fede57e8f04a40f38e80594429ee5d08cf26a5a8':
  Do not require max components to be divisible by 4

9 years agoDo not produce Infs in atanh tests.
Jarkko Pöyry [Fri, 5 Jun 2015 03:14:42 +0000 (20:14 -0700)]
Do not produce Infs in atanh tests.

Bug: 21644295
Change-Id: Ie121c21f4ae1b034bd5c7ce676a147ea287f64cb

9 years agoMerge "Add simulated error before rounding to target precision in dfdx tests." into...
Jarkko Pöyry [Mon, 8 Jun 2015 18:12:36 +0000 (18:12 +0000)]
Merge "Add simulated error before rounding to target precision in dfdx tests." into mnc-dev

9 years agoMerge "Handle SIGINT in command line executor."
Mika Isojärvi [Mon, 8 Jun 2015 17:48:35 +0000 (17:48 +0000)]
Merge "Handle SIGINT in command line executor."

9 years agoMerge "Do not require max components to be divisible by 4" into mnc-dev
Kalle Raita [Mon, 8 Jun 2015 17:48:21 +0000 (17:48 +0000)]
Merge "Do not require max components to be divisible by 4" into mnc-dev

9 years agoDo not require max components to be divisible by 4
Kalle Raita [Thu, 4 Jun 2015 22:58:50 +0000 (15:58 -0700)]
Do not require max components to be divisible by 4

Spec language only has the requirement that max number of vectors is
the max number of components divided by four.

Bug: 21445539
Change-Id: I6f2c630bfbdb43e06667fa8cea5c6209922b6285

9 years agoam c255b711: am aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Sat, 6 Jun 2015 17:05:07 +0000 (17:05 +0000)]
am c255b711: am aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests

* commit 'c255b711bf345603beeef9ff5d425b65c7586799':
  Always read pixels from fbo in fbo recreate.no_rebind tests

9 years agoam aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Sat, 6 Jun 2015 01:26:50 +0000 (01:26 +0000)]
am aa143d2e: Always read pixels from fbo in fbo recreate.no_rebind tests

* commit 'aa143d2e95600cb90e9fe423328e23bcfd267787':
  Always read pixels from fbo in fbo recreate.no_rebind tests

9 years agoAdd simulated error before rounding to target precision in dfdx tests.
Jarkko Pöyry [Fri, 5 Jun 2015 22:48:56 +0000 (15:48 -0700)]
Add simulated error before rounding to target precision in dfdx tests.

- Add interpolation error before rounding in GLES3 Derivate tests. If the
  error is not added before rounding and reference value happens to be 1:1
  representable in the target precision, both rounding directions yield the
  same value and error bounds will be lost.

Bug: 21666909
Change-Id: Ie948ea32075439c962d8ca52362069ca030a172e

9 years agoAlways read pixels from fbo in fbo recreate.no_rebind tests
Mika Isojärvi [Wed, 3 Jun 2015 23:54:11 +0000 (16:54 -0700)]
Always read pixels from fbo in fbo recreate.no_rebind tests

Instead of rendering texture to screen and verifying result, read texture
attachments pixels using fbo. This changes texture tests to work same way as
renderbuffer tests work and avoids triggering some bugs in reference context.

Bug: 21526068
Change-Id: I3009703a947e1a11327cf8f49585dce2a3270a04

9 years agoMerge "Fix clang string literal conversion warnings."
Jarkko Pöyry [Fri, 5 Jun 2015 18:41:14 +0000 (18:41 +0000)]
Merge "Fix clang string literal conversion warnings."

9 years agoam e26f66d1: am 27074140: Merge "Check sampler limits in random shader cases." into...
Jarkko Pöyry [Fri, 5 Jun 2015 02:11:38 +0000 (02:11 +0000)]
am e26f66d1: am 27074140: Merge "Check sampler limits in random shader cases." into mnc-dev

* commit 'e26f66d1c9ab11cc24e916e8cdb273fdabbd6fba':
  Check sampler limits in random shader cases.

9 years agoam 27074140: Merge "Check sampler limits in random shader cases." into mnc-dev
Jarkko Pöyry [Fri, 5 Jun 2015 02:00:34 +0000 (02:00 +0000)]
am 27074140: Merge "Check sampler limits in random shader cases." into mnc-dev

* commit '27074140be9b37c0d5a4f75ebbcd90d98f5b758d':
  Check sampler limits in random shader cases.

9 years agoMerge "Fix some -Wconversion warnings."
Jarkko Pöyry [Fri, 5 Jun 2015 01:42:26 +0000 (01:42 +0000)]
Merge "Fix some -Wconversion warnings."

9 years agoMerge "Check sampler limits in random shader cases." into mnc-dev
Jarkko Pöyry [Fri, 5 Jun 2015 01:37:47 +0000 (01:37 +0000)]
Merge "Check sampler limits in random shader cases." into mnc-dev

9 years agoam 4383d07e: am 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with...
Pyry Haulos [Thu, 4 Jun 2015 15:08:22 +0000 (15:08 +0000)]
am 4383d07e: am 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit '4383d07ed610e01cae02e78d5045dc71ddc4dae2':
  Remove fragment_out tests with too strict thresholds from mustpass

9 years agoam 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict...
Pyry Haulos [Thu, 4 Jun 2015 14:56:28 +0000 (14:56 +0000)]
am 27fd616c: am a4a7a175: am fe14a7c9: Remove fragment_out tests with too strict thresholds from mustpass automerge: f55476d

* commit '27fd616c26df2abcc3e28a559076519f8615f011':
  Remove fragment_out tests with too strict thresholds from mustpass