diff options
author | Ian Romanick <[email protected]> | 2013-09-25 13:53:56 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-10-30 13:49:30 -0700 |
commit | 9d6294f5a2337c5aa975c8ac65f775467b51043d (patch) | |
tree | 10a6466620c83229e37258d119219fa7aede7c77 /src/glsl/lower_texture_projection.cpp | |
parent | f8c579dc0fc0ffed41a86daecbcfe6c3b9843e61 (diff) |
glsl: Slightly restructure error generation in validate_explicit_location
Use mode_string to get the name of the variable mode. Slightly change
the control flow. Both of these changes make it easier to support
separate shader object location layouts.
The format of the message changed because mode_string can return a
string like "shader output". This would result in an awkward message
like "vertex shader shader output..."
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/lower_texture_projection.cpp')
0 files changed, 0 insertions, 0 deletions