Subversion Repositories Kolibri OS

Rev

Rev 3769 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3769 Rev 4245
Line 1910... Line 1910...
1910
	tmp->floats_per_vertex = 2;
1910
	tmp->floats_per_vertex = 2;
1911
	if (!is_constant_ps(tmp->src.u.gen3.type))
1911
	if (!is_constant_ps(tmp->src.u.gen3.type))
1912
		tmp->floats_per_vertex += tmp->src.is_affine ? 2 : 4;
1912
		tmp->floats_per_vertex += tmp->src.is_affine ? 2 : 4;
1913
	if (!is_constant_ps(tmp->mask.u.gen3.type))
1913
	if (!is_constant_ps(tmp->mask.u.gen3.type))
1914
		tmp->floats_per_vertex += tmp->mask.is_affine ? 2 : 4;
1914
		tmp->floats_per_vertex += tmp->mask.is_affine ? 2 : 4;
1915
	DBG(("%s: floats_per_vertex = 2 + %d + %d = %d [specialised emitter? %d]\n", __FUNCTION__,
1915
//	DBG(("%s: floats_per_vertex = 2 + %d + %d = %d [specialised emitter? %d]\n", __FUNCTION__,
1916
	     !is_constant_ps(tmp->src.u.gen3.type) ? tmp->src.is_affine ? 2 : 4 : 0,
1916
//	     !is_constant_ps(tmp->src.u.gen3.type) ? tmp->src.is_affine ? 2 : 4 : 0,
1917
	     !is_constant_ps(tmp->mask.u.gen3.type) ? tmp->mask.is_affine ? 2 : 4 : 0,
1917
//	     !is_constant_ps(tmp->mask.u.gen3.type) ? tmp->mask.is_affine ? 2 : 4 : 0,
1918
	     tmp->floats_per_vertex,
1918
//	     tmp->floats_per_vertex,
1919
	     tmp->prim_emit != gen3_emit_composite_primitive));
1919
//	     tmp->prim_emit != gen3_emit_composite_primitive));
1920
	tmp->floats_per_rect = 3 * tmp->floats_per_vertex;
1920
	tmp->floats_per_rect = 3 * tmp->floats_per_vertex;
Line 1921... Line 1921...
1921
 
1921
 
Line 1922... Line 1922...
1922
	tmp->blt   = gen3_render_composite_blt;
1922
	tmp->blt   = gen3_render_composite_blt;