/* Create the uniforms (aka constants) */
shader_addline(&buffer, "uniform vec4 C[%u];\n", This->baseShader.limits.constant_float);
/* TODO - Add varyings, attributes, etc. */
Shouldn't this go into the "generate_glsl_declarations" thing into baseshader? Things previously merged into baseshader should stay that way, imho...
On 5/18/06, Ivan Gyurdiev ivg2@cornell.edu wrote:
/* Create the uniforms (aka constants) */
shader_addline(&buffer, "uniform vec4 C[%u];\n", This->baseShader.limits.constant_float);
/* TODO - Add varyings, attributes, etc. */
Shouldn't this go into the "generate_glsl_declarations" thing into baseshader? Things previously merged into baseshader should stay that way, imho...
Yep, per our IRC conversation, please disregard this patch for now. One more merge is needed in baseshader.c instead. I'll submit that shortly, then modify this patch.