RE: [2/5] wined3d: baseShader.functionLength should be 0 when a NULL pFunction is passed.

2008-12-11 Thread Stefan Dösinger
Do we still have a case where a shader is created with a NULL function? I think we filter that in d3d8 now and just create a vdecl -Original Message- From: [EMAIL PROTECTED] [mailto:wine-patches- [EMAIL PROTECTED] On Behalf Of Henri Verbeet Sent: Thursday, December 11, 2008 11:58 AM

Re: [2/5] wined3d: baseShader.functionLength should be 0 when a NULL pFunction is passed.

2008-12-11 Thread Henri Verbeet
2008/12/11 Stefan Dösinger [EMAIL PROTECTED]: Do we still have a case where a shader is created with a NULL function? I think we filter that in d3d8 now and just create a vdecl I'm not completely sure, but probably not. I'd like to get rid of this check, but these patches are really just

RE: [2/5] wined3d: baseShader.functionLength should be 0 when a NULL pFunction is passed.

2008-12-11 Thread Stefan Dösinger
I'm not completely sure, but probably not. I'd like to get rid of this check, but these patches are really just preparation for the 5th patch in this series. I know there are other places where we check for a NULL pFunction (including use_vs()), I'd like to remove those all at once. Fair