Change the limiting condition of max texture size

The hang error caused by Intel graphics driver on Linux is fixed from
kernel 5.0. Before that, limit the max texture size as a workaround.

Bug: 927470
Change-Id: I2fd022af0803af33820dad34a89c74fa1405d161
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612410
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Lin Sun <lin.sun@intel.com>
Cr-Commit-Position: refs/heads/master@{#661262}
1 file changed