commit | e6ec2db0b8f70ad61ab12595f64c044f0bb079ef | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Fri Feb 10 11:35:52 2017 +0100 |
committer | Iago Toral Quiroga <itoral@igalia.com> | Mon Feb 13 11:13:28 2017 +0100 |
tree | 5fae81bfbab04c834945b6809136a5cd6e7c86c6 | |
parent | 83781bfa0cd221a190f925e3c196115801514f51 [diff] |
Write gl_PointSize value when it is undefined gl_PointSize is undefined unless expicitly written to. The only exception to this rule is the case when shaderTessellationAndGeometryPointSize is disabled, in which case it defaults to 1.0 for these stages. Since we don't have access to the physical device features at shader compile time, implement two variants of the tessellation evaluation shader when point mode is enabled, one that writes gl_PointSize and one that doesn't and decide the one we need at run time based on whether the feature is enabled or not. Components: Vulkan Fixes VK-GL-CTS issue: 159 Affects: dEQP-VK.tessellation.primitive_discard.*point_mode Change-Id: Idadbc70a704f00ed601ff65afeb2a3edfbeb3f19
This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
Up-to-date documentation for the dEQP is available at Android Open Source Project site.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.