Better fix for #36935 and 36316:

* 32 bit GCC builds now have the SSE BVH optimizations turned off, but still
  compile with SSE flags for better performance.

* White color when rendering on Windows seems to have been unrelated to SSE,
  rather it was a graphics driver not supporting half float textures, added a
  check for that now.
This commit is contained in:
Brecht Van Lommel
2013-10-05 19:56:34 +00:00
parent c7882ec3bb
commit e9d03296c7
5 changed files with 9 additions and 8 deletions

View File

@@ -116,8 +116,7 @@ int system_cpu_bits()
return (sizeof(void*)*8);
}
/* SSE optimization disabled for now on 32 bit, see bug #36316 and #36935 */
#if defined(__x86_64__) || defined(_M_X64) // ((defined(i386) || defined(_M_IX86))
#if defined(__x86_64__) || defined(_M_X64) || defined(i386) || defined(_M_IX86)
struct CPUCapabilities {
bool x64;