glsl: Drop resize-to-MaxPatchVertices hack.
TCS and TES inputs without an array size are implicitly sized to gl_MaxPatchVertices. But TCS outputs are apparently not: "If no size is specified, it will be taken from the output patch size (gl_VerticesOut) declared in the shader." Fixes dEQP-GLES31.functional.program_interface_query.program_output. array_size.separable_tess_ctrl.var. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
@@ -843,12 +843,6 @@ public:
|
||||
|
||||
unsigned implicit_sized_array:1;
|
||||
|
||||
/**
|
||||
* Is this a non-patch TCS output / TES input array that was implicitly
|
||||
* sized to gl_MaxPatchVertices?
|
||||
*/
|
||||
unsigned tess_varying_implicit_sized_array:1;
|
||||
|
||||
/**
|
||||
* Whether this is a fragment shader output implicitly initialized with
|
||||
* the previous contents of the specified render target at the
|
||||
|
Reference in New Issue
Block a user