Added patch to add WINED3DFMT_R32G32_{U,S}INT as render target format.

This commit is contained in:
Sebastian Lackner
2016-08-29 03:02:16 +02:00
parent d4fa026231
commit 5a40e8f8b3
4 changed files with 50 additions and 2 deletions

View File

@@ -7849,7 +7849,7 @@ diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -4530,7 +4530,11 @@ void get_projection_matrix(const struct wined3d_context *context, const struct w
@@ -4538,7 +4538,11 @@ void get_projection_matrix(const struct wined3d_context *context, const struct w
float y_offset = context->render_offscreen
? (center_offset - (2.0f * y) - h) / h
: (center_offset - (2.0f * y) - h) / -h;
@@ -7861,7 +7861,7 @@ diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
state->render_states[WINED3D_RS_ZENABLE] : WINED3D_ZB_FALSE;
float z_scale = zenable ? 2.0f : 0.0f;
float z_offset = zenable ? -1.0f : 0.0f;
@@ -5327,7 +5331,11 @@ void gen_ffp_frag_op(const struct wined3d_context *context, const struct wined3d
@@ -5335,7 +5339,11 @@ void gen_ffp_frag_op(const struct wined3d_context *context, const struct wined3d
break;
}
}