Skip to main content

Post Smaa Blend Weight Default Smaa Hlsl 3

(post_SMAA_blend_weight:default:SMAA_HLSL_3, 0x21ac146189189519)

This template is referenced 1 time by post_SMAA_blend_weight.

Technique ambient

Render States

More info can be found on the Direct3D Docs

enum D3DRENDERSTATETYPE {
D3DRS_ZENABLE = 0,
D3DRS_ZFUNC = 4,
D3DRS_ZWRITEENABLE = 0,
D3DRS_ALPHABLENDENABLE = 0,
D3DRS_CULLMODE = 1,
D3DRS_COLORWRITEENABLE = 15,
D3DRS_COLORWRITEENABLE1 = 15,
D3DRS_COLORWRITEENABLE2 = 15,
D3DRS_STENCILENABLE = 1,
D3DRS_STENCILFUNC = 3,
D3DRS_STENCILFAIL = 1,
D3DRS_STENCILMASK = 8,
D3DRS_STENCILPASS = 1,
D3DRS_STENCILREF = 8,
D3DRS_STENCILWRITEMASK = 0,
D3DRS_STENCILZFAIL = 1,
D3DRS_DEPTHBIAS = 0,
D3DRS_SLOPESCALEDEPTHBIAS = 0,
D3DRS_FOGENABLE = 0,
D3DRS_SPECULARENABLE = 0,
D3DRS_ADAPTIVETESS_X = 0,
D3DRS_ADAPTIVETESS_Z = 0,
D3DRS_ADAPTIVETESS_W = 0,
D3DRS_SRGBWRITEENABLE = 0,
D3DRS_SEPARATEALPHABLENDENABLE = 0,
D3DRS_ALPHATESTENABLE = 0,
};

Sampler States

More info can be found on the Direct3D Docs

Sampler 0

enum D3DSAMPLERSTATETYPE {
D3DSAMP_MIPMAPLODBIAS = 827606343,
D3DSAMP_SRGBTEXTURE = 0,
D3DSAMP_ADDRESSU = 3,
D3DSAMP_ADDRESSV = 3,
D3DSAMP_MAGFILTER = 2,
D3DSAMP_MINFILTER = 2,
D3DSAMP_MIPFILTER = 2,
};

Sampler 1

enum D3DSAMPLERSTATETYPE {
D3DSAMP_MIPMAPLODBIAS = 827606343,
D3DSAMP_SRGBTEXTURE = 0,
D3DSAMP_ADDRESSU = 3,
D3DSAMP_ADDRESSV = 3,
D3DSAMP_MAGFILTER = 2,
D3DSAMP_MINFILTER = 2,
D3DSAMP_MIPFILTER = 2,
};

Sampler 2

enum D3DSAMPLERSTATETYPE {
D3DSAMP_MIPMAPLODBIAS = 827606343,
D3DSAMP_SRGBTEXTURE = 0,
D3DSAMP_ADDRESSU = 3,
D3DSAMP_ADDRESSV = 3,
D3DSAMP_MAGFILTER = 1,
D3DSAMP_MINFILTER = 1,
D3DSAMP_MIPFILTER = 1,
};

Shaders

Vertex Shader

float3 render_target_size : register(vs_3_0, c4);
column_major float4x4 view_proj_matrix : register(vs_3_0, c0);
struct VertexMain_Input
{
float4 position : POSITION;
float4 texcoord : TEXCOORD;
};

struct VertexMain_Output
{
float4 position : POSITION;
float2 texcoord : TEXCOORD;
float4 texcoord1 : TEXCOORD1;
float4 texcoord2 : TEXCOORD2;
float4 texcoord3 : TEXCOORD3;
float2 texcoord4 : TEXCOORD4;
};

VertexMain_Output VertexMain(VertexMain_Input i)
{
VertexMain_Output o;
float4 temp0, temp1, temp2;
// def c5, -0.25, -0.125, 1.25, 1
// def c6, -32, 32, 0, 0
// dcl_position v0
// dcl_texcoord v1
// dcl_position o0
// dcl_texcoord o1.xy
// dcl_texcoord1 o2
// dcl_texcoord2 o3
// dcl_texcoord3 o4
// dcl_texcoord4 o5.xy
// dp4 o0.x, v0, c0
o.position.x = dot(i.position, (view_proj_matrix._m00_m10_m20_m30));
// dp4 o0.y, v0, c1
o.position.y = dot(i.position, (view_proj_matrix._m01_m11_m21_m31));
// dp4 o0.w, v0, c3
o.position.w = dot(i.position, (view_proj_matrix._m03_m13_m23_m33));
// mul o5.xy, c4, v1
o.texcoord4 = render_target_size * i.texcoord;
// rcp r0.xy, c4.x
temp0.xy = 1.0f / render_target_size.x;
// rcp r0.zw, c4.y
temp0.zw = 1.0f / render_target_size.y;
// mad r1, r0.ywyw, c5.xyzy, v1.xyxy
temp1 = temp0.ywyw * float4(-0.25, -0.125, 1.25, -0.125) + i.texcoord.xyxy;
// mov r2.xy, r1.xzzw
temp2.xy = temp1.xz;
// mov o2, r1
o.texcoord1 = temp1;
// mad r1, r0.ywyw, c5.yxyz, v1.xyxy
temp1 = temp0.ywyw * float4(-0.125, -0.25, -0.125, 1.25) + i.texcoord.xyxy;
// mov r2.zw, r1.xyyw
temp2.zw = temp1.yw;
// mov o3, r1
o.texcoord2 = temp1;
// mad o4, r0, c6.xyxy, r2
o.texcoord3 = temp0 * float4(-32, 32, -32, 32) + temp2;
// mov o0.z, c5.w
o.position.z = float1(1);
// mov o1.xy, v1
o.texcoord = i.texcoord;
//

return o;
}

Decompiled by DXDecompiler.

Pixel Shader

0003fffffeff4d00435441421c000000ff0000000003ffff040000001c00000000010000f80000006c00000003000000010000007c000000000000008c0000000200000001000000a000000000000000b00000000300010001000000c400000000000000d40000000300020001000000e800000000000000646966667573655f746578747572650004000c0001000100010000000000000072656e6465725f7461726765745f73697a6500ab01000300010003000100000000000000736d61615f617265615f7465787475726500abab04000c00010001000100000000000000736d61615f7365617263685f746578747572650004000c0001000100010000000000000070735f335f30004d6963726f736f66742028522920484c534c2053686164657220436f6d70696c657220392e32392e3935322e33313131005100000501000fa0000000400000803e0000a040000070c05100000502000fa00000803f000080bf00000000000080be5100000503000fa00000803b0000803a0000003b0000003a5100000504000fa00000803b0000803a0080003f0000003a5100000505000fa00000e0c06666663f0000003f000000005100000506000fa00000003f000000c00000003c000002405100000507000fa00000a041000000005dfe533f000080415100000508000fa00000003f000000c00000063f000002405100000509000fa0000000c000000080028100c000005040510000050a000fa00000803f0000403f00000000000000c0510000050b000fa0000080400000003f00000000000000c0510000050c000fa000000000000080bf0000803f000000003000000500000ff0080000000000000000000000000000003000000501000ff0ff0000000000000000000000000000001f00000205000080000003901f0000020500018001000f901f0000020500028002000f901f0000020500038003000f901f00000205000480040003901f0000020000009000080fa01f0000020000009001080fa01f0000020000009002080fa04200000300000f800000e4900008e4a029000402000055810c0000a029000402000000810c0000a00600000201000180000000a00600000201000280000055a005000003010003800100e4800c00e9a001000002010004800c00aaa001000002020008800c0000a001000002020003800000e49001000002020004800c0055a001000002000006800c00e0a0260000010000e4f002000003000008800200aa80050000a002000003010008800000aa81050055a058000004010008800100ff800c0000a10c00aaa158000004000008800000ff800c0000a10100ff8058000004000008800000ff800c00aaa00c0000a02d0005020000ff800000ff8102000003020007800100e4800200e4805f00000303000f800200f4800008e4a05a000004000004800300e4800500aaa00500ffa001000002000002800300558027000000020000030000028000005581050055a05800000400000280000055800c0000a00c00aaa00200000301000180000055800200aa802a00000001000002010001800c0000a001000002000004800c0000a02b0000000600000202000180000000a00600000202000280000055a005000003030003800200e4800c00e6a001000002030004800c00aaa001000002040008800c0000a001000002040006800000d09001000002040001800c0055a001000002000002800c00aaa0260000010000e4f0020000030000088004000080050000a0020000030200088000005581050055a058000004020008800200ff800c0000a10c00aaa158000004000008800000ff800c0000a10200ff8058000004000008800000ff800c00aaa00c0000a02d0005020000ff800000ff8102000003040007800300d2800400e4805f00000305000f800400f9800008e4a05a000004000002800500e4800500aaa00500ffa0270000000200000300000280010000800400008029000402010000a000005580020000030100028001000081010055a00400000401000c8004000080020044a00200e4a00400000403000f800100e180020044800000449004000004040003800200e4800c00e1a00300e4800100000204000c800c0000a05f00000304000f800400e4800008e4a004000004030003800200e4800c00e2a00300ee800100000203000c800c0000a05f00000303000f800300e4800008e4a00100000204000c80030044800400000400000a800400a0800100aaa00100ffa005000003040005800000f58b0400e4800200000303000f800400e4800500aaa01300000204000f800300e4800200000303000f800300e4800400e4810400000400000a800300e480010000a00300a08002000003000004800000aa80050055a158000004000006800000aa800c0000a00000f48004000004000006800000e480070000a00100e08004000004010003800000e9800400e4a00400eea00100000201000c800c0000a05f00000301000f800100e4800108e4a02a00000001000002010003800c0000a02b000000040000040000028002000080010055a00000009001000002030003800200e48101000002030004800c00aaa001000002040008800c0000a001000002040002800000558001000002040004800000559001000002040001800c0055a001000002000004800c00aaa0260000010000e4f0020000030000088004000080050000a002000003010004800000aa81050055a058000004010004800100aa800c0000a10c00aaa158000004000008800000ff800c0000a10100aa8058000004000008800000ff800c00aaa00c0000a02d0005020000ff800000ff8102000003040007800300d2800400e4805f00000305000f800400f9800008e4a00400000400000880050000800100aaa00100ffa005000003050001800000ff8b050000800200000301000c80050044800500aaa013000002050003800100ee800200000301000c800100e480050044815a000004000004800100ee800500aaa00500ffa02700000004000004030003800200e4800c00e2a00000e4900100000203000c800c0000a05f00000303000f800300e4800008e4a029000402030000810c0000a001000002020004800c00aaa001000002030008800c0000a001000002030001800000558001000002030002800000559001000002010004800c0000a001000002030004800c0055a001000002000008800c00aaa0260000010000e4f002000003020008800300aa80050000a002000003040008800000ff81050055a058000004040008800400ff800c0000a10c00aaa158000004020008800200ff800c0000a10400ff8058000004020008800200ff800c00aaa00c0000a02d0005020200ff800200ff8102000003030007800200e4800300e4805f00000305000f800300f4800008e4a00400000402000880050000800100aaa00100ffa005000003050001800200ff8b0500008002000003050003800500e4800500aaa01300000205000c80050044800200000301000c800500b481050014805a000004000008800100eb800500aaa00500ffa02700000002000003000002800100aa81050055a05800000400000280000055800c0000a00c00aaa00200000304000480000055800300aa802a00000001000002040004800c0000a02b00000002000003000002800400aa800400008029000402010000a0000055800100000204000280040000810400000403000f800400a580020044800000449004000004050003800200e4800c00e1a00300e4800100000205000c800c0000a05f00000305000f800500e4800008e4a004000004060003800200e4800c00e4a00300e4800100000206000c800c0000a05f00000306000f800600e4800008e4a004000004030003800200e4800c00e2a00300ee800100000203000c800c0000a05f00000303000f800300e4800008e4a00100000205000180050055800100000205000a80030024800100000205000480060000800400000400000a8005006080010000a00500e88002000003000004800000aa80050055a158000004000006800000aa800c0000a00000f48004000004000006800000e480070000a00400e08004000004030003800000e9800400e4a00400eea00100000203000c800c0000a05f00000303000f800300e4800108e4a002000003010003800100e4800300e1802b00000029000202010000800100558101000002030003800100e49001000002030004800c00aaa001000002040001800c0000a0260000010100e4f00200000300000280030000810300009002000003000004800300aa810700aaa058000004000008800400008c0c00aaa10c0000a158000004000004800000aa800c0000a10000ff805800000400000280000055800c0000a10000aa805800000400000280000055800c00aaa00c0000a02d00050200005580000055810500000305000f80030004800c000aa05f00000304000f800500e4800008e4a004000004030003800200e4800900e4a00300e4800100000203000480040055802700000001000002040006800300e08004000004030003800400e8800600e4a00600eea00100000203000c800c0000a05f00000303000f800300e4800208e4a00400000400000280030000800900aaa00900ffa004000004030001800200008000005580040055800500000303000a800c0028a0020055905f00000304000f800300f4800008e4a001000002050003800100ee9001000002050004800c00aaa001000002060001800c0000a0260000010100e4f00200000300000280050000800300559102000003000004800500aa810700aaa058000004000008800600008c0c00aaa10c0000a158000004000004800000aa800c0000a10000ff805800000400000280000055800c0000a10000aa805800000400000280000055800c00aaa00c0000a02d00050200005580000055810500000307000f80050004800c000aa05f00000306000f800700e4800008e4a004000004050003800200e4800900e4a10500e4800100000205000480060055802700000001000002060006800500e08004000004050003800600e8800800e4a00800eea00100000205000c800c0000a05f00000305000f800500e4800208e4a00400000400000280050000800900aaa00900ffa004000004030004800200008100005580060055800400000405000f80000000a003002280040000910200000305000f800500e4800500aaa01300000206000f800500ee800200000305000f800500e4800600e48107000002000002800500ff8b07000002000004800500aa8b06000002060001800000558006000002060002800000aa8004000004070003800200e4800c00e2a00300e6800100000207000c800c0000a05f00000307000f800700e4800008e4a001000002040002800700008004000004000006800400d0800b0000a00b0055a01300000201000c800000948002000003000006800000e4800100f88104000004000006800000e4800700ffa00600d08004000004040003800000e9800300e4a00300eea00100000204000c800c0000a05f00000304000f800400e4800108e4a00200000305000f800500bb8c0500e48b5800000405000f800500e4800a0050a00a00aaa0020000030000028005005580050000800600000200000280000055800500000300000680000055800500f8800100000203000a800000559004000004050003800200e4800c00e8a00300e4800100000205000c800c0000a05f00000305000f800500e4800008e4a0040000040000088000005580050000810c00aaa002000003050003800200e4800300ee800100000205000c800c0000a05f00000305000f800500e4800008e4a004000004050011800000aa80050000810000ff8004000004060003800200e4800b00eea00300e4800100000206000c800c0000a05f00000306000f800600e4800008e4a0040000040000028000005580060000810c00aaa004000004020003800200e4800a00eca00300ee800100000202000c800c0000a05f00000302000f800200e4800008e4a004000004050012800000aa80020000810000558005000003000803800400e4800500e4802a00000001000002000803800100e48001000002000001800c0000a02b0000002a00000001000002000803800c0000a02b00000029000402000000810c0000a00600000200000180000000a00600000200000280000055a001000002010003800200e49001000002010004800c00aaa001000002020001800c0000a0260000010100e4f00200000300000480010055810300aa9002000003000008800100aa810700aaa058000004010008800200008c0c00aaa10c0000a158000004000008800000ff800c0000a10100ff8058000004000004800000aa800c0000a10000ff8058000004000004800000aa800c00aaa00c0000a02d0005020000aa800000aa810500000303000f80010004800c000aa05f00000303000f800300e4800008e4a004000004010003800000e4800900e1a00100e4800100000201000480030000800100000202000180030055802700000001000002020006800100e48004000004010003800200e8800600e4a00600eea00100000201000c800c0000a05f00000301000f800100e4800208e4a00400000400000480010000800900aaa00900ffa00400000401000280000055800000aa800200558005000003010005800c00c6a0010000905f00000302000f800100a4800008e4a001000002030003800200ee9001000002030004800c00aaa001000002040001800c0000a0260000010100e4f00200000300000480030055800300ff9102000003000008800300aa810700aaa058000004020001800400008c0c00aaa10c0000a158000004000008800000ff800c0000a10200008058000004000004800000aa800c0000a10000ff8058000004000004800000aa800c00aaa00c0000a02d0005020000aa800000aa810500000305000f80030004800c000aa05f00000305000f800500e4800008e4a004000004030003800000e4800900e1a10300e4800100000203000480050000800100000204000180050055802700000001000002040006800300e48004000004030003800400e8800800e4a00800eea00100000203000c800c0000a05f00000303000f800300e4800208e4a00400000400000480030000800900aaa00900ffa00400000401000880000055810000aa80040055800400000403000f80000055a001007780040055910200000303000f800300e4800500aaa01300000204000f800300ee800200000303000f800300e4800400e48107000002000004800300ff8b07000002000008800300aa8b06000002040001800000aa8006000002040002800000ff8001000002000004800000558002000003050002800000aa800100ff800500000305000c800c0024a0010000905f00000305000f800500f6800008e4a00100000205000180020055800400000400000c80050044800b0000a00b0055a013000002020003800000ee800200000300000c800000e480020044810400000400000c800000e4800700ffa00400448004000004020003800000ee800300e4a00300eea00100000202000c800c0000a05f00000302000f800200e4800108e4a00200000303000f800300bb8c0300e48b5800000403000f800300e4800a0050a00a00aaa00200000300000480030055800300008006000002000004800000aa800500000300000c800000aa800300e48001000002010005800000009004000004030003800000e4800c00e2a00100e4800100000203000c800c0000a05f00000303000f800300e4800008e4a004000004020004800000aa80030055810c00aaa002000003030003800000e4800100ee800100000203000c800c0000a05f00000303000f800300e4800008e4a004000004020014800000ff80030055810200aa8004000004030003800000e4800b00eba00100e4800100000203000c800c0000a05f00000303000f800300e4800008e4a004000004000004800000aa80030055810c00aaa004000004010003800000e4800a00e3a00100ee800100000201000c800c0000a05f00000301000f800100e4800008e4a004000004020018800000ff80010055810000aa800500000300080c800200e480020044802a0000000100000200080c800c0000a02b000000ffff0000

This shader was not successfully decompiled. Above is the raw bytecode.

System.NotImplementedException: BreakC
at DXDecompiler.DX9Shader.HlslWriter.WriteInstruction(InstructionToken instruction) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 538
at DXDecompiler.DX9Shader.HlslWriter.WriteInstructionList() in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 769
at DXDecompiler.DX9Shader.HlslWriter.Write() in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 659
at DXDecompiler.DX9Shader.DecompileWriter.Decompile() in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\DecompileWriter.cs:line 44
at DXDecompiler.DX9Shader.HlslWriter.Decompile(ShaderModel shaderModel, String entryPoint, EffectHLSLWriter effect, Boolean outputDefaultValues) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 81
at DXDecompiler.DX9Shader.HlslWriter.Decompile(Byte[] bytecode, String entryPoint) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 69
at DXDecompilerCmd.Program.Main(String[] args) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompilerCmd\Program.cs:line 779

Decompiled by DXDecompiler.