<div class="gmail_quote">On Fri, Apr 22, 2011 at 7:19 PM, Sven Arvidsson <span dir="ltr"><<a href="mailto:sa@whiz.se" target="_blank">sa@whiz.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On Fri, 2011-04-22 at 16:46 +0200, Marek Olšák wrote:<br>
> That page seems to lie.<br>
><br>
> The R500 limits are:<br>
> - 1024 vertex shader instructions<br>
> - 512 fragment shader instructions<br>
<br>
</div>I remembered that I still have an XP partition around, so I ran GLinfo<br>
myself, and it seems to report the same:<br>
<a href="http://whiz.se/temp/x1950pro.htm" target="_blank">http://whiz.se/temp/x1950pro.htm</a><br>
<br>
I guess the application itself could be buggy though, is there any other<br>
way of confirming the number of instructions?<br></blockquote><div><br>I think Catalyst is buggy, but that wouldn't surprise me.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br>
> You should get these values from 'glxinfo -l'.<br>
<br>
</div>Right, that was what I compared the GLinfo output with:<br>
<br>
GL_FRAGMENT_PROGRAM_ARB:<br>
GL_MAX_PROGRAM_INSTRUCTIONS_ARB = 16384<br>
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 512<br>
GL_MAX_PROGRAM_TEMPORARIES_ARB = 256<br>
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 128<br>
GL_MAX_PROGRAM_PARAMETERS_ARB = 64<br>
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 256<br>
GL_MAX_PROGRAM_ATTRIBS_ARB = 12<br>
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 10<br>
GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0<br>
GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0<br>
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 1024<br>
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB = 256<br>
GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 16384<br>
GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 16384<br>
GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 16384<br>
GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 512<br>
GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 512<br>
GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 511<br>
<div><br>
<br>
> Some of the shader model 3.0 requirements are:<br>
> - minimum of 512 instructions must be supported in both vertex and fragment<br>
> shaders (met)<br>
> - GL_ARB_shader_texture_lod (not met)<br>
><br>
> The latter appears to be the culprit.<br>
<br>
</div>Seems like Wine only enables 3.0 if the number of instructions exceeds<br>
512, probably just to play it safe.<br></blockquote></div><br>Wine developers now know about this issue and will probably fix it.<br><br>Marek<br>