aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/glx_query.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-02-21 20:55:09 -0800
committerJordan Justen <[email protected]>2016-03-08 14:27:18 -0800
commite1d54b1ba5a9d579020fab058bb065866bc35554 (patch)
treee5088162e061f0b92983751d25d3031622118a36 /src/glx/glx_query.c
parent91630d7453ce39680366b15428b5ab238ae50026 (diff)
i965/fs: Allow spilling for SIMD16 compute shaders
For fragment shaders, we can always use a SIMD8 program. Therefore, if we detect spilling with a SIMD16 program, then it is better to skip generating a SIMD16 program to only rely on a SIMD8 program. Unfortunately, this doesn't work for compute shaders. For a compute shader, we may be required to use SIMD16 if the local workgroup size is bigger than a certain size. For example, on gen7, if the local workgroup size is larger than 512, then a SIMD16 program is required. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93840 Signed-off-by: Jordan Justen <[email protected]> Cc: "11.2" <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glx/glx_query.c')
0 files changed, 0 insertions, 0 deletions