mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
[g3dvl] fix missing swizzle on instanceid
This commit is contained in:
parent
9937e85bcc
commit
9f64199d39
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ create_vert_shader(struct vl_zscan *zscan)
|
|||
ureg_MUL(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(tmp), scale);
|
||||
ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f));
|
||||
|
||||
ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XZ), instance,
|
||||
ureg_MUL(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XZ), ureg_scalar(instance, TGSI_SWIZZLE_X),
|
||||
ureg_imm1f(shader, 1.0f / zscan->blocks_per_line));
|
||||
|
||||
ureg_FRC(shader, ureg_writemask(tmp, TGSI_WRITEMASK_Y), ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue