commit | eafdb22c36f2077815eadf2a1db0fb6547bf0241 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Fri May 15 15:24:08 2015 -0400 |
committer | Nicolas Capens <capn@google.com> | Fri May 15 20:40:18 2015 +0000 |
tree | be2320f37392bb09897b42d399467b01efc1d6c4 | |
parent | 84c9cf00cb24f89a39a9e7b27c78528473e99218 [diff] |
Analyze the shader for define instructions. This eliminates the need to specify if shaders can contain defined constant values in the front-end using a global variable. Change-Id: If7802a2743c0afa650a2631cd7945c8b3d7cf645 Reviewed-on: https://swiftshader-review.googlesource.com/3152 Reviewed-by: Greg Hartman <ghartman@google.com> Tested-by: Greg Hartman <ghartman@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>