I actually have a small CG program running now as well!
// This is C2E2f_passthru from "The Cg Tutorial" (Addison-Wesley, ISBN
// 0321194969) by Randima Fernando and Mark J. Kilgard. See page 53.
struct C2E2f_Output {
float4 color : COLOR;
};
C2E2f_Output C2E2f_passthru(float4 color : COLOR)
{
C2E2f_Output OUT;
OUT.color = color;
return OUT;
}
I'd like to make the possibility to include foundation for shaders in
Fog this week, I hope the time will be sufficient,
Really sorry about my slow replies at this time
--
Best regards
- Petr Kobalicek <http://kobalicek.com>
> I'd like to make the possibility to include foundation for shaders in Fog
this
> week, I hope the time will be sufficient,
I am just wonder of Status.
There is no rush!
Hi Petr,
Waiting for AsmJit 1.0 would be fine.
As I implement the opcodes and figure out the nuances of the grammar I am making changes to the code.
I will post the grammar and part of the code generation that is working.
I'll likely be rewriting it as I move forward -- so the design is still in flux!