Post Dome Occ Process Default
(post_dome_occ_process:default
, 0x36070c4d42722bb6
)
This template is referenced 1 time by post_dome_occ_process.
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 = 0,
D3DRS_STENCILFUNC = 1,
D3DRS_STENCILFAIL = 1,
D3DRS_STENCILMASK = 0,
D3DRS_STENCILPASS = 1,
D3DRS_STENCILREF = 0,
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,
};
Shaders
Vertex Shader
column_major float4x4 camera_inv_view_matrix : register(vs_3_0, c4);
float3 camera_unprojection : register(vs_3_0, c7);
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;
float3 texcoord1 : TEXCOORD1;
};
VertexMain_Output VertexMain(VertexMain_Input i)
{
VertexMain_Output o;
float2 temp0;
float3 temp1;
// def c8, 1, 0, 0, 0
// dcl_position v0
// dcl_texcoord v1
// dcl_position o0
// dcl_texcoord o1.xy
// dcl_texcoord1 o2.xyz
// dp4 o0.w, v0, c3
o.position.w = dot(i.position, (view_proj_matrix._m03_m13_m23_m33));
// dp4 r0.x, v0, c0
temp0.x = dot(i.position, (view_proj_matrix._m00_m10_m20_m30));
// dp4 r0.y, v0, c1
temp0.y = dot(i.position, (view_proj_matrix._m01_m11_m21_m31));
// mul r1.xy, r0, c7
temp1.xy = temp0.xy * camera_unprojection.xy;
// mov o0.xy, r0
o.position.xy = temp0.xy;
// mov r1.z, c8.x
temp1.z = float1(1);
// dp3 o2.x, r1, c4
o.texcoord1.x = dot(temp1.xyz, (camera_inv_view_matrix._m00_m10_m20_m30).xyz);
// dp3 o2.y, r1, c5
o.texcoord1.y = dot(temp1.xyz, (camera_inv_view_matrix._m01_m11_m21_m31).xyz);
// dp3 o2.z, r1, c6
o.texcoord1.z = dot(temp1.xyz, (camera_inv_view_matrix._m02_m12_m22_m32).xyz);
// mov o0.z, c8.x
o.position.z = float1(1);
// mov o1.xy, v1
o.texcoord = i.texcoord;
//
return o;
}
Decompiled by DXDecompiler.
Pixel Shader
0003fffffeff3100435441421c0000008f0000000003ffff020000001c000000000100008800000044000000030000000100000054000000000000006400000002000000010000007800000000000000646966667573655f746578747572650004000c0001000100010000000000000072656e6465725f7461726765745f73697a6500ab0100030001000300010000000000000070735f335f30004d6963726f736f66742028522920484c534c2053686164657220436f6d70696c657220392e32392e3935322e33313131005100000501000fa00000003f0000803f000040c0000000c05100000502000fa0052fa73c0000000000000000000000005100000503000fa00000803f000040c000000040000040405100000504000fa000000040000000c000004040000040c05100000505000fa0000080bf000040c0000000000000803f5100000506000fa000000000000000c00000803f000040c05100000507000fa0000080bf0000004000000000000040401f00000205000080000003901f0000020000009000080fa04200000300000f800000e4900008e4a002000003000001800000558000000080040000040000018000000080010000a1010055a00600000201000180000000a00600000201000280000055a00400000402000f80010044800100baa0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000028002005580020000800200000300000480030055800300008004000004000004800000aa80010000a10000008002000003000004800000aa80010055a0040000040000028000005580010000a10000aa80020000030000028000005580010055a00400000402000f8001004480050064a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480030064a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800300bda1000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800100dfac000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480060064a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480040064a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480010076ac000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00200000300000c8001004481000044904200000302000f800000ee800008e4a00200000300000480020055800200008004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480050032a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480010067a1000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480060013a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800500b8a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a10000558002000003000002800000008000005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480060031ab000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480010076a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800500eca0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00200000300000c8001004480000044904200000302000f800000ee800008e4a00200000300000480020055800200008004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480010067ab000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480040013a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480070064a0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800100edab000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a00400000401000c80010044800100ffa1000044904200000302000f800100ee800008e4a00200000300000880020055800200008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f8001004480030067a1000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800700eca0000044904200000303000f800200e4800008e4a04200000302000f800200ee800008e4a0020000030000048002005580020000800200000300000880030055800300008004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a00400000402000f80010044800100b9ab000044900400000400000c80010044800100aaa1000044904200000301000f800000ee800008e4a0020000030000048001005580010000804200000301000f800200e4800008e4a04200000302000f800200ee800008e4a00200000300000880020055800200008002000003010001800100558001000080040000040000028001000080010000a100005580020000030000028000005580010055a004000004000002800000ff80010000a100005580020000030000028000005580010055a004000004000002800000aa80010000a100005580020000030000028000005580010055a0050000030000028000005580020000a00b0000030100118000005580000000800200000300000380010000810100e4a002000003000006800000d0800000d080580000040008028000000080000055800500aaa001000002000811800000aa800100000200080c800500aaa0ffff0000
This shader was not successfully decompiled. Above is the raw bytecode.
System.NotImplementedException: The method or operation is not implemented.
at DXDecompiler.DX9Shader.RegisterState.GetSourceConstantLiterals(InstructionToken instruction, Int32 srcIndex, String& type) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\RegisterState.cs:line 500
at DXDecompiler.DX9Shader.RegisterState.GetSourceName(InstructionToken instruction, Int32 srcIndex, String& swizzle, String& modifier, String[]& literals) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\RegisterState.cs:line 250
at DXDecompiler.DX9Shader.HlslWriter.GetSourceName(InstructionToken instruction, Int32 srcIndex, Boolean isLogicalIndex) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 139
at DXDecompiler.DX9Shader.HlslWriter.WriteInstruction(InstructionToken instruction) in X:\payday2-shader-tool\DXDecompiler\src\DXDecompiler\DX9Shader\Decompiler\HlslWriter.cs:line 369
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.