mirror of https://github.com/xemu-project/xemu.git
nv2a/psh: Drop rect_tex assertion
This commit is contained in:
parent
1c38a0a42b
commit
62acb2db7e
|
@ -930,7 +930,6 @@ static MString* psh_convert(struct PixelShader *ps)
|
||||||
if (ps->state.shadow_map[i]) {
|
if (ps->state.shadow_map[i]) {
|
||||||
psh_append_shadowmap(ps, i, true, vars);
|
psh_append_shadowmap(ps, i, true, vars);
|
||||||
} else {
|
} else {
|
||||||
assert(!ps->state.rect_tex[i]);
|
|
||||||
apply_border_adjustment(ps, vars, i, "pT%d");
|
apply_border_adjustment(ps, vars, i, "pT%d");
|
||||||
mstring_append_fmt(vars, "vec4 t%d = textureProj(texSamp%d, pT%d.xyzw);\n",
|
mstring_append_fmt(vars, "vec4 t%d = textureProj(texSamp%d, pT%d.xyzw);\n",
|
||||||
i, i, i);
|
i, i, i);
|
||||||
|
|
Loading…
Reference in New Issue