Commit f92eb43c by Mohan Maiya Committed by Commit Bot

Vulkan: All builtins of gl_out needs to be considered as active

All builtins of gl_out, like gl_out[].gl_Position need to be considered active as well. Bug: angleproject:5557 Test: dEQP-GLES31.functional.tessellation.shader_input_output.gl_position_tcs_to_tes Change-Id: I74aeef86be573dc8df17472b88acd521032d7921 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2786630 Commit-Queue: Mohan Maiya <m.maiya@samsung.com> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 0273ea3f
......@@ -845,6 +845,11 @@ bool VaryingPacking::collectAndPackUserVaryings(gl::InfoLog &infoLog,
if (isActiveBuiltInInput)
{
mActiveOutputBuiltIns[ref.frontShaderStage].push_back(input->name);
// Keep track of members of builtins, such as gl_out[].gl_Position, too.
for (sh::ShaderVariable field : input->fields)
{
mActiveOutputBuiltIns[ref.frontShaderStage].push_back(field.name);
}
}
// Only pack statically used varyings that have a matched input or output, plus special
......
......@@ -184,9 +184,6 @@
// Geometry shader support:
5430 VULKAN : dEQP-GLES31.functional.geometry_shading.query.primitives_generated_* = FAIL
// Tessellation shader support:
5557 VULKAN : dEQP-GLES31.functional.tessellation.shader_input_output.gl_position_tcs_to_tes = FAIL
////
//// AMD Vulkan expectations
////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment