Set point size value for vertex shader in OptionalVertexInputTest

When pipeline topology is set to Point_List, PointSize must be written
in vertex shader for Vulkan backend.

BUG=dawn:146

Change-Id: I0ea6aa937866d1985287d353f82d344100b41acd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11140
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Hao Li <hao.x.li@intel.com>
This commit is contained in:
Li, Hao 2019-09-11 15:59:16 +00:00 committed by Commit Bot service account
parent 4cc1891039
commit 2a2392073b
1 changed files with 1 additions and 0 deletions

View File

@ -534,6 +534,7 @@ TEST_P(OptionalVertexInputTest, Basic) {
#version 450
void main() {
gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
gl_PointSize = 1.0;
})");
dawn::ShaderModule fsModule =