GPUFractal-1

Nathan Reed nathaniel.reed at gmail.com
Sat Oct 20 00:53:42 PDT 2007


Burton Radons wrote:
> Bill Baxter Wrote:
> 
>> Bruno Medeiros wrote:
>>> Jascha Wetzel wrote:
>>>>
>>>> Vendor: 'NVIDIA Corporation'
>>>> Renderer: 'GeForce 7600 GS/PCI/SSE2'
>>>> Version: '2.0.3'
>>>> Error: Could not successfully link program: Fragment info
>>>> -------------
>>>> (69) : error C5051: profile does not support conditional returns
>>>>
>>>>
>>> I'm having that same error.
>>>
>> I think you just need to install a more recent driver.
> 
> Yuppers, the current driver version is 2.1.1. I've put a check in that'll very bluntly detect this by assuming that more recent drivers support more recent GLSL versions.
> 
> This part actually won't change with Cg because if the GLSL part of the driver can't handle branching, then it surely won't support the newer fragment/vertex program profiles which can handle it either.

Actually.  Historically, I have heard (and experienced) that ATI's 
driver support for GLSL is very poor.  It may not be that the GPU can't 
handle branching but that ATI's GLSL compiler can't.  Cg may actually 
work much better because it involves a compiler separate from the driver 
that can translate the code into ARB assembly (with extensions for 
branching and so forth) and feed it to the card.

Thanks,
Nathan Reed



More information about the Digitalmars-d-announce mailing list