Fix crash caused by missing shader function definition and report the error.

BUG=17956386

Change-Id: I89f243b557b70401052b1f7db237fbc410386f64
Reviewed-on: https://swiftshader-review.googlesource.com/1190
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: <nicolascapens@google.com>
Reviewed-by: <nicolascapens@google.com>
6 files changed
tree: bc9d393d0383913d08e2e3bd7c54435c7a80e60b
  1. include/
  2. src/
  3. tests/
  4. Readme.txt