Merge branch 'jbolz_pipeline_barrier_fixes' into 'master'
authorPyry Haulos <phaulos@google.com>
Tue, 5 Jan 2016 18:57:31 +0000 (13:57 -0500)
committerPyry Haulos <phaulos@google.com>
Tue, 5 Jan 2016 18:57:31 +0000 (13:57 -0500)
commit869784738ca1614c7d839133f38f21013e264abd
treedaf85ff0b81a10aee2bd918ee58cae82fa8c066f
parent23654bfc5a45b58b634ec97d8fa7e0238d3b93ef
parent4f7b747739331936d741874a79912f4081cff1f8
Merge branch 'jbolz_pipeline_barrier_fixes' into 'master'

pipeline_barrier fixes

- Try to use the full (power of two) buffer size. Not doing so tickles several issues to do with not writing all bytes of the buffer or image.
- Fix FillBuffer::verify byte selection.
- Use R8G8 rather than R8G8B8 for the vertex format. The third component is out of bounds for the last vertex, which makes the entire attribute undefined (i.e. substituted with zero on some implementations).
- Subtract out epsilon in vertex shader math to avoid points on the frustum boundary which may be culled.

See merge request !227
external/vulkancts/modules/vulkan/memory/vktMemoryPipelineBarrierTests.cpp