-
Mike Blumenkrantz authored
GL allows the pipeline to "infer" a tcs shader if a tes shader is bound using API-specified default values for gl_TessLevelOuter and gl_TessLevelInner, but VK requires that both shaders be explicitly present to handle this, create a generic tcs which translates all vs outputs to invocation-based arrays and copy the appropriate value to the expected tes input array location. also emit the default inner/outer values as push constants so we don't have to recompile the shaders whenever the api calls occur Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!8152>
334759d8