Re: [r300] TCL fallback with Quake3

2006-08-28 Thread Brian Paul
Rune Petersen wrote: Roland Scheidegger wrote: Rune Petersen wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks suspect because checking a pointer to the

Re: [r300] TCL fallback with Quake3

2006-08-28 Thread Rune Petersen
Brian Paul wrote: Rune Petersen wrote: Roland Scheidegger wrote: Rune Petersen wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks suspect because

Re: [r300] TCL fallback with Quake3

2006-08-28 Thread Brian Paul
Rune Petersen wrote: Brian Paul wrote: Rune Petersen wrote: Roland Scheidegger wrote: Rune Petersen wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks

Re: [r300] TCL fallback with Quake3

2006-08-28 Thread Brian Paul
Rune Petersen wrote: Brian Paul wrote: Rune Petersen wrote: Brian Paul wrote: Rune Petersen wrote: Roland Scheidegger wrote: Rune Petersen wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if

[r300] TCL fallback with Quake3

2006-08-27 Thread Rune Petersen
Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks suspect because checking a pointer to the shader string to verify that the parsed shader is valid doesn't make

Re: [r300] TCL fallback with Quake3

2006-08-27 Thread Jerome Glisse
On 8/27/06, Rune Petersen [EMAIL PROTECTED] wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks suspect because checking a pointer to the shader

Re: [r300] TCL fallback with Quake3

2006-08-27 Thread Roland Scheidegger
Rune Petersen wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks suspect because checking a pointer to the shader string to verify that the parsed

Re: [r300] TCL fallback with Quake3

2006-08-27 Thread Rune Petersen
Roland Scheidegger wrote: Rune Petersen wrote: Hi, Quake3 causes fallback because r300_translate_vertex_shader() returns early and doesn't translate the shader. The culprit: if (!mesa_vp-Base.String) return; To me it looks suspect because checking a pointer to the shader string to