[Mesa-dev] [PATCH mesa 09/12] i965: move #ifdef to fix -Wswitch when SSE 4.1 is not supported
Eric Engestrom
eric.engestrom at intel.com
Mon Oct 29 17:13:30 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c b/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
index 836f83d4a43a45e76b48..89d7a69d217829742c01 100644
--- a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
+++ b/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
@@ -599,8 +599,8 @@ choose_copy_function(mem_copy_fn_type copy_type)
return memcpy;
case INTEL_COPY_RGBA8:
return rgba8_copy;
-#if defined(INLINE_SSE41)
case INTEL_COPY_STREAMING_LOAD:
+#if defined(INLINE_SSE41)
return _memcpy_streaming_load;
#endif
case INTEL_COPY_INVALID:
--
Cheers,
Eric
More information about the mesa-dev
mailing list