asahi: bump vertex shader outputs
KHR-Single-GL46.enhanced_layouts.xfb_explicit_location Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
This commit is contained in:
@@ -1835,8 +1835,12 @@ agx_get_shader_param(struct pipe_screen *pscreen, enum pipe_shader_type shader,
|
||||
return shader == PIPE_SHADER_VERTEX ? 16 : 32;
|
||||
|
||||
case PIPE_SHADER_CAP_MAX_OUTPUTS:
|
||||
/* For vertex, the spec min/max is 16. We need more to handle dmat3
|
||||
* correctly, though. The full 32 is undesirable since it would require
|
||||
* shenanigans to handle.
|
||||
*/
|
||||
return shader == PIPE_SHADER_FRAGMENT ? 8
|
||||
: shader == PIPE_SHADER_VERTEX ? 16
|
||||
: shader == PIPE_SHADER_VERTEX ? 24
|
||||
: 32;
|
||||
|
||||
case PIPE_SHADER_CAP_MAX_TEMPS:
|
||||
|
Reference in New Issue
Block a user