wined3d: Fix the source swizzle for WINED3DSIH_EXPP.
This commit is contained in:
parent
6e9acca1f4
commit
c8852c3ee3
|
@ -1781,7 +1781,7 @@ static void test_scalar_instructions(IDirect3DDevice8 *device)
|
|||
{"rcp_test", rcp_test, D3DCOLOR_ARGB(0x00, 0x80, 0x80, 0x80), FALSE},
|
||||
{"rsq_test", rsq_test, D3DCOLOR_ARGB(0x00, 0xb4, 0xb4, 0xb4), FALSE},
|
||||
{"exp_test", exp_test, D3DCOLOR_ARGB(0x00, 0x40, 0x40, 0x40), FALSE},
|
||||
{"expp_test", expp_test, D3DCOLOR_ARGB(0x00, 0x40, 0x40, 0x40), TRUE},
|
||||
{"expp_test", expp_test, D3DCOLOR_ARGB(0x00, 0x40, 0x40, 0x40), FALSE},
|
||||
{"log_test", log_test, D3DCOLOR_ARGB(0x00, 0xff, 0xff, 0xff), TRUE},
|
||||
{"logp_test", logp_test, D3DCOLOR_ARGB(0x00, 0xff, 0xff, 0xff), TRUE},
|
||||
};
|
||||
|
|
|
@ -2719,7 +2719,7 @@ static void shader_glsl_expp(const struct wined3d_shader_instruction *ins)
|
|||
{
|
||||
struct glsl_src_param src_param;
|
||||
|
||||
shader_glsl_add_src_param(ins, &ins->src[0], WINED3DSP_WRITEMASK_0, &src_param);
|
||||
shader_glsl_add_src_param(ins, &ins->src[0], WINED3DSP_WRITEMASK_3, &src_param);
|
||||
|
||||
if (ins->ctx->reg_maps->shader_version.major < 2)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue