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:

committed by
Marge Bot

parent
b04d99d093
commit
b8f1e95cbe
@@ -119,7 +119,7 @@ fd6_emit_shader(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
||||
#endif
|
||||
|
||||
gl_shader_stage type = so->type;
|
||||
if (type == MESA_SHADER_COMPUTE)
|
||||
if (type == MESA_SHADER_KERNEL)
|
||||
type = MESA_SHADER_COMPUTE;
|
||||
|
||||
enum a6xx_threadsize thrsz =
|
||||
|
Reference in New Issue
Block a user