diff --git a/runtime/tests/run_gl_frame_gen.py b/runtime/tests/run_gl_frame_gen.py index 9619227d..215ae438 100644 --- a/runtime/tests/run_gl_frame_gen.py +++ b/runtime/tests/run_gl_frame_gen.py @@ -156,11 +156,11 @@ def main(): # pan 1 (the scene above, with PGXP depth): its real frames must be # the generation-off run's; pan 6: a camera move the warp must follow. for pgxp, pan in (("1", "1"), ("0", "6")): - env = dict(os.environ, FG_METHOD="reprojection", FG_PGXP=pgxp, FG_PAN=pan) + env = dict(os.environ, FG_METHOD="reprojection", FG_RP_DEPTH=pgxp, FG_PAN=pan) command = [str(c) for c in (probe, s, 1, path, args.frames, timing)] r = subprocess.run(command, cwd=dest, capture_output=True, text=True, encoding="utf-8", errors="replace", env=env) - receipt.append({"cmd": command, "env": {"FG_METHOD": "reprojection", "FG_PGXP": pgxp, "FG_PAN": pan}, + receipt.append({"cmd": command, "env": {"FG_METHOD": "reprojection", "FG_RP_DEPTH": pgxp, "FG_PAN": pan}, "exit": r.returncode, "stdout": r.stdout, "stderr": r.stderr[-4000:]}) (dest / "receipt.json").write_text(json.dumps(receipt, indent=2), encoding="utf-8") p = parse(r.stdout) diff --git a/runtime/tests/test_gl_frame_gen.c b/runtime/tests/test_gl_frame_gen.c index 9e0b2902..99954da7 100644 --- a/runtime/tests/test_gl_frame_gen.c +++ b/runtime/tests/test_gl_frame_gen.c @@ -361,7 +361,7 @@ int main(int argc, char **argv) { if (pt_mode) check(gl_renderer_present_thread_active(), "present thread started"); const char *method = getenv("FG_METHOD"); const int rp = method && !strcmp(method, "reprojection"); - const int pgxp = getenv("FG_PGXP") && getenv("FG_PGXP")[0] == '1'; + const int pgxp = getenv("FG_RP_DEPTH") && getenv("FG_RP_DEPTH")[0] == '1'; /* reprojection pass: PGXP depth on */ if (getenv("FG_PAN")) g_pan = atoi(getenv("FG_PAN")) > 0 ? atoi(getenv("FG_PAN")) : 1; if (pgxp) gl_renderer_set_pgxp_depth(1); if (fg) {