return TRUE;
}
+ if (emit->ps30_input_count >= SVGA3D_INPUTREG_MAX)
+ return FALSE;
+
reg = src_register( SVGA3DREG_INPUT,
emit->ps30_input_count++ );
if (!translate_vs_ps_semantic( semantic, &usage, &index ))
return FALSE;
+ if (emit->ps30_input_count >= SVGA3D_INPUTREG_MAX)
+ return FALSE;
+
reg = dst_register( SVGA3DREG_INPUT, emit->ps30_input_count++ );
if (!emit_decl( emit, reg, usage, index ))
if (!translate_vs_ps_semantic( semantic, &usage, &index ))
return FALSE;
+ if (emit->ps30_input_count >= SVGA3D_INPUTREG_MAX)
+ return FALSE;
+
emit->input_map[idx] = src_register( SVGA3DREG_INPUT, emit->ps30_input_count++ );
reg = dst( emit->input_map[idx] );
if (!translate_vs_ps_semantic( semantic, &usage, &index ))
return FALSE;
+ if (emit->vs30_output_count >= SVGA3D_OUTPUTREG_MAX)
+ return FALSE;
+
dcl.dst = dst_register( SVGA3DREG_OUTPUT, emit->vs30_output_count++ );
dcl.usage = usage;
dcl.index = index;