roddomi

Error compiling il_cs_2_0 kernel

Discussion created by roddomi on Mar 23, 2010
Latest reply on May 15, 2010 by soufsoufs

Hello,

I am trying to learn IL and I wrote a small program that compiles an empty kernel:

il_cs_2_0

end

When I get to calclCompile it returns CAL_RESULT_ERROR. When I try to get more information using calGetErrorString it returns "No Error"! If I change the shader to a pixel shader (il_ps_2_0) then it works fine. What's the problem? Is it wrong to compile an empty cs kernel?

I have an ATI 5870 and my info.target = CAL_TARGET_CYPRESS.

Thank you.

Outcomes