mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
st/nine: Initialize ps ff registers
Found with wine tests for the rTmp register. Not sure for the other ones. Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
4ed3d5ee57
commit
c5bce80f50
1 changed files with 5 additions and 0 deletions
|
|
@ -1326,6 +1326,11 @@ nine_ff_build_ps(struct NineDevice9 *device, struct nine_ff_ps_key *key)
|
|||
ps.rTmpSrc = ureg_src(ps.rTmp);
|
||||
ps.rTexSrc = ureg_src(ps.rTex);
|
||||
|
||||
/* Initial values */
|
||||
ureg_MOV(ureg, ps.rCur, ureg_imm1f(ureg, 0.0f));
|
||||
ureg_MOV(ureg, ps.rTmp, ureg_imm1f(ureg, 0.0f));
|
||||
ureg_MOV(ureg, ps.rTex, ureg_imm1f(ureg, 0.0f));
|
||||
|
||||
for (s = 0; s < 8; ++s) {
|
||||
ps.s[s] = ureg_src_undef();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue