freedreno/a6xx: fix kernel -> compute handling

9b2780dcaf folds the kernel path into the compute path, and then adds
a `compute -> compute` conversion that was very likely meant to be
`kernel -> compute`, so fix that.

Fixes: 9b2780dcaf ("freedreno/a6xx: Re-work fd6_emit_shader")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29458>
This commit is contained in:
Eric Engestrom
2024-05-29 12:03:06 +02:00
committed by Marge Bot
parent b04d99d093
commit b8f1e95cbe

View File

@@ -119,7 +119,7 @@ fd6_emit_shader(struct fd_context *ctx, struct fd_ringbuffer *ring,
#endif #endif
gl_shader_stage type = so->type; gl_shader_stage type = so->type;
if (type == MESA_SHADER_COMPUTE) if (type == MESA_SHADER_KERNEL)
type = MESA_SHADER_COMPUTE; type = MESA_SHADER_COMPUTE;
enum a6xx_threadsize thrsz = enum a6xx_threadsize thrsz =