Ignore:
Timestamp:
Apr 11, 2012, 1:41:55 AM (9 years ago)
Author:
sam
Message:

gpu: add support for integer uniforms and fix a few PS3 and Linux compilation
issues that were introduced with the Direct3D changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/shader.h

    r1214 r1215  
    4646
    4747    ShaderUniform GetUniformLocation(char const *uni) const;
     48    void SetUniform(ShaderUniform const &uni, int i);
     49    void SetUniform(ShaderUniform const &uni, ivec2 const &v);
     50    void SetUniform(ShaderUniform const &uni, ivec3 const &v);
     51    void SetUniform(ShaderUniform const &uni, ivec4 const &v);
    4852    void SetUniform(ShaderUniform const &uni, float f);
    4953    void SetUniform(ShaderUniform const &uni, vec2 const &v);
Note: See TracChangeset for help on using the changeset viewer.