Re: wined3d: Allow vertex shaders to generate GLSL shaders
+ /* 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(a)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.
participants (2)
-
Ivan Gyurdiev -
Jason Green