diff options
author | Eric Anholt <[email protected]> | 2016-11-10 17:50:34 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-11-12 19:21:46 -0800 |
commit | 96ffee2d02a9cbf7ff0042b3083376724b68ed36 (patch) | |
tree | 073e2db47170cd906d16f453e2384d4fabff4fa3 /src/gallium/drivers/vc4/vc4_draw.c | |
parent | ace0d810e56a1e2978fc3ac237158918ebe2a23c (diff) |
vc4: Mark threaded FSes as non-singlethread in the CL.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_draw.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c index c5afc0cdae1..13db9daeb9e 100644 --- a/src/gallium/drivers/vc4/vc4_draw.c +++ b/src/gallium/drivers/vc4/vc4_draw.c @@ -155,7 +155,8 @@ vc4_emit_gl_shader_state(struct vc4_context *vc4, /* VC4_DIRTY_PRIM_MODE | VC4_DIRTY_RASTERIZER */ cl_u16(&shader_rec, VC4_SHADER_FLAG_ENABLE_CLIPPING | - VC4_SHADER_FLAG_FS_SINGLE_THREAD | + (vc4->prog.fs->fs_threaded ? + 0 : VC4_SHADER_FLAG_FS_SINGLE_THREAD) | ((info->mode == PIPE_PRIM_POINTS && vc4->rasterizer->base.point_size_per_vertex) ? VC4_SHADER_FLAG_VS_POINT_SIZE : 0)); |