Am Mittwoch, 7. November 2007 08:10:35 schrieb Stefan Dösinger:
Am Dienstag, 6. November 2007 23:41:40 schrieb Allan Tong:
On 11/6/07, Stefan Dösinger stefan@codeweavers.com wrote:
/* Don't do any register mapping magic if it is not needed, or
if we can't + * achive anything anyway
*/
if(highest_reg_used < (GL_LIMITS(glsl_varyings) / 4) ||
num_regs_used >= (GL_LIMITS(glsl_varyings) / 4) ) {
if(num_regs_used >= (GL_LIMITS(glsl_varyings) / 4)) {
Should it not be "num_regs_used > (GL_LIMITS(glsl_varyings) / 4)"?
yes, I think you are right. Thanks for spotting this
Here is a fixed patch