Initialize gl_PointSize if the test draws points
authorAmy Liu <amy.liu@arm.com>
Tue, 14 Jan 2020 08:34:30 +0000 (16:34 +0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 27 Apr 2020 08:44:14 +0000 (04:44 -0400)
commit1cb737dd0d3af3f1001466feb566e0d54f623a15
tree01fc02a7928c718aecdfec00877b5e58b5f10897
parenta743bf4b639a25ab5a27b89dea1037be0872f129
Initialize gl_PointSize if the test draws points

From GLSL specification: "If gl_PointSize is not written to,
its value is undefined in subsequent pipe stages"

Affects:

dEQP-GLES3.functional.primitive_restart.basic.points.*
dEQP-GLES3.functional.fragment_ops.scissor.partial_points

Components: AOSP

VK-GL-CTS issue: 2161

Change-Id: I3016287f7e55331522d6a7a8d562d8b57ab27e43
(cherry picked from commit 434240bf67d226947a3ccb73b10ea8e685f7aaaf)
modules/gles3/functional/es3fPrimitiveRestartTests.cpp
modules/glshared/glsScissorTests.cpp