Commit cacf2e17 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Rescale for the replay :v

parent e649ba07
......@@ -1787,8 +1787,8 @@ write_transformed_position(nir_builder *b, nir_ssa_def *input_point)
{
/* XXX: From uniforms? */
float w = 1366.0f;
float h = 768.0f;
float w = 400.0f;
float h = 320.0f;
nir_ssa_def *viewport_width = nir_imm_float(b, w);
nir_ssa_def *viewport_height = nir_imm_float(b, h);
nir_ssa_def *viewport_center_x = nir_imm_float(b, w / 2.0f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment