diff options
author | Ian Romanick <[email protected]> | 2010-10-11 15:21:17 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-10-13 15:35:18 -0700 |
commit | 5cb24c4a75cd0b45bb332721c3d0e5a1f928b6f4 (patch) | |
tree | 707a362844154f254be46beea9e757dfb8dc8a4f /src/mesa/main/shared.c | |
parent | babe20b9d188ed94a5ecab30d829dd3f4ad728b5 (diff) |
mesa: Refactor validation of shader targets
Actually validate that the implementation supports the particular
shader target as well. Previously if a driver only supported vertex
shaders, for example, glCreateShaderObjectARB would gladly create a
fragment shader.
NOTE: this is a candidate for the 7.9 branch.
Diffstat (limited to 'src/mesa/main/shared.c')
0 files changed, 0 insertions, 0 deletions