Jamie Madill 787fc03f15 Fix HLSL compiler error with else-rewriting in functions.
In functions with return types where we would use if-else rewriting,
we would potentially generate a spurious HLSL error that warned of
branches with no return value in the function.

This was causing a maps regression where overlays would not draw
in Earth mode.

BUG=346463
BUG=391697

Change-Id: I9f4fa959057a3a2dab6cdd98f8381b5871cabf03
Reviewed-on: https://chromium-review.googlesource.com/206824
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Nicolas Capens <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
2014-07-07 17:21:53 +00:00
2013-09-24 15:13:04 -04:00

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Name: ANGLE
URL: https://code.google.com/p/angleproject/
Version: 2422
License: BSD
License File: LICENSE

Description:
ANGLE is a conformant implementation of the OpenGL ES 2.0
specification that is hardware‐accelerated via Direct3D.

S
Description
A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.
Readme BSD-3-Clause
141 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 87.2%
C 6.1%
Objective-C++ 2.5%
Python 2.2%
Metal 0.6%
Other 1.1%