Merge branch 'mobica_fix_spirv_validation_errors' into 'vulkan-cts-1.0-dev'
authorMika Isojarvi <misojarvi@google.com>
Thu, 16 Jun 2016 17:40:02 +0000 (17:40 +0000)
committerMika Isojarvi <misojarvi@google.com>
Thu, 16 Jun 2016 17:40:02 +0000 (17:40 +0000)
commit64ddfd949ffe41c25ea7261dc061312df577638c
treeb35217e9e9fbe755aa4f78564bb450256b843b52
parentcd9217344a19e774be7f7a4a20dba05f8c1b7c32
parent0a6fe1448b303a6a4e4ab48712eaf1c0b16d75b1
Merge branch 'mobica_fix_spirv_validation_errors' into 'vulkan-cts-1.0-dev'

Explicitly declare gl_PerVertex block

This fixes SPIR-V validation error in shaders generated from GLSL (not ES) due to missing ClipDistance capability.

I'm adding "for discussion" label to highlight this. Also not sure if we really need to make these fixes, or should this be dealt with someplace else.

Affected tests (at least those I noticed):

- dEQP-VK.draw
- dEQP-VK.binding_model
- dEQP-VK.pipeline.early_fragment
- dEQP-VK.pipeline.spec_constant

See merge request !590