diff options
author | Paul Berry <[email protected]> | 2013-07-02 08:02:47 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-07-08 14:18:02 -0700 |
commit | 292368570a13501dfa95b1b0dd70966caf6ffc6b (patch) | |
tree | 200c2b359be96e11a893c484137f96716e6883a9 /doxygen | |
parent | ba7b60d3e4a89558dc1b514e7611f17d238a2abc (diff) |
i965: Add an assertion to brwProgramStringNotify.
driver->ProgramStringNotify is only called for ARB programs, fixed
function vertex programs, and ir_to_mesa (which isn't used by the i965
back-end). Therefore, even after geometry shaders are added,
brwProgramStringNotify should only ever be called with a target of
GL_VERTEX_PROGRAM_ARB or GL_FRAGMENT_PROGRAM_ARB.
This patch adds an assertion to clarify that.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions