This commit is contained in:
Chuck Walbourn 2016-08-23 17:56:55 -07:00
Родитель a8fc5eb430
Коммит e9c3f4c31f
61 изменённых файлов: 32420 добавлений и 32420 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,451 +1,451 @@
//--------------------------------------------------------------------------------------
// File: NormalMapEffect.cpp
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#include "pch.h"
#include "EffectCommon.h"
using namespace DirectX;
// Constant buffer layout. Must match the shader!
struct NormalMapEffectConstants
{
XMVECTOR diffuseColor;
XMVECTOR emissiveColor;
XMVECTOR specularColorAndPower;
XMVECTOR lightDirection[IEffectLights::MaxDirectionalLights];
XMVECTOR lightDiffuseColor[IEffectLights::MaxDirectionalLights];
XMVECTOR lightSpecularColor[IEffectLights::MaxDirectionalLights];
XMVECTOR eyePosition;
XMVECTOR fogColor;
XMVECTOR fogVector;
XMMATRIX world;
XMVECTOR worldInverseTranspose[3];
XMMATRIX worldViewProj;
};
static_assert( ( sizeof(NormalMapEffectConstants) % 16 ) == 0, "CB size not padded correctly" );
// Traits type describes our characteristics to the EffectBase template.
struct NormalMapEffectTraits
{
typedef NormalMapEffectConstants ConstantBufferType;
static const int VertexShaderCount = 2;
static const int PixelShaderCount = 4;
static const int ShaderPermutationCount = 8;
};
// Internal NormalMapEffect implementation class.
class NormalMapEffect::Impl : public EffectBase<NormalMapEffectTraits>
{
public:
Impl(_In_ ID3D11Device* device);
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> specularTexture;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> normalTexture;
bool vertexColorEnabled;
EffectLights lights;
int GetCurrentShaderPermutation() const;
void Apply(_In_ ID3D11DeviceContext* deviceContext);
};
// Include the precompiled shader code.
namespace
{
#if defined(_XBOX_ONE) && defined(_TITLE)
#include "Shaders/Compiled/XboxOneNormalMapEffect_VSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_VSNormalPixelLightingTxVc.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTxNoFog.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTxNoSpec.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTxNoFogSpec.inc"
#else
#include "Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxVc.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFog.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoSpec.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFogSpec.inc"
#endif
}
const ShaderBytecode EffectBase<NormalMapEffectTraits>::VertexShaderBytecode[] =
{
{ NormalMapEffect_VSNormalPixelLightingTx, sizeof(NormalMapEffect_VSNormalPixelLightingTx) },
{ NormalMapEffect_VSNormalPixelLightingTxVc, sizeof(NormalMapEffect_VSNormalPixelLightingTxVc) },
};
const int EffectBase<NormalMapEffectTraits>::VertexShaderIndices[] =
{
0, // pixel lighting + texture
0, // pixel lighting + texture, no fog
1, // pixel lighting + texture + vertex color
1, // pixel lighting + texture + vertex color, no fog
0, // pixel lighting + texture, no specular
0, // pixel lighting + texture, no fog or specular
1, // pixel lighting + texture + vertex color, no specular
1, // pixel lighting + texture + vertex color, no fog or specular
};
const ShaderBytecode EffectBase<NormalMapEffectTraits>::PixelShaderBytecode[] =
{
{ NormalMapEffect_PSNormalPixelLightingTx, sizeof(NormalMapEffect_PSNormalPixelLightingTx) },
{ NormalMapEffect_PSNormalPixelLightingTxNoFog, sizeof(NormalMapEffect_PSNormalPixelLightingTxNoFog) },
{ NormalMapEffect_PSNormalPixelLightingTxNoSpec, sizeof(NormalMapEffect_PSNormalPixelLightingTxNoSpec) },
{ NormalMapEffect_PSNormalPixelLightingTxNoFogSpec, sizeof(NormalMapEffect_PSNormalPixelLightingTxNoFogSpec) },
};
const int EffectBase<NormalMapEffectTraits>::PixelShaderIndices[] =
{
0, // pixel lighting + texture
1, // pixel lighting + texture, no fog
0, // pixel lighting + texture + vertex color
1, // pixel lighting + texture + vertex color, no fog
2, // pixel lighting + texture, no specular
3, // pixel lighting + texture, no fog or specular
2, // pixel lighting + texture + vertex color, no specular
3, // pixel lighting + texture + vertex color, no fog or specular
};
// Global pool of per-device NormalMapEffect resources.
SharedResourcePool<ID3D11Device*, EffectBase<NormalMapEffectTraits>::DeviceResources> EffectBase<NormalMapEffectTraits>::deviceResourcesPool;
// Constructor.
NormalMapEffect::Impl::Impl(_In_ ID3D11Device* device)
: EffectBase(device),
vertexColorEnabled(false)
{
static_assert( _countof(EffectBase<NormalMapEffectTraits>::VertexShaderIndices) == NormalMapEffectTraits::ShaderPermutationCount, "array/max mismatch" );
static_assert( _countof(EffectBase<NormalMapEffectTraits>::VertexShaderBytecode) == NormalMapEffectTraits::VertexShaderCount, "array/max mismatch" );
static_assert( _countof(EffectBase<NormalMapEffectTraits>::PixelShaderBytecode) == NormalMapEffectTraits::PixelShaderCount, "array/max mismatch" );
static_assert( _countof(EffectBase<NormalMapEffectTraits>::PixelShaderIndices) == NormalMapEffectTraits::ShaderPermutationCount, "array/max mismatch" );
lights.InitializeConstants(constants.specularColorAndPower, constants.lightDirection, constants.lightDiffuseColor, constants.lightSpecularColor);
}
int NormalMapEffect::Impl::GetCurrentShaderPermutation() const
{
int permutation = 0;
// Use optimized shaders if fog is disabled.
if (!fog.enabled)
{
permutation += 1;
}
// Support vertex coloring?
if (vertexColorEnabled)
{
permutation += 2;
}
// Specular map?
if (specularTexture)
{
permutation += 4;
}
return permutation;
}
// Sets our state onto the D3D device.
void NormalMapEffect::Impl::Apply(_In_ ID3D11DeviceContext* deviceContext)
{
// Compute derived parameter values.
matrices.SetConstants(dirtyFlags, constants.worldViewProj);
fog.SetConstants(dirtyFlags, matrices.worldView, constants.fogVector);
lights.SetConstants(dirtyFlags, matrices, constants.world, constants.worldInverseTranspose, constants.eyePosition, constants.diffuseColor, constants.emissiveColor, true);
// Set the textures
ID3D11ShaderResourceView* textures[] = { texture.Get(), specularTexture.Get(), normalTexture.Get()};
deviceContext->PSSetShaderResources(0, _countof(textures), textures);
// Set shaders and constant buffers.
ApplyShaders(deviceContext, GetCurrentShaderPermutation());
}
// Public constructor.
NormalMapEffect::NormalMapEffect(_In_ ID3D11Device* device)
: pImpl(new Impl(device))
{
}
// Move constructor.
NormalMapEffect::NormalMapEffect(NormalMapEffect&& moveFrom)
: pImpl(std::move(moveFrom.pImpl))
{
}
// Move assignment.
NormalMapEffect& NormalMapEffect::operator= (NormalMapEffect&& moveFrom)
{
pImpl = std::move(moveFrom.pImpl);
return *this;
}
// Public destructor.
NormalMapEffect::~NormalMapEffect()
{
}
void NormalMapEffect::Apply(_In_ ID3D11DeviceContext* deviceContext)
{
pImpl->Apply(deviceContext);
}
void NormalMapEffect::GetVertexShaderBytecode(_Out_ void const** pShaderByteCode, _Out_ size_t* pByteCodeLength)
{
pImpl->GetVertexShaderBytecode(pImpl->GetCurrentShaderPermutation(), pShaderByteCode, pByteCodeLength);
}
void XM_CALLCONV NormalMapEffect::SetWorld(FXMMATRIX value)
{
pImpl->matrices.world = value;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj | EffectDirtyFlags::WorldInverseTranspose | EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetView(FXMMATRIX value)
{
pImpl->matrices.view = value;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj | EffectDirtyFlags::EyePosition | EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetProjection(FXMMATRIX value)
{
pImpl->matrices.projection = value;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj;
}
void XM_CALLCONV NormalMapEffect::SetMatrices(FXMMATRIX world, CXMMATRIX view, CXMMATRIX projection)
{
pImpl->matrices.world = world;
pImpl->matrices.view = view;
pImpl->matrices.projection = projection;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj | EffectDirtyFlags::WorldInverseTranspose | EffectDirtyFlags::EyePosition | EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetDiffuseColor(FXMVECTOR value)
{
pImpl->lights.diffuseColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void XM_CALLCONV NormalMapEffect::SetEmissiveColor(FXMVECTOR value)
{
pImpl->lights.emissiveColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void XM_CALLCONV NormalMapEffect::SetSpecularColor(FXMVECTOR value)
{
// Set xyz to new value, but preserve existing w (specular power).
pImpl->constants.specularColorAndPower = XMVectorSelect(pImpl->constants.specularColorAndPower, value, g_XMSelect1110);
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::SetSpecularPower(float value)
{
// Set w to new value, but preserve existing xyz (specular color).
pImpl->constants.specularColorAndPower = XMVectorSetW(pImpl->constants.specularColorAndPower, value);
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::DisableSpecular()
{
// Set specular color to black, power to 1
// Note: Don't use a power of 0 or the shader will generate strange highlights on non-specular materials
pImpl->constants.specularColorAndPower = g_XMIdentityR3;
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::SetAlpha(float value)
{
pImpl->lights.alpha = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void XM_CALLCONV NormalMapEffect::SetColorAndAlpha(FXMVECTOR value)
{
pImpl->lights.diffuseColor = value;
pImpl->lights.alpha = XMVectorGetW(value);
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void NormalMapEffect::SetLightingEnabled(bool value)
{
if (!value)
{
throw std::exception("NormalMapEffect does not support turning off lighting");
}
}
void NormalMapEffect::SetPerPixelLighting(bool value)
{
// Unsupported interface method.
(value);
}
void XM_CALLCONV NormalMapEffect::SetAmbientLightColor(FXMVECTOR value)
{
pImpl->lights.ambientLightColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void NormalMapEffect::SetLightEnabled(int whichLight, bool value)
{
pImpl->dirtyFlags |= pImpl->lights.SetLightEnabled(whichLight, value, pImpl->constants.lightDiffuseColor, pImpl->constants.lightSpecularColor);
}
void XM_CALLCONV NormalMapEffect::SetLightDirection(int whichLight, FXMVECTOR value)
{
EffectLights::ValidateLightIndex(whichLight);
pImpl->constants.lightDirection[whichLight] = value;
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void XM_CALLCONV NormalMapEffect::SetLightDiffuseColor(int whichLight, FXMVECTOR value)
{
pImpl->dirtyFlags |= pImpl->lights.SetLightDiffuseColor(whichLight, value, pImpl->constants.lightDiffuseColor);
}
void XM_CALLCONV NormalMapEffect::SetLightSpecularColor(int whichLight, FXMVECTOR value)
{
pImpl->dirtyFlags |= pImpl->lights.SetLightSpecularColor(whichLight, value, pImpl->constants.lightSpecularColor);
}
void NormalMapEffect::EnableDefaultLighting()
{
EffectLights::EnableDefaultLighting(this);
}
void NormalMapEffect::SetFogEnabled(bool value)
{
pImpl->fog.enabled = value;
pImpl->dirtyFlags |= EffectDirtyFlags::FogEnable;
}
void NormalMapEffect::SetFogStart(float value)
{
pImpl->fog.start = value;
pImpl->dirtyFlags |= EffectDirtyFlags::FogVector;
}
void NormalMapEffect::SetFogEnd(float value)
{
pImpl->fog.end = value;
pImpl->dirtyFlags |= EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetFogColor(FXMVECTOR value)
{
pImpl->constants.fogColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::SetVertexColorEnabled(bool value)
{
pImpl->vertexColorEnabled = value;
}
void NormalMapEffect::SetTexture(_In_opt_ ID3D11ShaderResourceView* value)
{
pImpl->texture = value;
}
void NormalMapEffect::SetNormalTexture(_In_opt_ ID3D11ShaderResourceView* value)
{
pImpl->normalTexture = value;
}
void NormalMapEffect::SetSpecularTexture(_In_opt_ ID3D11ShaderResourceView* value)
{
pImpl->specularTexture = value;
}
//--------------------------------------------------------------------------------------
// File: NormalMapEffect.cpp
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#include "pch.h"
#include "EffectCommon.h"
using namespace DirectX;
// Constant buffer layout. Must match the shader!
struct NormalMapEffectConstants
{
XMVECTOR diffuseColor;
XMVECTOR emissiveColor;
XMVECTOR specularColorAndPower;
XMVECTOR lightDirection[IEffectLights::MaxDirectionalLights];
XMVECTOR lightDiffuseColor[IEffectLights::MaxDirectionalLights];
XMVECTOR lightSpecularColor[IEffectLights::MaxDirectionalLights];
XMVECTOR eyePosition;
XMVECTOR fogColor;
XMVECTOR fogVector;
XMMATRIX world;
XMVECTOR worldInverseTranspose[3];
XMMATRIX worldViewProj;
};
static_assert( ( sizeof(NormalMapEffectConstants) % 16 ) == 0, "CB size not padded correctly" );
// Traits type describes our characteristics to the EffectBase template.
struct NormalMapEffectTraits
{
typedef NormalMapEffectConstants ConstantBufferType;
static const int VertexShaderCount = 2;
static const int PixelShaderCount = 4;
static const int ShaderPermutationCount = 8;
};
// Internal NormalMapEffect implementation class.
class NormalMapEffect::Impl : public EffectBase<NormalMapEffectTraits>
{
public:
Impl(_In_ ID3D11Device* device);
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> specularTexture;
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> normalTexture;
bool vertexColorEnabled;
EffectLights lights;
int GetCurrentShaderPermutation() const;
void Apply(_In_ ID3D11DeviceContext* deviceContext);
};
// Include the precompiled shader code.
namespace
{
#if defined(_XBOX_ONE) && defined(_TITLE)
#include "Shaders/Compiled/XboxOneNormalMapEffect_VSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_VSNormalPixelLightingTxVc.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTxNoFog.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTxNoSpec.inc"
#include "Shaders/Compiled/XboxOneNormalMapEffect_PSNormalPixelLightingTxNoFogSpec.inc"
#else
#include "Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/NormalMapEffect_VSNormalPixelLightingTxVc.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTx.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFog.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoSpec.inc"
#include "Shaders/Compiled/NormalMapEffect_PSNormalPixelLightingTxNoFogSpec.inc"
#endif
}
const ShaderBytecode EffectBase<NormalMapEffectTraits>::VertexShaderBytecode[] =
{
{ NormalMapEffect_VSNormalPixelLightingTx, sizeof(NormalMapEffect_VSNormalPixelLightingTx) },
{ NormalMapEffect_VSNormalPixelLightingTxVc, sizeof(NormalMapEffect_VSNormalPixelLightingTxVc) },
};
const int EffectBase<NormalMapEffectTraits>::VertexShaderIndices[] =
{
0, // pixel lighting + texture
0, // pixel lighting + texture, no fog
1, // pixel lighting + texture + vertex color
1, // pixel lighting + texture + vertex color, no fog
0, // pixel lighting + texture, no specular
0, // pixel lighting + texture, no fog or specular
1, // pixel lighting + texture + vertex color, no specular
1, // pixel lighting + texture + vertex color, no fog or specular
};
const ShaderBytecode EffectBase<NormalMapEffectTraits>::PixelShaderBytecode[] =
{
{ NormalMapEffect_PSNormalPixelLightingTx, sizeof(NormalMapEffect_PSNormalPixelLightingTx) },
{ NormalMapEffect_PSNormalPixelLightingTxNoFog, sizeof(NormalMapEffect_PSNormalPixelLightingTxNoFog) },
{ NormalMapEffect_PSNormalPixelLightingTxNoSpec, sizeof(NormalMapEffect_PSNormalPixelLightingTxNoSpec) },
{ NormalMapEffect_PSNormalPixelLightingTxNoFogSpec, sizeof(NormalMapEffect_PSNormalPixelLightingTxNoFogSpec) },
};
const int EffectBase<NormalMapEffectTraits>::PixelShaderIndices[] =
{
0, // pixel lighting + texture
1, // pixel lighting + texture, no fog
0, // pixel lighting + texture + vertex color
1, // pixel lighting + texture + vertex color, no fog
2, // pixel lighting + texture, no specular
3, // pixel lighting + texture, no fog or specular
2, // pixel lighting + texture + vertex color, no specular
3, // pixel lighting + texture + vertex color, no fog or specular
};
// Global pool of per-device NormalMapEffect resources.
SharedResourcePool<ID3D11Device*, EffectBase<NormalMapEffectTraits>::DeviceResources> EffectBase<NormalMapEffectTraits>::deviceResourcesPool;
// Constructor.
NormalMapEffect::Impl::Impl(_In_ ID3D11Device* device)
: EffectBase(device),
vertexColorEnabled(false)
{
static_assert( _countof(EffectBase<NormalMapEffectTraits>::VertexShaderIndices) == NormalMapEffectTraits::ShaderPermutationCount, "array/max mismatch" );
static_assert( _countof(EffectBase<NormalMapEffectTraits>::VertexShaderBytecode) == NormalMapEffectTraits::VertexShaderCount, "array/max mismatch" );
static_assert( _countof(EffectBase<NormalMapEffectTraits>::PixelShaderBytecode) == NormalMapEffectTraits::PixelShaderCount, "array/max mismatch" );
static_assert( _countof(EffectBase<NormalMapEffectTraits>::PixelShaderIndices) == NormalMapEffectTraits::ShaderPermutationCount, "array/max mismatch" );
lights.InitializeConstants(constants.specularColorAndPower, constants.lightDirection, constants.lightDiffuseColor, constants.lightSpecularColor);
}
int NormalMapEffect::Impl::GetCurrentShaderPermutation() const
{
int permutation = 0;
// Use optimized shaders if fog is disabled.
if (!fog.enabled)
{
permutation += 1;
}
// Support vertex coloring?
if (vertexColorEnabled)
{
permutation += 2;
}
// Specular map?
if (specularTexture)
{
permutation += 4;
}
return permutation;
}
// Sets our state onto the D3D device.
void NormalMapEffect::Impl::Apply(_In_ ID3D11DeviceContext* deviceContext)
{
// Compute derived parameter values.
matrices.SetConstants(dirtyFlags, constants.worldViewProj);
fog.SetConstants(dirtyFlags, matrices.worldView, constants.fogVector);
lights.SetConstants(dirtyFlags, matrices, constants.world, constants.worldInverseTranspose, constants.eyePosition, constants.diffuseColor, constants.emissiveColor, true);
// Set the textures
ID3D11ShaderResourceView* textures[] = { texture.Get(), specularTexture.Get(), normalTexture.Get()};
deviceContext->PSSetShaderResources(0, _countof(textures), textures);
// Set shaders and constant buffers.
ApplyShaders(deviceContext, GetCurrentShaderPermutation());
}
// Public constructor.
NormalMapEffect::NormalMapEffect(_In_ ID3D11Device* device)
: pImpl(new Impl(device))
{
}
// Move constructor.
NormalMapEffect::NormalMapEffect(NormalMapEffect&& moveFrom)
: pImpl(std::move(moveFrom.pImpl))
{
}
// Move assignment.
NormalMapEffect& NormalMapEffect::operator= (NormalMapEffect&& moveFrom)
{
pImpl = std::move(moveFrom.pImpl);
return *this;
}
// Public destructor.
NormalMapEffect::~NormalMapEffect()
{
}
void NormalMapEffect::Apply(_In_ ID3D11DeviceContext* deviceContext)
{
pImpl->Apply(deviceContext);
}
void NormalMapEffect::GetVertexShaderBytecode(_Out_ void const** pShaderByteCode, _Out_ size_t* pByteCodeLength)
{
pImpl->GetVertexShaderBytecode(pImpl->GetCurrentShaderPermutation(), pShaderByteCode, pByteCodeLength);
}
void XM_CALLCONV NormalMapEffect::SetWorld(FXMMATRIX value)
{
pImpl->matrices.world = value;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj | EffectDirtyFlags::WorldInverseTranspose | EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetView(FXMMATRIX value)
{
pImpl->matrices.view = value;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj | EffectDirtyFlags::EyePosition | EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetProjection(FXMMATRIX value)
{
pImpl->matrices.projection = value;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj;
}
void XM_CALLCONV NormalMapEffect::SetMatrices(FXMMATRIX world, CXMMATRIX view, CXMMATRIX projection)
{
pImpl->matrices.world = world;
pImpl->matrices.view = view;
pImpl->matrices.projection = projection;
pImpl->dirtyFlags |= EffectDirtyFlags::WorldViewProj | EffectDirtyFlags::WorldInverseTranspose | EffectDirtyFlags::EyePosition | EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetDiffuseColor(FXMVECTOR value)
{
pImpl->lights.diffuseColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void XM_CALLCONV NormalMapEffect::SetEmissiveColor(FXMVECTOR value)
{
pImpl->lights.emissiveColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void XM_CALLCONV NormalMapEffect::SetSpecularColor(FXMVECTOR value)
{
// Set xyz to new value, but preserve existing w (specular power).
pImpl->constants.specularColorAndPower = XMVectorSelect(pImpl->constants.specularColorAndPower, value, g_XMSelect1110);
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::SetSpecularPower(float value)
{
// Set w to new value, but preserve existing xyz (specular color).
pImpl->constants.specularColorAndPower = XMVectorSetW(pImpl->constants.specularColorAndPower, value);
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::DisableSpecular()
{
// Set specular color to black, power to 1
// Note: Don't use a power of 0 or the shader will generate strange highlights on non-specular materials
pImpl->constants.specularColorAndPower = g_XMIdentityR3;
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::SetAlpha(float value)
{
pImpl->lights.alpha = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void XM_CALLCONV NormalMapEffect::SetColorAndAlpha(FXMVECTOR value)
{
pImpl->lights.diffuseColor = value;
pImpl->lights.alpha = XMVectorGetW(value);
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void NormalMapEffect::SetLightingEnabled(bool value)
{
if (!value)
{
throw std::exception("NormalMapEffect does not support turning off lighting");
}
}
void NormalMapEffect::SetPerPixelLighting(bool value)
{
// Unsupported interface method.
(value);
}
void XM_CALLCONV NormalMapEffect::SetAmbientLightColor(FXMVECTOR value)
{
pImpl->lights.ambientLightColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::MaterialColor;
}
void NormalMapEffect::SetLightEnabled(int whichLight, bool value)
{
pImpl->dirtyFlags |= pImpl->lights.SetLightEnabled(whichLight, value, pImpl->constants.lightDiffuseColor, pImpl->constants.lightSpecularColor);
}
void XM_CALLCONV NormalMapEffect::SetLightDirection(int whichLight, FXMVECTOR value)
{
EffectLights::ValidateLightIndex(whichLight);
pImpl->constants.lightDirection[whichLight] = value;
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void XM_CALLCONV NormalMapEffect::SetLightDiffuseColor(int whichLight, FXMVECTOR value)
{
pImpl->dirtyFlags |= pImpl->lights.SetLightDiffuseColor(whichLight, value, pImpl->constants.lightDiffuseColor);
}
void XM_CALLCONV NormalMapEffect::SetLightSpecularColor(int whichLight, FXMVECTOR value)
{
pImpl->dirtyFlags |= pImpl->lights.SetLightSpecularColor(whichLight, value, pImpl->constants.lightSpecularColor);
}
void NormalMapEffect::EnableDefaultLighting()
{
EffectLights::EnableDefaultLighting(this);
}
void NormalMapEffect::SetFogEnabled(bool value)
{
pImpl->fog.enabled = value;
pImpl->dirtyFlags |= EffectDirtyFlags::FogEnable;
}
void NormalMapEffect::SetFogStart(float value)
{
pImpl->fog.start = value;
pImpl->dirtyFlags |= EffectDirtyFlags::FogVector;
}
void NormalMapEffect::SetFogEnd(float value)
{
pImpl->fog.end = value;
pImpl->dirtyFlags |= EffectDirtyFlags::FogVector;
}
void XM_CALLCONV NormalMapEffect::SetFogColor(FXMVECTOR value)
{
pImpl->constants.fogColor = value;
pImpl->dirtyFlags |= EffectDirtyFlags::ConstantBuffer;
}
void NormalMapEffect::SetVertexColorEnabled(bool value)
{
pImpl->vertexColorEnabled = value;
}
void NormalMapEffect::SetTexture(_In_opt_ ID3D11ShaderResourceView* value)
{
pImpl->texture = value;
}
void NormalMapEffect::SetNormalTexture(_In_opt_ ID3D11ShaderResourceView* value)
{
pImpl->normalTexture = value;
}
void NormalMapEffect::SetSpecularTexture(_In_opt_ ID3D11ShaderResourceView* value)
{
pImpl->specularTexture = value;
}

Просмотреть файл

@ -1,152 +1,152 @@
//--------------------------------------------------------------------------------------
// File: PlatformHelpers.h
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#pragma once
#pragma warning(disable : 4324)
#include <exception>
#include <memory>
namespace DirectX
{
// Helper class for COM exceptions
class com_exception : public std::exception
{
public:
com_exception(HRESULT hr) : result(hr) {}
virtual const char* what() const override
{
static char s_str[64] = {};
sprintf_s(s_str, "Failure with HRESULT of %08X", result);
return s_str;
}
private:
HRESULT result;
};
// Helper utility converts D3D API failures into exceptions.
inline void ThrowIfFailed(HRESULT hr)
{
if (FAILED(hr))
{
throw com_exception(hr);
}
}
// Helper for output debug tracing
inline void DebugTrace( _In_z_ _Printf_format_string_ const char* format, ... )
{
#ifdef _DEBUG
va_list args;
va_start( args, format );
char buff[1024] = {};
vsprintf_s( buff, format, args );
OutputDebugStringA( buff );
va_end( args );
#else
UNREFERENCED_PARAMETER( format );
#endif
}
// Helper smart-pointers
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN10) || (defined(_XBOX_ONE) && defined(_TITLE)) || !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
struct virtual_deleter { void operator()(void* p) { if (p) VirtualFree(p, 0, MEM_RELEASE); } };
#endif
struct aligned_deleter { void operator()(void* p) { _aligned_free(p); } };
struct handle_closer { void operator()(HANDLE h) { if (h) CloseHandle(h); } };
typedef public std::unique_ptr<void, handle_closer> ScopedHandle;
inline HANDLE safe_handle( HANDLE h ) { return (h == INVALID_HANDLE_VALUE) ? 0 : h; }
}
#ifdef DIRECTX_EMULATE_MUTEX
// Emulate the C++0x mutex and lock_guard types when building with Visual Studio CRT versions < 2012.
namespace std
{
class mutex
{
public:
mutex() { InitializeCriticalSection(&mCriticalSection); }
~mutex() { DeleteCriticalSection(&mCriticalSection); }
void lock() { EnterCriticalSection(&mCriticalSection); }
void unlock() { LeaveCriticalSection(&mCriticalSection); }
bool try_lock() { return TryEnterCriticalSection(&mCriticalSection) != 0; }
private:
CRITICAL_SECTION mCriticalSection;
mutex(mutex const&);
mutex& operator= (mutex const&);
};
template<typename Mutex>
class lock_guard
{
public:
typedef Mutex mutex_type;
explicit lock_guard(mutex_type& mutex)
: mMutex(mutex)
{
mMutex.lock();
}
~lock_guard()
{
mMutex.unlock();
}
private:
mutex_type& mMutex;
lock_guard(lock_guard const&);
lock_guard& operator= (lock_guard const&);
};
}
#else
#include <mutex>
#endif
#ifdef DIRECTX_EMULATE_MAKE_UNIQUE
// Emulate make_unique when building with Visual Studio CRT versions < 2012.
namespace std
{
template<typename T, typename... Args>
std::unique_ptr<T> make_unique(Args&&... args)
{
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
}
//--------------------------------------------------------------------------------------
// File: PlatformHelpers.h
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#pragma once
#pragma warning(disable : 4324)
#include <exception>
#include <memory>
namespace DirectX
{
// Helper class for COM exceptions
class com_exception : public std::exception
{
public:
com_exception(HRESULT hr) : result(hr) {}
virtual const char* what() const override
{
static char s_str[64] = {};
sprintf_s(s_str, "Failure with HRESULT of %08X", result);
return s_str;
}
private:
HRESULT result;
};
// Helper utility converts D3D API failures into exceptions.
inline void ThrowIfFailed(HRESULT hr)
{
if (FAILED(hr))
{
throw com_exception(hr);
}
}
// Helper for output debug tracing
inline void DebugTrace( _In_z_ _Printf_format_string_ const char* format, ... )
{
#ifdef _DEBUG
va_list args;
va_start( args, format );
char buff[1024] = {};
vsprintf_s( buff, format, args );
OutputDebugStringA( buff );
va_end( args );
#else
UNREFERENCED_PARAMETER( format );
#endif
}
// Helper smart-pointers
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN10) || (defined(_XBOX_ONE) && defined(_TITLE)) || !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
struct virtual_deleter { void operator()(void* p) { if (p) VirtualFree(p, 0, MEM_RELEASE); } };
#endif
struct aligned_deleter { void operator()(void* p) { _aligned_free(p); } };
struct handle_closer { void operator()(HANDLE h) { if (h) CloseHandle(h); } };
typedef public std::unique_ptr<void, handle_closer> ScopedHandle;
inline HANDLE safe_handle( HANDLE h ) { return (h == INVALID_HANDLE_VALUE) ? 0 : h; }
}
#ifdef DIRECTX_EMULATE_MUTEX
// Emulate the C++0x mutex and lock_guard types when building with Visual Studio CRT versions < 2012.
namespace std
{
class mutex
{
public:
mutex() { InitializeCriticalSection(&mCriticalSection); }
~mutex() { DeleteCriticalSection(&mCriticalSection); }
void lock() { EnterCriticalSection(&mCriticalSection); }
void unlock() { LeaveCriticalSection(&mCriticalSection); }
bool try_lock() { return TryEnterCriticalSection(&mCriticalSection) != 0; }
private:
CRITICAL_SECTION mCriticalSection;
mutex(mutex const&);
mutex& operator= (mutex const&);
};
template<typename Mutex>
class lock_guard
{
public:
typedef Mutex mutex_type;
explicit lock_guard(mutex_type& mutex)
: mMutex(mutex)
{
mMutex.lock();
}
~lock_guard()
{
mMutex.unlock();
}
private:
mutex_type& mMutex;
lock_guard(lock_guard const&);
lock_guard& operator= (lock_guard const&);
};
}
#else
#include <mutex>
#endif
#ifdef DIRECTX_EMULATE_MAKE_UNIQUE
// Emulate make_unique when building with Visual Studio CRT versions < 2012.
namespace std
{
template<typename T, typename... Args>
std::unique_ptr<T> make_unique(Args&&... args)
{
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
}
#endif

Просмотреть файл

@ -1,437 +1,437 @@
//--------------------------------------------------------------------------------------
// File: PrimitiveBatch.cpp
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#include "pch.h"
#include "PrimitiveBatch.h"
#include "DirectXHelpers.h"
#include "GraphicsMemory.h"
#include "PlatformHelpers.h"
using namespace DirectX;
using namespace DirectX::Internal;
using Microsoft::WRL::ComPtr;
// Internal PrimitiveBatch implementation class.
class PrimitiveBatchBase::Impl
{
public:
Impl(_In_ ID3D11DeviceContext* deviceContext, size_t maxIndices, size_t maxVertices, size_t vertexSize);
void Begin();
void End();
void Draw(D3D11_PRIMITIVE_TOPOLOGY topology, bool isIndexed, _In_opt_count_(indexCount) uint16_t const* indices, size_t indexCount, size_t vertexCount, _Out_ void** pMappedVertices);
private:
void FlushBatch();
#if defined(_XBOX_ONE) && defined(_TITLE)
ComPtr<ID3D11DeviceContextX> mDeviceContext;
#else
ComPtr<ID3D11DeviceContext> mDeviceContext;
#endif
ComPtr<ID3D11Buffer> mIndexBuffer;
ComPtr<ID3D11Buffer> mVertexBuffer;
size_t mMaxIndices;
size_t mMaxVertices;
size_t mVertexSize;
bool mInBeginEndPair;
D3D11_PRIMITIVE_TOPOLOGY mCurrentTopology;
bool mCurrentlyIndexed;
size_t mCurrentIndex;
size_t mCurrentVertex;
size_t mBaseIndex;
size_t mBaseVertex;
#if defined(_XBOX_ONE) && defined(_TITLE)
void *grfxMemoryIB;
void *grfxMemoryVB;
#else
D3D11_MAPPED_SUBRESOURCE mMappedIndices;
D3D11_MAPPED_SUBRESOURCE mMappedVertices;
#endif
};
// Helper for creating a D3D vertex or index buffer.
#if defined(_XBOX_ONE) && defined(_TITLE)
static void CreateBuffer(_In_ ID3D11DeviceX* device, size_t bufferSize, D3D11_BIND_FLAG bindFlag, _Out_ ID3D11Buffer** pBuffer)
{
D3D11_BUFFER_DESC desc = {};
desc.ByteWidth = (UINT)bufferSize;
desc.BindFlags = bindFlag;
desc.Usage = D3D11_USAGE_DEFAULT;
desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE;
ThrowIfFailed(
device->CreatePlacementBuffer(&desc, nullptr, pBuffer)
);
SetDebugObjectName(*pBuffer, "DirectXTK:PrimitiveBatch");
}
#else
static void CreateBuffer(_In_ ID3D11Device* device, size_t bufferSize, D3D11_BIND_FLAG bindFlag, _Out_ ID3D11Buffer** pBuffer)
{
D3D11_BUFFER_DESC desc = {};
desc.ByteWidth = (UINT)bufferSize;
desc.BindFlags = bindFlag;
desc.Usage = D3D11_USAGE_DYNAMIC;
desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE;
ThrowIfFailed(
device->CreateBuffer(&desc, nullptr, pBuffer)
);
_Analysis_assume_(*pBuffer != 0);
SetDebugObjectName(*pBuffer, "DirectXTK:PrimitiveBatch");
}
#endif
// Constructor.
PrimitiveBatchBase::Impl::Impl(_In_ ID3D11DeviceContext* deviceContext, size_t maxIndices, size_t maxVertices, size_t vertexSize)
: mMaxIndices(maxIndices),
mMaxVertices(maxVertices),
mVertexSize(vertexSize),
mInBeginEndPair(false),
mCurrentTopology(D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED),
mCurrentlyIndexed(false),
mCurrentIndex(0),
mCurrentVertex(0),
mBaseIndex(0),
mBaseVertex(0)
{
ComPtr<ID3D11Device> device;
deviceContext->GetDevice(&device);
#if defined(_XBOX_ONE) && defined(_TITLE)
ThrowIfFailed(deviceContext->QueryInterface(IID_GRAPHICS_PPV_ARGS(mDeviceContext.GetAddressOf())));
ComPtr<ID3D11DeviceX> deviceX;
ThrowIfFailed(device.As(&deviceX));
// If you only intend to draw non-indexed geometry, specify maxIndices = 0 to skip creating the index buffer.
if (maxIndices > 0)
{
CreateBuffer(deviceX.Get(), maxIndices * sizeof(uint16_t), D3D11_BIND_INDEX_BUFFER, &mIndexBuffer);
}
// Create the vertex buffer.
CreateBuffer(deviceX.Get(), maxVertices * vertexSize, D3D11_BIND_VERTEX_BUFFER, &mVertexBuffer);
grfxMemoryIB = grfxMemoryVB = nullptr;
#else
mDeviceContext = deviceContext;
// If you only intend to draw non-indexed geometry, specify maxIndices = 0 to skip creating the index buffer.
if (maxIndices > 0)
{
CreateBuffer(device.Get(), maxIndices * sizeof(uint16_t), D3D11_BIND_INDEX_BUFFER, &mIndexBuffer);
}
// Create the vertex buffer.
CreateBuffer(device.Get(), maxVertices * vertexSize, D3D11_BIND_VERTEX_BUFFER, &mVertexBuffer);
#endif
}
// Begins a batch of primitive drawing operations.
void PrimitiveBatchBase::Impl::Begin()
{
if (mInBeginEndPair)
throw std::exception("Cannot nest Begin calls");
#if defined(_XBOX_ONE) && defined(_TITLE)
mDeviceContext->IASetIndexBuffer(nullptr, DXGI_FORMAT_UNKNOWN, 0);
#else
// Bind the index buffer.
if (mMaxIndices > 0)
{
mDeviceContext->IASetIndexBuffer(mIndexBuffer.Get(), DXGI_FORMAT_R16_UINT, 0);
}
// Bind the vertex buffer.
auto vertexBuffer = mVertexBuffer.Get();
UINT vertexStride = (UINT)mVertexSize;
UINT vertexOffset = 0;
mDeviceContext->IASetVertexBuffers(0, 1, &vertexBuffer, &vertexStride, &vertexOffset);
#endif
// If this is a deferred D3D context, reset position so the first Map calls will use D3D11_MAP_WRITE_DISCARD.
if (mDeviceContext->GetType() == D3D11_DEVICE_CONTEXT_DEFERRED)
{
mCurrentIndex = 0;
mCurrentVertex = 0;
}
mInBeginEndPair = true;
}
// Ends a batch of primitive drawing operations.
void PrimitiveBatchBase::Impl::End()
{
if (!mInBeginEndPair)
throw std::exception("Begin must be called before End");
FlushBatch();
mInBeginEndPair = false;
}
// Can we combine adjacent primitives using this topology into a single draw call?
static bool CanBatchPrimitives(D3D11_PRIMITIVE_TOPOLOGY topology)
{
switch (topology)
{
case D3D11_PRIMITIVE_TOPOLOGY_POINTLIST:
case D3D11_PRIMITIVE_TOPOLOGY_LINELIST:
case D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST:
// Lists can easily be merged.
return true;
default:
// Strips cannot.
return false;
}
// We could also merge indexed strips by inserting degenerates,
// but that's not always a perf win, so let's keep things simple.
}
#if !defined(_XBOX_ONE) || !defined(_TITLE)
// Helper for locking a vertex or index buffer.
static void LockBuffer(_In_ ID3D11DeviceContext* deviceContext, _In_ ID3D11Buffer* buffer, size_t currentPosition, _Out_ size_t* basePosition, _Out_ D3D11_MAPPED_SUBRESOURCE* mappedResource)
{
D3D11_MAP mapType = (currentPosition == 0) ? D3D11_MAP_WRITE_DISCARD : D3D11_MAP_WRITE_NO_OVERWRITE;
ThrowIfFailed(
deviceContext->Map(buffer, 0, mapType, 0, mappedResource)
);
*basePosition = currentPosition;
}
#endif
// Adds new geometry to the batch.
_Use_decl_annotations_
void PrimitiveBatchBase::Impl::Draw(D3D11_PRIMITIVE_TOPOLOGY topology, bool isIndexed, uint16_t const* indices, size_t indexCount, size_t vertexCount, void** pMappedVertices)
{
if (isIndexed && !indices)
throw std::exception("Indices cannot be null");
if (indexCount >= mMaxIndices)
throw std::exception("Too many indices");
if (vertexCount >= mMaxVertices)
throw std::exception("Too many vertices");
if (!mInBeginEndPair)
throw std::exception("Begin must be called before Draw");
// Can we merge this primitive in with an existing batch, or must we flush first?
bool wrapIndexBuffer = (mCurrentIndex + indexCount > mMaxIndices);
bool wrapVertexBuffer = (mCurrentVertex + vertexCount > mMaxVertices);
if ((topology != mCurrentTopology) ||
(isIndexed != mCurrentlyIndexed) ||
!CanBatchPrimitives(topology) ||
wrapIndexBuffer || wrapVertexBuffer)
{
FlushBatch();
}
#if defined(_XBOX_ONE) && defined(_TITLE)
if (mCurrentTopology == D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED)
{
auto& grfxMem = GraphicsMemory::Get();
if (isIndexed)
{
grfxMemoryIB = grfxMem.Allocate(mDeviceContext.Get(), mMaxIndices * sizeof(uint16_t), 64);
}
grfxMemoryVB = grfxMem.Allocate(mDeviceContext.Get(), mMaxVertices * mVertexSize, 64);
mCurrentTopology = topology;
mCurrentlyIndexed = isIndexed;
mCurrentIndex = mCurrentVertex = 0;
}
// Copy over the index data.
if (isIndexed)
{
assert(grfxMemoryIB != 0);
auto outputIndices = reinterpret_cast<uint16_t*>(grfxMemoryIB) + mCurrentIndex;
for (size_t i = 0; i < indexCount; i++)
{
outputIndices[i] = (uint16_t)(indices[i] + mCurrentVertex);
}
mCurrentIndex += indexCount;
}
// Return the output vertex data location.
assert(grfxMemoryVB != 0);
*pMappedVertices = reinterpret_cast<uint8_t*>(grfxMemoryVB) + (mCurrentVertex * mVertexSize);
mCurrentVertex += vertexCount;
#else
if (wrapIndexBuffer)
mCurrentIndex = 0;
if (wrapVertexBuffer)
mCurrentVertex = 0;
// If we are not already in a batch, lock the buffers.
if (mCurrentTopology == D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED)
{
if (isIndexed)
{
LockBuffer(mDeviceContext.Get(), mIndexBuffer.Get(), mCurrentIndex, &mBaseIndex, &mMappedIndices);
}
LockBuffer(mDeviceContext.Get(), mVertexBuffer.Get(), mCurrentVertex, &mBaseVertex, &mMappedVertices);
mCurrentTopology = topology;
mCurrentlyIndexed = isIndexed;
}
// Copy over the index data.
if (isIndexed)
{
auto outputIndices = reinterpret_cast<uint16_t*>(mMappedIndices.pData) + mCurrentIndex;
for (size_t i = 0; i < indexCount; i++)
{
outputIndices[i] = (uint16_t)(indices[i] + mCurrentVertex - mBaseVertex);
}
mCurrentIndex += indexCount;
}
// Return the output vertex data location.
*pMappedVertices = reinterpret_cast<uint8_t*>(mMappedVertices.pData) + (mCurrentVertex * mVertexSize);
mCurrentVertex += vertexCount;
#endif
}
// Sends queued primitives to the graphics device.
void PrimitiveBatchBase::Impl::FlushBatch()
{
// Early out if there is nothing to flush.
if (mCurrentTopology == D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED)
return;
mDeviceContext->IASetPrimitiveTopology(mCurrentTopology);
#if defined(_XBOX_ONE) && defined(_TITLE)
if (mCurrentlyIndexed)
{
// Draw indexed geometry.
mDeviceContext->IASetPlacementIndexBuffer(mIndexBuffer.Get(), grfxMemoryIB, DXGI_FORMAT_R16_UINT);
mDeviceContext->IASetPlacementVertexBuffer(0, mVertexBuffer.Get(), grfxMemoryVB, (UINT)mVertexSize);
mDeviceContext->DrawIndexed((UINT)mCurrentIndex, 0, 0);
}
else
{
// Draw non-indexed geometry.
mDeviceContext->IASetPlacementVertexBuffer(0, mVertexBuffer.Get(), grfxMemoryVB, (UINT)mVertexSize);
mDeviceContext->Draw((UINT)mCurrentVertex, 0);
}
grfxMemoryIB = grfxMemoryVB = nullptr;
#else
mDeviceContext->Unmap(mVertexBuffer.Get(), 0);
if (mCurrentlyIndexed)
{
// Draw indexed geometry.
mDeviceContext->Unmap(mIndexBuffer.Get(), 0);
mDeviceContext->DrawIndexed((UINT)(mCurrentIndex - mBaseIndex), (UINT)mBaseIndex, (UINT)mBaseVertex);
}
else
{
// Draw non-indexed geometry.
mDeviceContext->Draw((UINT)(mCurrentVertex - mBaseVertex), (UINT)mBaseVertex);
}
#endif
mCurrentTopology = D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED;
}
// Public constructor.
PrimitiveBatchBase::PrimitiveBatchBase(_In_ ID3D11DeviceContext* deviceContext, size_t maxIndices, size_t maxVertices, size_t vertexSize)
: pImpl(new Impl(deviceContext, maxIndices, maxVertices, vertexSize))
{
}
// Move constructor.
PrimitiveBatchBase::PrimitiveBatchBase(PrimitiveBatchBase&& moveFrom)
: pImpl(std::move(moveFrom.pImpl))
{
}
// Move assignment.
PrimitiveBatchBase& PrimitiveBatchBase::operator= (PrimitiveBatchBase&& moveFrom)
{
pImpl = std::move(moveFrom.pImpl);
return *this;
}
// Public destructor.
PrimitiveBatchBase::~PrimitiveBatchBase()
{
}
void PrimitiveBatchBase::Begin()
{
pImpl->Begin();
}
void PrimitiveBatchBase::End()
{
pImpl->End();
}
_Use_decl_annotations_
void PrimitiveBatchBase::Draw(D3D11_PRIMITIVE_TOPOLOGY topology, bool isIndexed, uint16_t const* indices, size_t indexCount, size_t vertexCount, void** pMappedVertices)
{
pImpl->Draw(topology, isIndexed, indices, indexCount, vertexCount, pMappedVertices);
}
//--------------------------------------------------------------------------------------
// File: PrimitiveBatch.cpp
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#include "pch.h"
#include "PrimitiveBatch.h"
#include "DirectXHelpers.h"
#include "GraphicsMemory.h"
#include "PlatformHelpers.h"
using namespace DirectX;
using namespace DirectX::Internal;
using Microsoft::WRL::ComPtr;
// Internal PrimitiveBatch implementation class.
class PrimitiveBatchBase::Impl
{
public:
Impl(_In_ ID3D11DeviceContext* deviceContext, size_t maxIndices, size_t maxVertices, size_t vertexSize);
void Begin();
void End();
void Draw(D3D11_PRIMITIVE_TOPOLOGY topology, bool isIndexed, _In_opt_count_(indexCount) uint16_t const* indices, size_t indexCount, size_t vertexCount, _Out_ void** pMappedVertices);
private:
void FlushBatch();
#if defined(_XBOX_ONE) && defined(_TITLE)
ComPtr<ID3D11DeviceContextX> mDeviceContext;
#else
ComPtr<ID3D11DeviceContext> mDeviceContext;
#endif
ComPtr<ID3D11Buffer> mIndexBuffer;
ComPtr<ID3D11Buffer> mVertexBuffer;
size_t mMaxIndices;
size_t mMaxVertices;
size_t mVertexSize;
bool mInBeginEndPair;
D3D11_PRIMITIVE_TOPOLOGY mCurrentTopology;
bool mCurrentlyIndexed;
size_t mCurrentIndex;
size_t mCurrentVertex;
size_t mBaseIndex;
size_t mBaseVertex;
#if defined(_XBOX_ONE) && defined(_TITLE)
void *grfxMemoryIB;
void *grfxMemoryVB;
#else
D3D11_MAPPED_SUBRESOURCE mMappedIndices;
D3D11_MAPPED_SUBRESOURCE mMappedVertices;
#endif
};
// Helper for creating a D3D vertex or index buffer.
#if defined(_XBOX_ONE) && defined(_TITLE)
static void CreateBuffer(_In_ ID3D11DeviceX* device, size_t bufferSize, D3D11_BIND_FLAG bindFlag, _Out_ ID3D11Buffer** pBuffer)
{
D3D11_BUFFER_DESC desc = {};
desc.ByteWidth = (UINT)bufferSize;
desc.BindFlags = bindFlag;
desc.Usage = D3D11_USAGE_DEFAULT;
desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE;
ThrowIfFailed(
device->CreatePlacementBuffer(&desc, nullptr, pBuffer)
);
SetDebugObjectName(*pBuffer, "DirectXTK:PrimitiveBatch");
}
#else
static void CreateBuffer(_In_ ID3D11Device* device, size_t bufferSize, D3D11_BIND_FLAG bindFlag, _Out_ ID3D11Buffer** pBuffer)
{
D3D11_BUFFER_DESC desc = {};
desc.ByteWidth = (UINT)bufferSize;
desc.BindFlags = bindFlag;
desc.Usage = D3D11_USAGE_DYNAMIC;
desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE;
ThrowIfFailed(
device->CreateBuffer(&desc, nullptr, pBuffer)
);
_Analysis_assume_(*pBuffer != 0);
SetDebugObjectName(*pBuffer, "DirectXTK:PrimitiveBatch");
}
#endif
// Constructor.
PrimitiveBatchBase::Impl::Impl(_In_ ID3D11DeviceContext* deviceContext, size_t maxIndices, size_t maxVertices, size_t vertexSize)
: mMaxIndices(maxIndices),
mMaxVertices(maxVertices),
mVertexSize(vertexSize),
mInBeginEndPair(false),
mCurrentTopology(D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED),
mCurrentlyIndexed(false),
mCurrentIndex(0),
mCurrentVertex(0),
mBaseIndex(0),
mBaseVertex(0)
{
ComPtr<ID3D11Device> device;
deviceContext->GetDevice(&device);
#if defined(_XBOX_ONE) && defined(_TITLE)
ThrowIfFailed(deviceContext->QueryInterface(IID_GRAPHICS_PPV_ARGS(mDeviceContext.GetAddressOf())));
ComPtr<ID3D11DeviceX> deviceX;
ThrowIfFailed(device.As(&deviceX));
// If you only intend to draw non-indexed geometry, specify maxIndices = 0 to skip creating the index buffer.
if (maxIndices > 0)
{
CreateBuffer(deviceX.Get(), maxIndices * sizeof(uint16_t), D3D11_BIND_INDEX_BUFFER, &mIndexBuffer);
}
// Create the vertex buffer.
CreateBuffer(deviceX.Get(), maxVertices * vertexSize, D3D11_BIND_VERTEX_BUFFER, &mVertexBuffer);
grfxMemoryIB = grfxMemoryVB = nullptr;
#else
mDeviceContext = deviceContext;
// If you only intend to draw non-indexed geometry, specify maxIndices = 0 to skip creating the index buffer.
if (maxIndices > 0)
{
CreateBuffer(device.Get(), maxIndices * sizeof(uint16_t), D3D11_BIND_INDEX_BUFFER, &mIndexBuffer);
}
// Create the vertex buffer.
CreateBuffer(device.Get(), maxVertices * vertexSize, D3D11_BIND_VERTEX_BUFFER, &mVertexBuffer);
#endif
}
// Begins a batch of primitive drawing operations.
void PrimitiveBatchBase::Impl::Begin()
{
if (mInBeginEndPair)
throw std::exception("Cannot nest Begin calls");
#if defined(_XBOX_ONE) && defined(_TITLE)
mDeviceContext->IASetIndexBuffer(nullptr, DXGI_FORMAT_UNKNOWN, 0);
#else
// Bind the index buffer.
if (mMaxIndices > 0)
{
mDeviceContext->IASetIndexBuffer(mIndexBuffer.Get(), DXGI_FORMAT_R16_UINT, 0);
}
// Bind the vertex buffer.
auto vertexBuffer = mVertexBuffer.Get();
UINT vertexStride = (UINT)mVertexSize;
UINT vertexOffset = 0;
mDeviceContext->IASetVertexBuffers(0, 1, &vertexBuffer, &vertexStride, &vertexOffset);
#endif
// If this is a deferred D3D context, reset position so the first Map calls will use D3D11_MAP_WRITE_DISCARD.
if (mDeviceContext->GetType() == D3D11_DEVICE_CONTEXT_DEFERRED)
{
mCurrentIndex = 0;
mCurrentVertex = 0;
}
mInBeginEndPair = true;
}
// Ends a batch of primitive drawing operations.
void PrimitiveBatchBase::Impl::End()
{
if (!mInBeginEndPair)
throw std::exception("Begin must be called before End");
FlushBatch();
mInBeginEndPair = false;
}
// Can we combine adjacent primitives using this topology into a single draw call?
static bool CanBatchPrimitives(D3D11_PRIMITIVE_TOPOLOGY topology)
{
switch (topology)
{
case D3D11_PRIMITIVE_TOPOLOGY_POINTLIST:
case D3D11_PRIMITIVE_TOPOLOGY_LINELIST:
case D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST:
// Lists can easily be merged.
return true;
default:
// Strips cannot.
return false;
}
// We could also merge indexed strips by inserting degenerates,
// but that's not always a perf win, so let's keep things simple.
}
#if !defined(_XBOX_ONE) || !defined(_TITLE)
// Helper for locking a vertex or index buffer.
static void LockBuffer(_In_ ID3D11DeviceContext* deviceContext, _In_ ID3D11Buffer* buffer, size_t currentPosition, _Out_ size_t* basePosition, _Out_ D3D11_MAPPED_SUBRESOURCE* mappedResource)
{
D3D11_MAP mapType = (currentPosition == 0) ? D3D11_MAP_WRITE_DISCARD : D3D11_MAP_WRITE_NO_OVERWRITE;
ThrowIfFailed(
deviceContext->Map(buffer, 0, mapType, 0, mappedResource)
);
*basePosition = currentPosition;
}
#endif
// Adds new geometry to the batch.
_Use_decl_annotations_
void PrimitiveBatchBase::Impl::Draw(D3D11_PRIMITIVE_TOPOLOGY topology, bool isIndexed, uint16_t const* indices, size_t indexCount, size_t vertexCount, void** pMappedVertices)
{
if (isIndexed && !indices)
throw std::exception("Indices cannot be null");
if (indexCount >= mMaxIndices)
throw std::exception("Too many indices");
if (vertexCount >= mMaxVertices)
throw std::exception("Too many vertices");
if (!mInBeginEndPair)
throw std::exception("Begin must be called before Draw");
// Can we merge this primitive in with an existing batch, or must we flush first?
bool wrapIndexBuffer = (mCurrentIndex + indexCount > mMaxIndices);
bool wrapVertexBuffer = (mCurrentVertex + vertexCount > mMaxVertices);
if ((topology != mCurrentTopology) ||
(isIndexed != mCurrentlyIndexed) ||
!CanBatchPrimitives(topology) ||
wrapIndexBuffer || wrapVertexBuffer)
{
FlushBatch();
}
#if defined(_XBOX_ONE) && defined(_TITLE)
if (mCurrentTopology == D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED)
{
auto& grfxMem = GraphicsMemory::Get();
if (isIndexed)
{
grfxMemoryIB = grfxMem.Allocate(mDeviceContext.Get(), mMaxIndices * sizeof(uint16_t), 64);
}
grfxMemoryVB = grfxMem.Allocate(mDeviceContext.Get(), mMaxVertices * mVertexSize, 64);
mCurrentTopology = topology;
mCurrentlyIndexed = isIndexed;
mCurrentIndex = mCurrentVertex = 0;
}
// Copy over the index data.
if (isIndexed)
{
assert(grfxMemoryIB != 0);
auto outputIndices = reinterpret_cast<uint16_t*>(grfxMemoryIB) + mCurrentIndex;
for (size_t i = 0; i < indexCount; i++)
{
outputIndices[i] = (uint16_t)(indices[i] + mCurrentVertex);
}
mCurrentIndex += indexCount;
}
// Return the output vertex data location.
assert(grfxMemoryVB != 0);
*pMappedVertices = reinterpret_cast<uint8_t*>(grfxMemoryVB) + (mCurrentVertex * mVertexSize);
mCurrentVertex += vertexCount;
#else
if (wrapIndexBuffer)
mCurrentIndex = 0;
if (wrapVertexBuffer)
mCurrentVertex = 0;
// If we are not already in a batch, lock the buffers.
if (mCurrentTopology == D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED)
{
if (isIndexed)
{
LockBuffer(mDeviceContext.Get(), mIndexBuffer.Get(), mCurrentIndex, &mBaseIndex, &mMappedIndices);
}
LockBuffer(mDeviceContext.Get(), mVertexBuffer.Get(), mCurrentVertex, &mBaseVertex, &mMappedVertices);
mCurrentTopology = topology;
mCurrentlyIndexed = isIndexed;
}
// Copy over the index data.
if (isIndexed)
{
auto outputIndices = reinterpret_cast<uint16_t*>(mMappedIndices.pData) + mCurrentIndex;
for (size_t i = 0; i < indexCount; i++)
{
outputIndices[i] = (uint16_t)(indices[i] + mCurrentVertex - mBaseVertex);
}
mCurrentIndex += indexCount;
}
// Return the output vertex data location.
*pMappedVertices = reinterpret_cast<uint8_t*>(mMappedVertices.pData) + (mCurrentVertex * mVertexSize);
mCurrentVertex += vertexCount;
#endif
}
// Sends queued primitives to the graphics device.
void PrimitiveBatchBase::Impl::FlushBatch()
{
// Early out if there is nothing to flush.
if (mCurrentTopology == D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED)
return;
mDeviceContext->IASetPrimitiveTopology(mCurrentTopology);
#if defined(_XBOX_ONE) && defined(_TITLE)
if (mCurrentlyIndexed)
{
// Draw indexed geometry.
mDeviceContext->IASetPlacementIndexBuffer(mIndexBuffer.Get(), grfxMemoryIB, DXGI_FORMAT_R16_UINT);
mDeviceContext->IASetPlacementVertexBuffer(0, mVertexBuffer.Get(), grfxMemoryVB, (UINT)mVertexSize);
mDeviceContext->DrawIndexed((UINT)mCurrentIndex, 0, 0);
}
else
{
// Draw non-indexed geometry.
mDeviceContext->IASetPlacementVertexBuffer(0, mVertexBuffer.Get(), grfxMemoryVB, (UINT)mVertexSize);
mDeviceContext->Draw((UINT)mCurrentVertex, 0);
}
grfxMemoryIB = grfxMemoryVB = nullptr;
#else
mDeviceContext->Unmap(mVertexBuffer.Get(), 0);
if (mCurrentlyIndexed)
{
// Draw indexed geometry.
mDeviceContext->Unmap(mIndexBuffer.Get(), 0);
mDeviceContext->DrawIndexed((UINT)(mCurrentIndex - mBaseIndex), (UINT)mBaseIndex, (UINT)mBaseVertex);
}
else
{
// Draw non-indexed geometry.
mDeviceContext->Draw((UINT)(mCurrentVertex - mBaseVertex), (UINT)mBaseVertex);
}
#endif
mCurrentTopology = D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED;
}
// Public constructor.
PrimitiveBatchBase::PrimitiveBatchBase(_In_ ID3D11DeviceContext* deviceContext, size_t maxIndices, size_t maxVertices, size_t vertexSize)
: pImpl(new Impl(deviceContext, maxIndices, maxVertices, vertexSize))
{
}
// Move constructor.
PrimitiveBatchBase::PrimitiveBatchBase(PrimitiveBatchBase&& moveFrom)
: pImpl(std::move(moveFrom.pImpl))
{
}
// Move assignment.
PrimitiveBatchBase& PrimitiveBatchBase::operator= (PrimitiveBatchBase&& moveFrom)
{
pImpl = std::move(moveFrom.pImpl);
return *this;
}
// Public destructor.
PrimitiveBatchBase::~PrimitiveBatchBase()
{
}
void PrimitiveBatchBase::Begin()
{
pImpl->Begin();
}
void PrimitiveBatchBase::End()
{
pImpl->End();
}
_Use_decl_annotations_
void PrimitiveBatchBase::Draw(D3D11_PRIMITIVE_TOPOLOGY topology, bool isIndexed, uint16_t const* indices, size_t indexCount, size_t vertexCount, void** pMappedVertices)
{
pImpl->Draw(topology, isIndexed, indices, indexCount, vertexCount, pMappedVertices);
}

Просмотреть файл

@ -1,340 +1,340 @@
//--------------------------------------------------------------------------------------
// File: SDKMesh.h
//
// SDKMESH format is generated by the legacy DirectX SDK's Content Exporter and
// originally rendered by the DXUT helper class SDKMesh
//
// http://go.microsoft.com/fwlink/?LinkId=226208
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#pragma once
namespace DXUT
{
// .SDKMESH files
// SDKMESH_HEADER
// SDKMESH_VERTEX_BUFFER_HEADER header->VertexStreamHeadersOffset
// SDKMESH_INDEX_BUFFER_HEADER header->IndexStreamHeadersOffset
// SDKMESH_MESH header->MeshDataOffset
// SDKMESH_SUBSET header->SubsetDataOffset
// SDKMESH_FRAME header->FrameDataOffset
// SDKMESH_MATERIAL header->MaterialDataOffset
// [header->NonBufferDataSize]
// { [ header->NumVertexBuffers]
// VB data
// }
// { [ header->NumIndexBuffers]
// IB data
// }
// .SDDKANIM files
// SDKANIMATION_FILE_HEADER
// uint8_t[] - Length of fileheader->AnimationDataSize
// .SDKMESH uses Direct3D 9 decls, but only a subset of these is ever generated by the legacy DirectX SDK Content Exporter
// D3DDECLUSAGE_POSITION / D3DDECLTYPE_FLOAT3
// (D3DDECLUSAGE_BLENDWEIGHT / D3DDECLTYPE_UBYTE4N
// D3DDECLUSAGE_BLENDINDICES / D3DDECLTYPE_UBYTE4)?
// (D3DDECLUSAGE_NORMAL / D3DDECLTYPE_FLOAT3, D3DDECLTYPE_FLOAT16_4, D3DDECLTYPE_SHORT4N, D3DDECLTYPE_UBYTE4N, or D3DDECLTYPE_DEC3N [not supported])?
// (D3DDECLUSAGE_COLOR / D3DDECLTYPE_D3DCOLOR)?
// (D3DDECLUSAGE_TEXCOORD / D3DDECLTYPE_FLOAT1, D3DDECLTYPE_FLOAT2 or D3DDECLTYPE_FLOAT16_2, D3DDECLTYPE_FLOAT3 or D3DDECLTYPE_FLOAT16_4, D3DDECLTYPE_FLOAT4 or D3DDECLTYPE_FLOAT16_4)*
// (D3DDECLUSAGE_TANGENT / same as D3DDECLUSAGE_NORMAL)?
// (D3DDECLUSAGE_BINORMAL / same as D3DDECLUSAGE_NORMAL)?
enum D3DDECLUSAGE
{
D3DDECLUSAGE_POSITION = 0,
D3DDECLUSAGE_BLENDWEIGHT =1,
D3DDECLUSAGE_BLENDINDICES =2,
D3DDECLUSAGE_NORMAL =3,
D3DDECLUSAGE_TEXCOORD = 5,
D3DDECLUSAGE_TANGENT = 6,
D3DDECLUSAGE_BINORMAL = 7,
D3DDECLUSAGE_COLOR = 10,
};
enum D3DDECLTYPE
{
D3DDECLTYPE_FLOAT1 = 0, // 1D float expanded to (value, 0., 0., 1.)
D3DDECLTYPE_FLOAT2 = 1, // 2D float expanded to (value, value, 0., 1.)
D3DDECLTYPE_FLOAT3 = 2, // 3D float expanded to (value, value, value, 1.)
D3DDECLTYPE_FLOAT4 = 3, // 4D float
D3DDECLTYPE_D3DCOLOR = 4, // 4D packed unsigned bytes mapped to 0. to 1. range
// Input is in D3DCOLOR format (ARGB) expanded to (R, G, B, A)
D3DDECLTYPE_UBYTE4 = 5, // 4D unsigned uint8_t
D3DDECLTYPE_UBYTE4N = 8, // Each of 4 bytes is normalized by dividing to 255.0
D3DDECLTYPE_SHORT4N = 10, // 4D signed short normalized (v[0]/32767.0,v[1]/32767.0,v[2]/32767.0,v[3]/32767.0)
// Note: There is no equivalent to D3DDECLTYPE_DEC3N (14) as a DXGI_FORMAT
D3DDECLTYPE_FLOAT16_2 = 15, // Two 16-bit floating point values, expanded to (value, value, 0, 1)
D3DDECLTYPE_FLOAT16_4 = 16, // Four 16-bit floating point values
D3DDECLTYPE_UNUSED = 17, // When the type field in a decl is unused.
};
#pragma pack(push,4)
struct D3DVERTEXELEMENT9
{
uint16_t Stream; // Stream index
uint16_t Offset; // Offset in the stream in bytes
uint8_t Type; // Data type
uint8_t Method; // Processing method
uint8_t Usage; // Semantics
uint8_t UsageIndex; // Semantic index
};
#pragma pack(pop)
//--------------------------------------------------------------------------------------
// Hard Defines for the various structures
//--------------------------------------------------------------------------------------
const uint32_t SDKMESH_FILE_VERSION = 101;
const uint32_t MAX_VERTEX_ELEMENTS = 32;
const uint32_t MAX_VERTEX_STREAMS = 16;
const uint32_t MAX_FRAME_NAME = 100;
const uint32_t MAX_MESH_NAME = 100;
const uint32_t MAX_SUBSET_NAME = 100;
const uint32_t MAX_MATERIAL_NAME = 100;
const uint32_t MAX_TEXTURE_NAME = MAX_PATH;
const uint32_t MAX_MATERIAL_PATH = MAX_PATH;
const uint32_t INVALID_FRAME = uint32_t(-1);
const uint32_t INVALID_MESH = uint32_t(-1);
const uint32_t INVALID_MATERIAL = uint32_t(-1);
const uint32_t INVALID_SUBSET = uint32_t(-1);
const uint32_t INVALID_ANIMATION_DATA = uint32_t(-1);
const uint32_t INVALID_SAMPLER_SLOT = uint32_t(-1);
const uint32_t ERROR_RESOURCE_VALUE = 1;
//--------------------------------------------------------------------------------------
// Enumerated Types.
//--------------------------------------------------------------------------------------
enum SDKMESH_PRIMITIVE_TYPE
{
PT_TRIANGLE_LIST = 0,
PT_TRIANGLE_STRIP,
PT_LINE_LIST,
PT_LINE_STRIP,
PT_POINT_LIST,
PT_TRIANGLE_LIST_ADJ,
PT_TRIANGLE_STRIP_ADJ,
PT_LINE_LIST_ADJ,
PT_LINE_STRIP_ADJ,
PT_QUAD_PATCH_LIST,
PT_TRIANGLE_PATCH_LIST,
};
enum SDKMESH_INDEX_TYPE
{
IT_16BIT = 0,
IT_32BIT,
};
enum FRAME_TRANSFORM_TYPE
{
FTT_RELATIVE = 0,
FTT_ABSOLUTE, //This is not currently used but is here to support absolute transformations in the future
};
//--------------------------------------------------------------------------------------
// Structures.
//--------------------------------------------------------------------------------------
#pragma pack(push,8)
struct SDKMESH_HEADER
{
//Basic Info and sizes
uint32_t Version;
uint8_t IsBigEndian;
uint64_t HeaderSize;
uint64_t NonBufferDataSize;
uint64_t BufferDataSize;
//Stats
uint32_t NumVertexBuffers;
uint32_t NumIndexBuffers;
uint32_t NumMeshes;
uint32_t NumTotalSubsets;
uint32_t NumFrames;
uint32_t NumMaterials;
//Offsets to Data
uint64_t VertexStreamHeadersOffset;
uint64_t IndexStreamHeadersOffset;
uint64_t MeshDataOffset;
uint64_t SubsetDataOffset;
uint64_t FrameDataOffset;
uint64_t MaterialDataOffset;
};
struct SDKMESH_VERTEX_BUFFER_HEADER
{
uint64_t NumVertices;
uint64_t SizeBytes;
uint64_t StrideBytes;
D3DVERTEXELEMENT9 Decl[MAX_VERTEX_ELEMENTS];
union
{
uint64_t DataOffset;
};
};
struct SDKMESH_INDEX_BUFFER_HEADER
{
uint64_t NumIndices;
uint64_t SizeBytes;
uint32_t IndexType;
union
{
uint64_t DataOffset;
};
};
struct SDKMESH_MESH
{
char Name[MAX_MESH_NAME];
uint8_t NumVertexBuffers;
uint32_t VertexBuffers[MAX_VERTEX_STREAMS];
uint32_t IndexBuffer;
uint32_t NumSubsets;
uint32_t NumFrameInfluences; //aka bones
DirectX::XMFLOAT3 BoundingBoxCenter;
DirectX::XMFLOAT3 BoundingBoxExtents;
union
{
uint64_t SubsetOffset;
INT* pSubsets;
};
union
{
uint64_t FrameInfluenceOffset;
uint32_t* pFrameInfluences;
};
};
struct SDKMESH_SUBSET
{
char Name[MAX_SUBSET_NAME];
uint32_t MaterialID;
uint32_t PrimitiveType;
uint64_t IndexStart;
uint64_t IndexCount;
uint64_t VertexStart;
uint64_t VertexCount;
};
struct SDKMESH_FRAME
{
char Name[MAX_FRAME_NAME];
uint32_t Mesh;
uint32_t ParentFrame;
uint32_t ChildFrame;
uint32_t SiblingFrame;
DirectX::XMFLOAT4X4 Matrix;
uint32_t AnimationDataIndex; //Used to index which set of keyframes transforms this frame
};
struct SDKMESH_MATERIAL
{
char Name[MAX_MATERIAL_NAME];
// Use MaterialInstancePath
char MaterialInstancePath[MAX_MATERIAL_PATH];
// Or fall back to d3d8-type materials
char DiffuseTexture[MAX_TEXTURE_NAME];
char NormalTexture[MAX_TEXTURE_NAME];
char SpecularTexture[MAX_TEXTURE_NAME];
DirectX::XMFLOAT4 Diffuse;
DirectX::XMFLOAT4 Ambient;
DirectX::XMFLOAT4 Specular;
DirectX::XMFLOAT4 Emissive;
float Power;
union
{
uint64_t Force64_1; //Force the union to 64bits
};
union
{
uint64_t Force64_2; //Force the union to 64bits
};
union
{
uint64_t Force64_3; //Force the union to 64bits
};
union
{
uint64_t Force64_4; //Force the union to 64bits
};
union
{
uint64_t Force64_5; //Force the union to 64bits
};
union
{
uint64_t Force64_6; //Force the union to 64bits
};
};
struct SDKANIMATION_FILE_HEADER
{
uint32_t Version;
uint8_t IsBigEndian;
uint32_t FrameTransformType;
uint32_t NumFrames;
uint32_t NumAnimationKeys;
uint32_t AnimationFPS;
uint64_t AnimationDataSize;
uint64_t AnimationDataOffset;
};
struct SDKANIMATION_DATA
{
DirectX::XMFLOAT3 Translation;
DirectX::XMFLOAT4 Orientation;
DirectX::XMFLOAT3 Scaling;
};
struct SDKANIMATION_FRAME_DATA
{
char FrameName[MAX_FRAME_NAME];
union
{
uint64_t DataOffset;
SDKANIMATION_DATA* pAnimationData;
};
};
#pragma pack(pop)
} // namespace
static_assert( sizeof(DXUT::D3DVERTEXELEMENT9) == 8, "Direct3D9 Decl structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_HEADER)== 104, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_VERTEX_BUFFER_HEADER) == 288, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_INDEX_BUFFER_HEADER) == 32, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_MESH) == 224, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_SUBSET) == 144, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_FRAME) == 184, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_MATERIAL) == 1256, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKANIMATION_FILE_HEADER) == 40, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKANIMATION_DATA) == 40, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKANIMATION_FRAME_DATA) == 112, "SDK Mesh structure size incorrect" );
//--------------------------------------------------------------------------------------
// File: SDKMesh.h
//
// SDKMESH format is generated by the legacy DirectX SDK's Content Exporter and
// originally rendered by the DXUT helper class SDKMesh
//
// http://go.microsoft.com/fwlink/?LinkId=226208
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#pragma once
namespace DXUT
{
// .SDKMESH files
// SDKMESH_HEADER
// SDKMESH_VERTEX_BUFFER_HEADER header->VertexStreamHeadersOffset
// SDKMESH_INDEX_BUFFER_HEADER header->IndexStreamHeadersOffset
// SDKMESH_MESH header->MeshDataOffset
// SDKMESH_SUBSET header->SubsetDataOffset
// SDKMESH_FRAME header->FrameDataOffset
// SDKMESH_MATERIAL header->MaterialDataOffset
// [header->NonBufferDataSize]
// { [ header->NumVertexBuffers]
// VB data
// }
// { [ header->NumIndexBuffers]
// IB data
// }
// .SDDKANIM files
// SDKANIMATION_FILE_HEADER
// uint8_t[] - Length of fileheader->AnimationDataSize
// .SDKMESH uses Direct3D 9 decls, but only a subset of these is ever generated by the legacy DirectX SDK Content Exporter
// D3DDECLUSAGE_POSITION / D3DDECLTYPE_FLOAT3
// (D3DDECLUSAGE_BLENDWEIGHT / D3DDECLTYPE_UBYTE4N
// D3DDECLUSAGE_BLENDINDICES / D3DDECLTYPE_UBYTE4)?
// (D3DDECLUSAGE_NORMAL / D3DDECLTYPE_FLOAT3, D3DDECLTYPE_FLOAT16_4, D3DDECLTYPE_SHORT4N, D3DDECLTYPE_UBYTE4N, or D3DDECLTYPE_DEC3N [not supported])?
// (D3DDECLUSAGE_COLOR / D3DDECLTYPE_D3DCOLOR)?
// (D3DDECLUSAGE_TEXCOORD / D3DDECLTYPE_FLOAT1, D3DDECLTYPE_FLOAT2 or D3DDECLTYPE_FLOAT16_2, D3DDECLTYPE_FLOAT3 or D3DDECLTYPE_FLOAT16_4, D3DDECLTYPE_FLOAT4 or D3DDECLTYPE_FLOAT16_4)*
// (D3DDECLUSAGE_TANGENT / same as D3DDECLUSAGE_NORMAL)?
// (D3DDECLUSAGE_BINORMAL / same as D3DDECLUSAGE_NORMAL)?
enum D3DDECLUSAGE
{
D3DDECLUSAGE_POSITION = 0,
D3DDECLUSAGE_BLENDWEIGHT =1,
D3DDECLUSAGE_BLENDINDICES =2,
D3DDECLUSAGE_NORMAL =3,
D3DDECLUSAGE_TEXCOORD = 5,
D3DDECLUSAGE_TANGENT = 6,
D3DDECLUSAGE_BINORMAL = 7,
D3DDECLUSAGE_COLOR = 10,
};
enum D3DDECLTYPE
{
D3DDECLTYPE_FLOAT1 = 0, // 1D float expanded to (value, 0., 0., 1.)
D3DDECLTYPE_FLOAT2 = 1, // 2D float expanded to (value, value, 0., 1.)
D3DDECLTYPE_FLOAT3 = 2, // 3D float expanded to (value, value, value, 1.)
D3DDECLTYPE_FLOAT4 = 3, // 4D float
D3DDECLTYPE_D3DCOLOR = 4, // 4D packed unsigned bytes mapped to 0. to 1. range
// Input is in D3DCOLOR format (ARGB) expanded to (R, G, B, A)
D3DDECLTYPE_UBYTE4 = 5, // 4D unsigned uint8_t
D3DDECLTYPE_UBYTE4N = 8, // Each of 4 bytes is normalized by dividing to 255.0
D3DDECLTYPE_SHORT4N = 10, // 4D signed short normalized (v[0]/32767.0,v[1]/32767.0,v[2]/32767.0,v[3]/32767.0)
// Note: There is no equivalent to D3DDECLTYPE_DEC3N (14) as a DXGI_FORMAT
D3DDECLTYPE_FLOAT16_2 = 15, // Two 16-bit floating point values, expanded to (value, value, 0, 1)
D3DDECLTYPE_FLOAT16_4 = 16, // Four 16-bit floating point values
D3DDECLTYPE_UNUSED = 17, // When the type field in a decl is unused.
};
#pragma pack(push,4)
struct D3DVERTEXELEMENT9
{
uint16_t Stream; // Stream index
uint16_t Offset; // Offset in the stream in bytes
uint8_t Type; // Data type
uint8_t Method; // Processing method
uint8_t Usage; // Semantics
uint8_t UsageIndex; // Semantic index
};
#pragma pack(pop)
//--------------------------------------------------------------------------------------
// Hard Defines for the various structures
//--------------------------------------------------------------------------------------
const uint32_t SDKMESH_FILE_VERSION = 101;
const uint32_t MAX_VERTEX_ELEMENTS = 32;
const uint32_t MAX_VERTEX_STREAMS = 16;
const uint32_t MAX_FRAME_NAME = 100;
const uint32_t MAX_MESH_NAME = 100;
const uint32_t MAX_SUBSET_NAME = 100;
const uint32_t MAX_MATERIAL_NAME = 100;
const uint32_t MAX_TEXTURE_NAME = MAX_PATH;
const uint32_t MAX_MATERIAL_PATH = MAX_PATH;
const uint32_t INVALID_FRAME = uint32_t(-1);
const uint32_t INVALID_MESH = uint32_t(-1);
const uint32_t INVALID_MATERIAL = uint32_t(-1);
const uint32_t INVALID_SUBSET = uint32_t(-1);
const uint32_t INVALID_ANIMATION_DATA = uint32_t(-1);
const uint32_t INVALID_SAMPLER_SLOT = uint32_t(-1);
const uint32_t ERROR_RESOURCE_VALUE = 1;
//--------------------------------------------------------------------------------------
// Enumerated Types.
//--------------------------------------------------------------------------------------
enum SDKMESH_PRIMITIVE_TYPE
{
PT_TRIANGLE_LIST = 0,
PT_TRIANGLE_STRIP,
PT_LINE_LIST,
PT_LINE_STRIP,
PT_POINT_LIST,
PT_TRIANGLE_LIST_ADJ,
PT_TRIANGLE_STRIP_ADJ,
PT_LINE_LIST_ADJ,
PT_LINE_STRIP_ADJ,
PT_QUAD_PATCH_LIST,
PT_TRIANGLE_PATCH_LIST,
};
enum SDKMESH_INDEX_TYPE
{
IT_16BIT = 0,
IT_32BIT,
};
enum FRAME_TRANSFORM_TYPE
{
FTT_RELATIVE = 0,
FTT_ABSOLUTE, //This is not currently used but is here to support absolute transformations in the future
};
//--------------------------------------------------------------------------------------
// Structures.
//--------------------------------------------------------------------------------------
#pragma pack(push,8)
struct SDKMESH_HEADER
{
//Basic Info and sizes
uint32_t Version;
uint8_t IsBigEndian;
uint64_t HeaderSize;
uint64_t NonBufferDataSize;
uint64_t BufferDataSize;
//Stats
uint32_t NumVertexBuffers;
uint32_t NumIndexBuffers;
uint32_t NumMeshes;
uint32_t NumTotalSubsets;
uint32_t NumFrames;
uint32_t NumMaterials;
//Offsets to Data
uint64_t VertexStreamHeadersOffset;
uint64_t IndexStreamHeadersOffset;
uint64_t MeshDataOffset;
uint64_t SubsetDataOffset;
uint64_t FrameDataOffset;
uint64_t MaterialDataOffset;
};
struct SDKMESH_VERTEX_BUFFER_HEADER
{
uint64_t NumVertices;
uint64_t SizeBytes;
uint64_t StrideBytes;
D3DVERTEXELEMENT9 Decl[MAX_VERTEX_ELEMENTS];
union
{
uint64_t DataOffset;
};
};
struct SDKMESH_INDEX_BUFFER_HEADER
{
uint64_t NumIndices;
uint64_t SizeBytes;
uint32_t IndexType;
union
{
uint64_t DataOffset;
};
};
struct SDKMESH_MESH
{
char Name[MAX_MESH_NAME];
uint8_t NumVertexBuffers;
uint32_t VertexBuffers[MAX_VERTEX_STREAMS];
uint32_t IndexBuffer;
uint32_t NumSubsets;
uint32_t NumFrameInfluences; //aka bones
DirectX::XMFLOAT3 BoundingBoxCenter;
DirectX::XMFLOAT3 BoundingBoxExtents;
union
{
uint64_t SubsetOffset;
INT* pSubsets;
};
union
{
uint64_t FrameInfluenceOffset;
uint32_t* pFrameInfluences;
};
};
struct SDKMESH_SUBSET
{
char Name[MAX_SUBSET_NAME];
uint32_t MaterialID;
uint32_t PrimitiveType;
uint64_t IndexStart;
uint64_t IndexCount;
uint64_t VertexStart;
uint64_t VertexCount;
};
struct SDKMESH_FRAME
{
char Name[MAX_FRAME_NAME];
uint32_t Mesh;
uint32_t ParentFrame;
uint32_t ChildFrame;
uint32_t SiblingFrame;
DirectX::XMFLOAT4X4 Matrix;
uint32_t AnimationDataIndex; //Used to index which set of keyframes transforms this frame
};
struct SDKMESH_MATERIAL
{
char Name[MAX_MATERIAL_NAME];
// Use MaterialInstancePath
char MaterialInstancePath[MAX_MATERIAL_PATH];
// Or fall back to d3d8-type materials
char DiffuseTexture[MAX_TEXTURE_NAME];
char NormalTexture[MAX_TEXTURE_NAME];
char SpecularTexture[MAX_TEXTURE_NAME];
DirectX::XMFLOAT4 Diffuse;
DirectX::XMFLOAT4 Ambient;
DirectX::XMFLOAT4 Specular;
DirectX::XMFLOAT4 Emissive;
float Power;
union
{
uint64_t Force64_1; //Force the union to 64bits
};
union
{
uint64_t Force64_2; //Force the union to 64bits
};
union
{
uint64_t Force64_3; //Force the union to 64bits
};
union
{
uint64_t Force64_4; //Force the union to 64bits
};
union
{
uint64_t Force64_5; //Force the union to 64bits
};
union
{
uint64_t Force64_6; //Force the union to 64bits
};
};
struct SDKANIMATION_FILE_HEADER
{
uint32_t Version;
uint8_t IsBigEndian;
uint32_t FrameTransformType;
uint32_t NumFrames;
uint32_t NumAnimationKeys;
uint32_t AnimationFPS;
uint64_t AnimationDataSize;
uint64_t AnimationDataOffset;
};
struct SDKANIMATION_DATA
{
DirectX::XMFLOAT3 Translation;
DirectX::XMFLOAT4 Orientation;
DirectX::XMFLOAT3 Scaling;
};
struct SDKANIMATION_FRAME_DATA
{
char FrameName[MAX_FRAME_NAME];
union
{
uint64_t DataOffset;
SDKANIMATION_DATA* pAnimationData;
};
};
#pragma pack(pop)
} // namespace
static_assert( sizeof(DXUT::D3DVERTEXELEMENT9) == 8, "Direct3D9 Decl structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_HEADER)== 104, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_VERTEX_BUFFER_HEADER) == 288, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_INDEX_BUFFER_HEADER) == 32, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_MESH) == 224, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_SUBSET) == 144, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_FRAME) == 184, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKMESH_MATERIAL) == 1256, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKANIMATION_FILE_HEADER) == 40, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKANIMATION_DATA) == 40, "SDK Mesh structure size incorrect" );
static_assert( sizeof(DXUT::SDKANIMATION_FRAME_DATA) == 112, "SDK Mesh structure size incorrect" );

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,133 +1,133 @@
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
// http://create.msdn.com/en-US/education/catalog/sample/stock_effects
Texture2D<float4> Texture : register(t0);
sampler Sampler : register(s0);
cbuffer Parameters : register(b0)
{
float4 DiffuseColor : packoffset(c0);
float4 AlphaTest : packoffset(c1);
float3 FogColor : packoffset(c2);
float4 FogVector : packoffset(c3);
float4x4 WorldViewProj : packoffset(c4);
};
#include "Structures.fxh"
#include "Common.fxh"
// Vertex shader: basic.
VSOutputTx VSAlphaTest(VSInputTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: no fog.
VSOutputTxNoFog VSAlphaTestNoFog(VSInputTx vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: vertex color.
VSOutputTx VSAlphaTestVc(VSInputTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex color, no fog.
VSOutputTxNoFog VSAlphaTestVcNoFog(VSInputTxVc vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Pixel shader: less/greater compare function.
float4 PSAlphaTestLtGt(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((color.a < AlphaTest.x) ? AlphaTest.z : AlphaTest.w);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: less/greater compare function, no fog.
float4 PSAlphaTestLtGtNoFog(PSInputTxNoFog pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((color.a < AlphaTest.x) ? AlphaTest.z : AlphaTest.w);
return color;
}
// Pixel shader: equal/notequal compare function.
float4 PSAlphaTestEqNe(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((abs(color.a - AlphaTest.x) < AlphaTest.y) ? AlphaTest.z : AlphaTest.w);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: equal/notequal compare function, no fog.
float4 PSAlphaTestEqNeNoFog(PSInputTxNoFog pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((abs(color.a - AlphaTest.x) < AlphaTest.y) ? AlphaTest.z : AlphaTest.w);
return color;
}
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
// http://create.msdn.com/en-US/education/catalog/sample/stock_effects
Texture2D<float4> Texture : register(t0);
sampler Sampler : register(s0);
cbuffer Parameters : register(b0)
{
float4 DiffuseColor : packoffset(c0);
float4 AlphaTest : packoffset(c1);
float3 FogColor : packoffset(c2);
float4 FogVector : packoffset(c3);
float4x4 WorldViewProj : packoffset(c4);
};
#include "Structures.fxh"
#include "Common.fxh"
// Vertex shader: basic.
VSOutputTx VSAlphaTest(VSInputTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: no fog.
VSOutputTxNoFog VSAlphaTestNoFog(VSInputTx vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: vertex color.
VSOutputTx VSAlphaTestVc(VSInputTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex color, no fog.
VSOutputTxNoFog VSAlphaTestVcNoFog(VSInputTxVc vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Pixel shader: less/greater compare function.
float4 PSAlphaTestLtGt(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((color.a < AlphaTest.x) ? AlphaTest.z : AlphaTest.w);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: less/greater compare function, no fog.
float4 PSAlphaTestLtGtNoFog(PSInputTxNoFog pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((color.a < AlphaTest.x) ? AlphaTest.z : AlphaTest.w);
return color;
}
// Pixel shader: equal/notequal compare function.
float4 PSAlphaTestEqNe(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((abs(color.a - AlphaTest.x) < AlphaTest.y) ? AlphaTest.z : AlphaTest.w);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: equal/notequal compare function, no fog.
float4 PSAlphaTestEqNeNoFog(PSInputTxNoFog pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
clip((abs(color.a - AlphaTest.x) < AlphaTest.y) ? AlphaTest.z : AlphaTest.w);
return color;
}

Просмотреть файл

@ -1,440 +1,440 @@
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
// http://create.msdn.com/en-US/education/catalog/sample/stock_effects
Texture2D<float4> Texture : register(t0);
sampler Sampler : register(s0);
cbuffer Parameters : register(b0)
{
float4 DiffuseColor : packoffset(c0);
float3 EmissiveColor : packoffset(c1);
float3 SpecularColor : packoffset(c2);
float SpecularPower : packoffset(c2.w);
float3 LightDirection[3] : packoffset(c3);
float3 LightDiffuseColor[3] : packoffset(c6);
float3 LightSpecularColor[3] : packoffset(c9);
float3 EyePosition : packoffset(c12);
float3 FogColor : packoffset(c13);
float4 FogVector : packoffset(c14);
float4x4 World : packoffset(c15);
float3x3 WorldInverseTranspose : packoffset(c19);
float4x4 WorldViewProj : packoffset(c22);
};
#include "Structures.fxh"
#include "Common.fxh"
#include "Lighting.fxh"
// Vertex shader: basic.
VSOutput VSBasic(VSInput vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
return vout;
}
// Vertex shader: no fog.
VSOutputNoFog VSBasicNoFog(VSInput vin)
{
VSOutputNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
return vout;
}
// Vertex shader: vertex color.
VSOutput VSBasicVc(VSInputVc vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex color, no fog.
VSOutputNoFog VSBasicVcNoFog(VSInputVc vin)
{
VSOutputNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: texture.
VSOutputTx VSBasicTx(VSInputTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: texture, no fog.
VSOutputTxNoFog VSBasicTxNoFog(VSInputTx vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: texture + vertex color.
VSOutputTx VSBasicTxVc(VSInputTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: texture + vertex color, no fog.
VSOutputTxNoFog VSBasicTxVcNoFog(VSInputTxVc vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex lighting.
VSOutput VSBasicVertexLighting(VSInputNm vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
return vout;
}
// Vertex shader: vertex lighting + vertex color.
VSOutput VSBasicVertexLightingVc(VSInputNmVc vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex lighting + texture.
VSOutputTx VSBasicVertexLightingTx(VSInputNmTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: vertex lighting + texture + vertex color.
VSOutputTx VSBasicVertexLightingTxVc(VSInputNmTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: one light.
VSOutput VSBasicOneLight(VSInputNm vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
return vout;
}
// Vertex shader: one light + vertex color.
VSOutput VSBasicOneLightVc(VSInputNmVc vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: one light + texture.
VSOutputTx VSBasicOneLightTx(VSInputNmTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: one light + texture + vertex color.
VSOutputTx VSBasicOneLightTxVc(VSInputNmTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: pixel lighting.
VSOutputPixelLighting VSBasicPixelLighting(VSInputNm vin)
{
VSOutputPixelLighting vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse = float4(1, 1, 1, DiffuseColor.a);
return vout;
}
// Vertex shader: pixel lighting + vertex color.
VSOutputPixelLighting VSBasicPixelLightingVc(VSInputNmVc vin)
{
VSOutputPixelLighting vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse.rgb = vin.Color.rgb;
vout.Diffuse.a = vin.Color.a * DiffuseColor.a;
return vout;
}
// Vertex shader: pixel lighting + texture.
VSOutputPixelLightingTx VSBasicPixelLightingTx(VSInputNmTx vin)
{
VSOutputPixelLightingTx vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse = float4(1, 1, 1, DiffuseColor.a);
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: pixel lighting + texture + vertex color.
VSOutputPixelLightingTx VSBasicPixelLightingTxVc(VSInputNmTxVc vin)
{
VSOutputPixelLightingTx vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse.rgb = vin.Color.rgb;
vout.Diffuse.a = vin.Color.a * DiffuseColor.a;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Pixel shader: basic.
float4 PSBasic(PSInput pin) : SV_Target0
{
float4 color = pin.Diffuse;
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: no fog.
float4 PSBasicNoFog(PSInputNoFog pin) : SV_Target0
{
return pin.Diffuse;
}
// Pixel shader: texture.
float4 PSBasicTx(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: texture, no fog.
float4 PSBasicTxNoFog(PSInputTxNoFog pin) : SV_Target0
{
return Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
}
// Pixel shader: vertex lighting.
float4 PSBasicVertexLighting(PSInput pin) : SV_Target0
{
float4 color = pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: vertex lighting, no fog.
float4 PSBasicVertexLightingNoFog(PSInput pin) : SV_Target0
{
float4 color = pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
return color;
}
// Pixel shader: vertex lighting + texture.
float4 PSBasicVertexLightingTx(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: vertex lighting + texture, no fog.
float4 PSBasicVertexLightingTxNoFog(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
return color;
}
// Pixel shader: pixel lighting.
float4 PSBasicPixelLighting(PSInputPixelLighting pin) : SV_Target0
{
float4 color = pin.Diffuse;
float3 eyeVector = normalize(EyePosition - pin.PositionWS.xyz);
float3 worldNormal = normalize(pin.NormalWS);
ColorPair lightResult = ComputeLights(eyeVector, worldNormal, 3);
color.rgb *= lightResult.Diffuse;
AddSpecular(color, lightResult.Specular);
ApplyFog(color, pin.PositionWS.w);
return color;
}
// Pixel shader: pixel lighting + texture.
float4 PSBasicPixelLightingTx(PSInputPixelLightingTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
float3 eyeVector = normalize(EyePosition - pin.PositionWS.xyz);
float3 worldNormal = normalize(pin.NormalWS);
ColorPair lightResult = ComputeLights(eyeVector, worldNormal, 3);
color.rgb *= lightResult.Diffuse;
AddSpecular(color, lightResult.Specular);
ApplyFog(color, pin.PositionWS.w);
return color;
}
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
// http://create.msdn.com/en-US/education/catalog/sample/stock_effects
Texture2D<float4> Texture : register(t0);
sampler Sampler : register(s0);
cbuffer Parameters : register(b0)
{
float4 DiffuseColor : packoffset(c0);
float3 EmissiveColor : packoffset(c1);
float3 SpecularColor : packoffset(c2);
float SpecularPower : packoffset(c2.w);
float3 LightDirection[3] : packoffset(c3);
float3 LightDiffuseColor[3] : packoffset(c6);
float3 LightSpecularColor[3] : packoffset(c9);
float3 EyePosition : packoffset(c12);
float3 FogColor : packoffset(c13);
float4 FogVector : packoffset(c14);
float4x4 World : packoffset(c15);
float3x3 WorldInverseTranspose : packoffset(c19);
float4x4 WorldViewProj : packoffset(c22);
};
#include "Structures.fxh"
#include "Common.fxh"
#include "Lighting.fxh"
// Vertex shader: basic.
VSOutput VSBasic(VSInput vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
return vout;
}
// Vertex shader: no fog.
VSOutputNoFog VSBasicNoFog(VSInput vin)
{
VSOutputNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
return vout;
}
// Vertex shader: vertex color.
VSOutput VSBasicVc(VSInputVc vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex color, no fog.
VSOutputNoFog VSBasicVcNoFog(VSInputVc vin)
{
VSOutputNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: texture.
VSOutputTx VSBasicTx(VSInputTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: texture, no fog.
VSOutputTxNoFog VSBasicTxNoFog(VSInputTx vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: texture + vertex color.
VSOutputTx VSBasicTxVc(VSInputTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: texture + vertex color, no fog.
VSOutputTxNoFog VSBasicTxVcNoFog(VSInputTxVc vin)
{
VSOutputTxNoFog vout;
CommonVSOutput cout = ComputeCommonVSOutput(vin.Position);
SetCommonVSOutputParamsNoFog;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex lighting.
VSOutput VSBasicVertexLighting(VSInputNm vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
return vout;
}
// Vertex shader: vertex lighting + vertex color.
VSOutput VSBasicVertexLightingVc(VSInputNmVc vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: vertex lighting + texture.
VSOutputTx VSBasicVertexLightingTx(VSInputNmTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: vertex lighting + texture + vertex color.
VSOutputTx VSBasicVertexLightingTxVc(VSInputNmTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 3);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: one light.
VSOutput VSBasicOneLight(VSInputNm vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
return vout;
}
// Vertex shader: one light + vertex color.
VSOutput VSBasicOneLightVc(VSInputNmVc vin)
{
VSOutput vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: one light + texture.
VSOutputTx VSBasicOneLightTx(VSInputNmTx vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: one light + texture + vertex color.
VSOutputTx VSBasicOneLightTxVc(VSInputNmTxVc vin)
{
VSOutputTx vout;
CommonVSOutput cout = ComputeCommonVSOutputWithLighting(vin.Position, vin.Normal, 1);
SetCommonVSOutputParams;
vout.TexCoord = vin.TexCoord;
vout.Diffuse *= vin.Color;
return vout;
}
// Vertex shader: pixel lighting.
VSOutputPixelLighting VSBasicPixelLighting(VSInputNm vin)
{
VSOutputPixelLighting vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse = float4(1, 1, 1, DiffuseColor.a);
return vout;
}
// Vertex shader: pixel lighting + vertex color.
VSOutputPixelLighting VSBasicPixelLightingVc(VSInputNmVc vin)
{
VSOutputPixelLighting vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse.rgb = vin.Color.rgb;
vout.Diffuse.a = vin.Color.a * DiffuseColor.a;
return vout;
}
// Vertex shader: pixel lighting + texture.
VSOutputPixelLightingTx VSBasicPixelLightingTx(VSInputNmTx vin)
{
VSOutputPixelLightingTx vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse = float4(1, 1, 1, DiffuseColor.a);
vout.TexCoord = vin.TexCoord;
return vout;
}
// Vertex shader: pixel lighting + texture + vertex color.
VSOutputPixelLightingTx VSBasicPixelLightingTxVc(VSInputNmTxVc vin)
{
VSOutputPixelLightingTx vout;
CommonVSOutputPixelLighting cout = ComputeCommonVSOutputPixelLighting(vin.Position, vin.Normal);
SetCommonVSOutputParamsPixelLighting;
vout.Diffuse.rgb = vin.Color.rgb;
vout.Diffuse.a = vin.Color.a * DiffuseColor.a;
vout.TexCoord = vin.TexCoord;
return vout;
}
// Pixel shader: basic.
float4 PSBasic(PSInput pin) : SV_Target0
{
float4 color = pin.Diffuse;
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: no fog.
float4 PSBasicNoFog(PSInputNoFog pin) : SV_Target0
{
return pin.Diffuse;
}
// Pixel shader: texture.
float4 PSBasicTx(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: texture, no fog.
float4 PSBasicTxNoFog(PSInputTxNoFog pin) : SV_Target0
{
return Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
}
// Pixel shader: vertex lighting.
float4 PSBasicVertexLighting(PSInput pin) : SV_Target0
{
float4 color = pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: vertex lighting, no fog.
float4 PSBasicVertexLightingNoFog(PSInput pin) : SV_Target0
{
float4 color = pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
return color;
}
// Pixel shader: vertex lighting + texture.
float4 PSBasicVertexLightingTx(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
ApplyFog(color, pin.Specular.w);
return color;
}
// Pixel shader: vertex lighting + texture, no fog.
float4 PSBasicVertexLightingTxNoFog(PSInputTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
AddSpecular(color, pin.Specular.rgb);
return color;
}
// Pixel shader: pixel lighting.
float4 PSBasicPixelLighting(PSInputPixelLighting pin) : SV_Target0
{
float4 color = pin.Diffuse;
float3 eyeVector = normalize(EyePosition - pin.PositionWS.xyz);
float3 worldNormal = normalize(pin.NormalWS);
ColorPair lightResult = ComputeLights(eyeVector, worldNormal, 3);
color.rgb *= lightResult.Diffuse;
AddSpecular(color, lightResult.Specular);
ApplyFog(color, pin.PositionWS.w);
return color;
}
// Pixel shader: pixel lighting + texture.
float4 PSBasicPixelLightingTx(PSInputPixelLightingTx pin) : SV_Target0
{
float4 color = Texture.Sample(Sampler, pin.TexCoord) * pin.Diffuse;
float3 eyeVector = normalize(EyePosition - pin.PositionWS.xyz);
float3 worldNormal = normalize(pin.NormalWS);
ColorPair lightResult = ComputeLights(eyeVector, worldNormal, 3);
color.rgb *= lightResult.Diffuse;
AddSpecular(color, lightResult.Specular);
ApplyFog(color, pin.PositionWS.w);
return color;
}

Просмотреть файл

@ -1,60 +1,60 @@
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
// http://create.msdn.com/en-US/education/catalog/sample/stock_effects
float ComputeFogFactor(float4 position)
{
return saturate(dot(position, FogVector));
}
void ApplyFog(inout float4 color, float fogFactor)
{
color.rgb = lerp(color.rgb, FogColor * color.a, fogFactor);
}
void AddSpecular(inout float4 color, float3 specular)
{
color.rgb += specular * color.a;
}
struct CommonVSOutput
{
float4 Pos_ps;
float4 Diffuse;
float3 Specular;
float FogFactor;
};
CommonVSOutput ComputeCommonVSOutput(float4 position)
{
CommonVSOutput vout;
vout.Pos_ps = mul(position, WorldViewProj);
vout.Diffuse = DiffuseColor;
vout.Specular = 0;
vout.FogFactor = ComputeFogFactor(position);
return vout;
}
#define SetCommonVSOutputParams \
vout.PositionPS = cout.Pos_ps; \
vout.Diffuse = cout.Diffuse; \
vout.Specular = float4(cout.Specular, cout.FogFactor);
#define SetCommonVSOutputParamsNoFog \
vout.PositionPS = cout.Pos_ps; \
vout.Diffuse = cout.Diffuse;
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248929
// http://create.msdn.com/en-US/education/catalog/sample/stock_effects
float ComputeFogFactor(float4 position)
{
return saturate(dot(position, FogVector));
}
void ApplyFog(inout float4 color, float fogFactor)
{
color.rgb = lerp(color.rgb, FogColor * color.a, fogFactor);
}
void AddSpecular(inout float4 color, float3 specular)
{
color.rgb += specular * color.a;
}
struct CommonVSOutput
{
float4 Pos_ps;
float4 Diffuse;
float3 Specular;
float FogFactor;
};
CommonVSOutput ComputeCommonVSOutput(float4 position)
{
CommonVSOutput vout;
vout.Pos_ps = mul(position, WorldViewProj);
vout.Diffuse = DiffuseColor;
vout.Specular = 0;
vout.FogFactor = ComputeFogFactor(position);
return vout;
}
#define SetCommonVSOutputParams \
vout.PositionPS = cout.Pos_ps; \
vout.Diffuse = cout.Diffuse; \
vout.Specular = float4(cout.Specular, cout.FogFactor);
#define SetCommonVSOutputParamsNoFog \
vout.PositionPS = cout.Pos_ps; \
vout.Diffuse = cout.Diffuse;

Просмотреть файл

@ -1,189 +1,189 @@
@echo off
rem THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
rem ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
rem THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
rem PARTICULAR PURPOSE.
rem
rem Copyright (c) Microsoft Corporation. All rights reserved.
setlocal
set error=0
if %1.==xbox. goto continuexbox
if %1.==. goto continue
echo usage: CompileShaders [xbox]
exit /b
:continuexbox
set XBOXFXC="%XboxOneXDKLatest%xdk\FXC\amd64\FXC.exe"
if exist %XBOXFXC% goto continue
set XBOXFXC="%XboxOneXDKBuild%xdk\FXC\amd64\FXC.exe"
if exist %XBOXFXC% goto continue
set XBOXFXC="%DurangoXDK%xdk\FXC\amd64\FXC.exe"
if not exist %XBOXFXC% goto needxdk
:continue
call :CompileShader%1 AlphaTestEffect vs VSAlphaTest
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestNoFog
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestVc
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestVcNoFog
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestLtGt
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestLtGtNoFog
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestEqNe
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestEqNeNoFog
call :CompileShader%1 BasicEffect vs VSBasic
call :CompileShader%1 BasicEffect vs VSBasicNoFog
call :CompileShader%1 BasicEffect vs VSBasicVc
call :CompileShader%1 BasicEffect vs VSBasicVcNoFog
call :CompileShader%1 BasicEffect vs VSBasicTx
call :CompileShader%1 BasicEffect vs VSBasicTxNoFog
call :CompileShader%1 BasicEffect vs VSBasicTxVc
call :CompileShader%1 BasicEffect vs VSBasicTxVcNoFog
call :CompileShader%1 BasicEffect vs VSBasicVertexLighting
call :CompileShader%1 BasicEffect vs VSBasicVertexLightingVc
call :CompileShader%1 BasicEffect vs VSBasicVertexLightingTx
call :CompileShader%1 BasicEffect vs VSBasicVertexLightingTxVc
call :CompileShader%1 BasicEffect vs VSBasicOneLight
call :CompileShader%1 BasicEffect vs VSBasicOneLightVc
call :CompileShader%1 BasicEffect vs VSBasicOneLightTx
call :CompileShader%1 BasicEffect vs VSBasicOneLightTxVc
call :CompileShader%1 BasicEffect vs VSBasicPixelLighting
call :CompileShader%1 BasicEffect vs VSBasicPixelLightingVc
call :CompileShader%1 BasicEffect vs VSBasicPixelLightingTx
call :CompileShader%1 BasicEffect vs VSBasicPixelLightingTxVc
call :CompileShader%1 BasicEffect ps PSBasic
call :CompileShader%1 BasicEffect ps PSBasicNoFog
call :CompileShader%1 BasicEffect ps PSBasicTx
call :CompileShader%1 BasicEffect ps PSBasicTxNoFog
call :CompileShader%1 BasicEffect ps PSBasicVertexLighting
call :CompileShader%1 BasicEffect ps PSBasicVertexLightingNoFog
call :CompileShader%1 BasicEffect ps PSBasicVertexLightingTx
call :CompileShader%1 BasicEffect ps PSBasicVertexLightingTxNoFog
call :CompileShader%1 BasicEffect ps PSBasicPixelLighting
call :CompileShader%1 BasicEffect ps PSBasicPixelLightingTx
call :CompileShader%1 DualTextureEffect vs VSDualTexture
call :CompileShader%1 DualTextureEffect vs VSDualTextureNoFog
call :CompileShader%1 DualTextureEffect vs VSDualTextureVc
call :CompileShader%1 DualTextureEffect vs VSDualTextureVcNoFog
call :CompileShader%1 DualTextureEffect ps PSDualTexture
call :CompileShader%1 DualTextureEffect ps PSDualTextureNoFog
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMap
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapFresnel
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapOneLight
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapOneLightFresnel
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapPixelLighting
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMap
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapNoFog
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapSpecular
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapSpecularNoFog
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLighting
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLightingNoFog
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLightingFresnel
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLightingFresnelNoFog
call :CompileShader%1 SkinnedEffect vs VSSkinnedVertexLightingOneBone
call :CompileShader%1 SkinnedEffect vs VSSkinnedVertexLightingTwoBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedVertexLightingFourBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedOneLightOneBone
call :CompileShader%1 SkinnedEffect vs VSSkinnedOneLightTwoBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedOneLightFourBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedPixelLightingOneBone
call :CompileShader%1 SkinnedEffect vs VSSkinnedPixelLightingTwoBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedPixelLightingFourBones
call :CompileShader%1 SkinnedEffect ps PSSkinnedVertexLighting
call :CompileShader%1 SkinnedEffect ps PSSkinnedVertexLightingNoFog
call :CompileShader%1 SkinnedEffect ps PSSkinnedPixelLighting
call :CompileShader%1 NormalMapEffect vs VSNormalPixelLightingTx
call :CompileShader%1 NormalMapEffect vs VSNormalPixelLightingTxVc
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTx
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTxNoFog
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTxNoSpec
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTxNoFogSpec
call :CompileShader%1 SpriteEffect vs SpriteVertexShader
call :CompileShader%1 SpriteEffect ps SpritePixelShader
call :CompileShader%1 DGSLEffect vs main
call :CompileShader%1 DGSLEffect vs mainVc
call :CompileShader%1 DGSLEffect vs main1Bones
call :CompileShader%1 DGSLEffect vs main1BonesVc
call :CompileShader%1 DGSLEffect vs main2Bones
call :CompileShader%1 DGSLEffect vs main2BonesVc
call :CompileShader%1 DGSLEffect vs main4Bones
call :CompileShader%1 DGSLEffect vs main4BonesVc
call :CompileShaderHLSL%1 DGSLUnlit ps main
call :CompileShaderHLSL%1 DGSLLambert ps main
call :CompileShaderHLSL%1 DGSLPhong ps main
call :CompileShaderHLSL%1 DGSLUnlit ps mainTk
call :CompileShaderHLSL%1 DGSLLambert ps mainTk
call :CompileShaderHLSL%1 DGSLPhong ps mainTk
call :CompileShaderHLSL%1 DGSLUnlit ps mainTx
call :CompileShaderHLSL%1 DGSLLambert ps mainTx
call :CompileShaderHLSL%1 DGSLPhong ps mainTx
call :CompileShaderHLSL%1 DGSLUnlit ps mainTxTk
call :CompileShaderHLSL%1 DGSLLambert ps mainTxTk
call :CompileShaderHLSL%1 DGSLPhong ps mainTxTk
echo.
if %error% == 0 (
echo Shaders compiled ok
) else (
echo There were shader compilation errors!
)
endlocal
exit /b
:CompileShader
set fxc=fxc /nologo %1.fx /T%2_4_0_level_9_1 /Zi /Zpc /Qstrip_reflect /Qstrip_debug /E%3 /FhCompiled\%1_%3.inc /FdCompiled\%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:CompileShaderHLSL
set fxc=fxc /nologo %1.hlsl /T%2_4_0_level_9_1 /Zi /Zpc /Qstrip_reflect /Qstrip_debug /E%3 /FhCompiled\%1_%3.inc /FdCompiled\%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:CompileShaderxbox
set fxc=%XBOXFXC% /nologo %1.fx /T%2_5_0 /Zpc /Zi /Qstrip_reflect /Qstrip_debug /D__XBOX_DISABLE_SHADER_NAME_EMPLACEMENT /E%3 /FhCompiled\XboxOne%1_%3.inc /FdCompiled\XboxOne%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:CompileShaderHLSLxbox
set fxc=%XBOXFXC% /nologo %1.hlsl /T%2_5_0 /Zpc /Zi /Qstrip_reflect /Qstrip_debug /D__XBOX_DISABLE_SHADER_NAME_EMPLACEMENT /E%3 /FhCompiled\XboxOne%1_%3.inc /FdCompiled\XboxOne%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:needxdk
echo ERROR: CompileShaders xbox requires the Microsoft Xbox One XDK
@echo off
rem THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
rem ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
rem THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
rem PARTICULAR PURPOSE.
rem
rem Copyright (c) Microsoft Corporation. All rights reserved.
setlocal
set error=0
if %1.==xbox. goto continuexbox
if %1.==. goto continue
echo usage: CompileShaders [xbox]
exit /b
:continuexbox
set XBOXFXC="%XboxOneXDKLatest%xdk\FXC\amd64\FXC.exe"
if exist %XBOXFXC% goto continue
set XBOXFXC="%XboxOneXDKBuild%xdk\FXC\amd64\FXC.exe"
if exist %XBOXFXC% goto continue
set XBOXFXC="%DurangoXDK%xdk\FXC\amd64\FXC.exe"
if not exist %XBOXFXC% goto needxdk
:continue
call :CompileShader%1 AlphaTestEffect vs VSAlphaTest
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestNoFog
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestVc
call :CompileShader%1 AlphaTestEffect vs VSAlphaTestVcNoFog
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestLtGt
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestLtGtNoFog
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestEqNe
call :CompileShader%1 AlphaTestEffect ps PSAlphaTestEqNeNoFog
call :CompileShader%1 BasicEffect vs VSBasic
call :CompileShader%1 BasicEffect vs VSBasicNoFog
call :CompileShader%1 BasicEffect vs VSBasicVc
call :CompileShader%1 BasicEffect vs VSBasicVcNoFog
call :CompileShader%1 BasicEffect vs VSBasicTx
call :CompileShader%1 BasicEffect vs VSBasicTxNoFog
call :CompileShader%1 BasicEffect vs VSBasicTxVc
call :CompileShader%1 BasicEffect vs VSBasicTxVcNoFog
call :CompileShader%1 BasicEffect vs VSBasicVertexLighting
call :CompileShader%1 BasicEffect vs VSBasicVertexLightingVc
call :CompileShader%1 BasicEffect vs VSBasicVertexLightingTx
call :CompileShader%1 BasicEffect vs VSBasicVertexLightingTxVc
call :CompileShader%1 BasicEffect vs VSBasicOneLight
call :CompileShader%1 BasicEffect vs VSBasicOneLightVc
call :CompileShader%1 BasicEffect vs VSBasicOneLightTx
call :CompileShader%1 BasicEffect vs VSBasicOneLightTxVc
call :CompileShader%1 BasicEffect vs VSBasicPixelLighting
call :CompileShader%1 BasicEffect vs VSBasicPixelLightingVc
call :CompileShader%1 BasicEffect vs VSBasicPixelLightingTx
call :CompileShader%1 BasicEffect vs VSBasicPixelLightingTxVc
call :CompileShader%1 BasicEffect ps PSBasic
call :CompileShader%1 BasicEffect ps PSBasicNoFog
call :CompileShader%1 BasicEffect ps PSBasicTx
call :CompileShader%1 BasicEffect ps PSBasicTxNoFog
call :CompileShader%1 BasicEffect ps PSBasicVertexLighting
call :CompileShader%1 BasicEffect ps PSBasicVertexLightingNoFog
call :CompileShader%1 BasicEffect ps PSBasicVertexLightingTx
call :CompileShader%1 BasicEffect ps PSBasicVertexLightingTxNoFog
call :CompileShader%1 BasicEffect ps PSBasicPixelLighting
call :CompileShader%1 BasicEffect ps PSBasicPixelLightingTx
call :CompileShader%1 DualTextureEffect vs VSDualTexture
call :CompileShader%1 DualTextureEffect vs VSDualTextureNoFog
call :CompileShader%1 DualTextureEffect vs VSDualTextureVc
call :CompileShader%1 DualTextureEffect vs VSDualTextureVcNoFog
call :CompileShader%1 DualTextureEffect ps PSDualTexture
call :CompileShader%1 DualTextureEffect ps PSDualTextureNoFog
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMap
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapFresnel
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapOneLight
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapOneLightFresnel
call :CompileShader%1 EnvironmentMapEffect vs VSEnvMapPixelLighting
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMap
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapNoFog
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapSpecular
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapSpecularNoFog
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLighting
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLightingNoFog
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLightingFresnel
call :CompileShader%1 EnvironmentMapEffect ps PSEnvMapPixelLightingFresnelNoFog
call :CompileShader%1 SkinnedEffect vs VSSkinnedVertexLightingOneBone
call :CompileShader%1 SkinnedEffect vs VSSkinnedVertexLightingTwoBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedVertexLightingFourBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedOneLightOneBone
call :CompileShader%1 SkinnedEffect vs VSSkinnedOneLightTwoBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedOneLightFourBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedPixelLightingOneBone
call :CompileShader%1 SkinnedEffect vs VSSkinnedPixelLightingTwoBones
call :CompileShader%1 SkinnedEffect vs VSSkinnedPixelLightingFourBones
call :CompileShader%1 SkinnedEffect ps PSSkinnedVertexLighting
call :CompileShader%1 SkinnedEffect ps PSSkinnedVertexLightingNoFog
call :CompileShader%1 SkinnedEffect ps PSSkinnedPixelLighting
call :CompileShader%1 NormalMapEffect vs VSNormalPixelLightingTx
call :CompileShader%1 NormalMapEffect vs VSNormalPixelLightingTxVc
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTx
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTxNoFog
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTxNoSpec
call :CompileShader%1 NormalMapEffect ps PSNormalPixelLightingTxNoFogSpec
call :CompileShader%1 SpriteEffect vs SpriteVertexShader
call :CompileShader%1 SpriteEffect ps SpritePixelShader
call :CompileShader%1 DGSLEffect vs main
call :CompileShader%1 DGSLEffect vs mainVc
call :CompileShader%1 DGSLEffect vs main1Bones
call :CompileShader%1 DGSLEffect vs main1BonesVc
call :CompileShader%1 DGSLEffect vs main2Bones
call :CompileShader%1 DGSLEffect vs main2BonesVc
call :CompileShader%1 DGSLEffect vs main4Bones
call :CompileShader%1 DGSLEffect vs main4BonesVc
call :CompileShaderHLSL%1 DGSLUnlit ps main
call :CompileShaderHLSL%1 DGSLLambert ps main
call :CompileShaderHLSL%1 DGSLPhong ps main
call :CompileShaderHLSL%1 DGSLUnlit ps mainTk
call :CompileShaderHLSL%1 DGSLLambert ps mainTk
call :CompileShaderHLSL%1 DGSLPhong ps mainTk
call :CompileShaderHLSL%1 DGSLUnlit ps mainTx
call :CompileShaderHLSL%1 DGSLLambert ps mainTx
call :CompileShaderHLSL%1 DGSLPhong ps mainTx
call :CompileShaderHLSL%1 DGSLUnlit ps mainTxTk
call :CompileShaderHLSL%1 DGSLLambert ps mainTxTk
call :CompileShaderHLSL%1 DGSLPhong ps mainTxTk
echo.
if %error% == 0 (
echo Shaders compiled ok
) else (
echo There were shader compilation errors!
)
endlocal
exit /b
:CompileShader
set fxc=fxc /nologo %1.fx /T%2_4_0_level_9_1 /Zi /Zpc /Qstrip_reflect /Qstrip_debug /E%3 /FhCompiled\%1_%3.inc /FdCompiled\%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:CompileShaderHLSL
set fxc=fxc /nologo %1.hlsl /T%2_4_0_level_9_1 /Zi /Zpc /Qstrip_reflect /Qstrip_debug /E%3 /FhCompiled\%1_%3.inc /FdCompiled\%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:CompileShaderxbox
set fxc=%XBOXFXC% /nologo %1.fx /T%2_5_0 /Zpc /Zi /Qstrip_reflect /Qstrip_debug /D__XBOX_DISABLE_SHADER_NAME_EMPLACEMENT /E%3 /FhCompiled\XboxOne%1_%3.inc /FdCompiled\XboxOne%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:CompileShaderHLSLxbox
set fxc=%XBOXFXC% /nologo %1.hlsl /T%2_5_0 /Zpc /Zi /Qstrip_reflect /Qstrip_debug /D__XBOX_DISABLE_SHADER_NAME_EMPLACEMENT /E%3 /FhCompiled\XboxOne%1_%3.inc /FdCompiled\XboxOne%1_%3.pdb /Vn%1_%3
echo.
echo %fxc%
%fxc% || set error=1
exit /b
:needxdk
echo ERROR: CompileShaders xbox requires the Microsoft Xbox One XDK
echo (try re-running from the XDK Command Prompt)

Просмотреть файл

@ -1,350 +1,350 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 2 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 115 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t2, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
abs r1.x, r1.w
add r1.x, r1.x, -c0.y
cmp r1, r1.x, c0.w, c0.z
texkill r1
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, c1, r0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSAlphaTestEqNe<0,1,2,3>
// approximately 10 instruction slots used (1 texture, 9 arithmetic)
ps_4_0
dcl_constantbuffer CB0[3], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mad r1.x, r0.w, v0.w, -cb0[1].x
mul r0.xyzw, r0.xyzw, v0.xyzw
lt r1.x, |r1.x|, cb0[1].y
movc r1.x, r1.x, cb0[1].z, cb0[1].w
lt r1.x, r1.x, l(0.000000)
discard_nz r1.x
mad r1.xyz, cb0[2].xyzx, r0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestEqNe[] =
{
68, 88, 66, 67, 113, 187,
91, 96, 11, 66, 99, 30,
141, 72, 248, 220, 179, 145,
207, 1, 1, 0, 0, 0,
56, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
220, 3, 0, 0, 156, 5,
0, 0, 4, 6, 0, 0,
65, 111, 110, 57, 164, 3,
0, 0, 164, 3, 0, 0,
0, 2, 255, 255, 112, 3,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
165, 0, 68, 66, 85, 71,
40, 0, 0, 0, 104, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 14, 0, 0, 0,
200, 0, 0, 0, 4, 0,
0, 0, 24, 2, 0, 0,
56, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 120, 0,
0, 0, 0, 0, 255, 255,
156, 2, 0, 0, 0, 0,
255, 255, 168, 2, 0, 0,
0, 0, 255, 255, 180, 2,
0, 0, 0, 0, 255, 255,
192, 2, 0, 0, 115, 0,
0, 0, 204, 2, 0, 0,
117, 0, 0, 0, 220, 2,
0, 0, 115, 0, 0, 0,
240, 2, 0, 0, 117, 0,
0, 0, 0, 3, 0, 0,
117, 0, 0, 0, 12, 3,
0, 0, 117, 0, 0, 0,
28, 3, 0, 0, 117, 0,
0, 0, 48, 3, 0, 0,
20, 0, 1, 0, 56, 3,
0, 0, 20, 0, 1, 0,
76, 3, 0, 0, 20, 0,
1, 0, 96, 3, 0, 0,
80, 83, 65, 108, 112, 104,
97, 84, 101, 115, 116, 69,
113, 78, 101, 0, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 13, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 65, 112, 112, 108,
121, 70, 111, 103, 0, 99,
111, 108, 111, 114, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 12, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 6, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 112, 105,
110, 0, 68, 105, 102, 102,
117, 115, 101, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 84, 101, 120, 67, 111,
111, 114, 100, 0, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 160, 1,
0, 0, 116, 1, 0, 0,
168, 1, 0, 0, 116, 1,
0, 0, 177, 1, 0, 0,
188, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 204, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 2, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 0, 0, 0, 0,
56, 1, 0, 0, 72, 1,
0, 0, 1, 0, 0, 0,
88, 1, 0, 0, 100, 1,
0, 0, 109, 1, 0, 0,
116, 1, 0, 0, 1, 0,
0, 0, 132, 1, 0, 0,
0, 0, 0, 0, 109, 1,
0, 0, 116, 1, 0, 0,
1, 0, 0, 0, 144, 1,
0, 0, 56, 1, 0, 0,
156, 1, 0, 0, 228, 1,
0, 0, 3, 0, 0, 0,
244, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 2, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 2, 0,
228, 176, 0, 8, 228, 160,
4, 0, 0, 4, 1, 0,
8, 128, 0, 0, 255, 128,
0, 0, 255, 176, 0, 0,
0, 161, 5, 0, 0, 3,
0, 0, 15, 128, 0, 0,
228, 128, 0, 0, 228, 176,
35, 0, 0, 2, 1, 0,
1, 128, 1, 0, 255, 128,
2, 0, 0, 3, 1, 0,
1, 128, 1, 0, 0, 128,
0, 0, 85, 161, 88, 0,
0, 4, 1, 0, 15, 128,
1, 0, 0, 128, 0, 0,
255, 160, 0, 0, 170, 160,
65, 0, 0, 1, 1, 0,
15, 128, 4, 0, 0, 4,
1, 0, 7, 128, 1, 0,
228, 160, 0, 0, 255, 128,
0, 0, 228, 129, 4, 0,
0, 4, 0, 0, 7, 128,
1, 0, 255, 176, 1, 0,
228, 128, 0, 0, 228, 128,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 184, 1, 0, 0,
64, 0, 0, 0, 110, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 3, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 130, 16, 16, 0,
1, 0, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 2, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 0, 0, 0, 0,
70, 16, 16, 0, 2, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 18, 0,
16, 0, 1, 0, 0, 0,
58, 0, 16, 0, 0, 0,
0, 0, 58, 16, 16, 0,
0, 0, 0, 0, 10, 128,
32, 128, 65, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
49, 0, 0, 9, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 128, 129, 0,
0, 0, 1, 0, 0, 0,
26, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
55, 0, 0, 11, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 42, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 58, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 49, 0, 0, 7,
18, 0, 16, 0, 1, 0,
0, 0, 10, 0, 16, 0,
1, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
13, 0, 4, 3, 10, 0,
16, 0, 1, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 2, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 50, 0, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 246, 31, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
96, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 8, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 2 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 115 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t2, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
abs r1.x, r1.w
add r1.x, r1.x, -c0.y
cmp r1, r1.x, c0.w, c0.z
texkill r1
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, c1, r0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSAlphaTestEqNe<0,1,2,3>
// approximately 10 instruction slots used (1 texture, 9 arithmetic)
ps_4_0
dcl_constantbuffer CB0[3], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mad r1.x, r0.w, v0.w, -cb0[1].x
mul r0.xyzw, r0.xyzw, v0.xyzw
lt r1.x, |r1.x|, cb0[1].y
movc r1.x, r1.x, cb0[1].z, cb0[1].w
lt r1.x, r1.x, l(0.000000)
discard_nz r1.x
mad r1.xyz, cb0[2].xyzx, r0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestEqNe[] =
{
68, 88, 66, 67, 113, 187,
91, 96, 11, 66, 99, 30,
141, 72, 248, 220, 179, 145,
207, 1, 1, 0, 0, 0,
56, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
220, 3, 0, 0, 156, 5,
0, 0, 4, 6, 0, 0,
65, 111, 110, 57, 164, 3,
0, 0, 164, 3, 0, 0,
0, 2, 255, 255, 112, 3,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
165, 0, 68, 66, 85, 71,
40, 0, 0, 0, 104, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 14, 0, 0, 0,
200, 0, 0, 0, 4, 0,
0, 0, 24, 2, 0, 0,
56, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 120, 0,
0, 0, 0, 0, 255, 255,
156, 2, 0, 0, 0, 0,
255, 255, 168, 2, 0, 0,
0, 0, 255, 255, 180, 2,
0, 0, 0, 0, 255, 255,
192, 2, 0, 0, 115, 0,
0, 0, 204, 2, 0, 0,
117, 0, 0, 0, 220, 2,
0, 0, 115, 0, 0, 0,
240, 2, 0, 0, 117, 0,
0, 0, 0, 3, 0, 0,
117, 0, 0, 0, 12, 3,
0, 0, 117, 0, 0, 0,
28, 3, 0, 0, 117, 0,
0, 0, 48, 3, 0, 0,
20, 0, 1, 0, 56, 3,
0, 0, 20, 0, 1, 0,
76, 3, 0, 0, 20, 0,
1, 0, 96, 3, 0, 0,
80, 83, 65, 108, 112, 104,
97, 84, 101, 115, 116, 69,
113, 78, 101, 0, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 13, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 65, 112, 112, 108,
121, 70, 111, 103, 0, 99,
111, 108, 111, 114, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 12, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 6, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 112, 105,
110, 0, 68, 105, 102, 102,
117, 115, 101, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 84, 101, 120, 67, 111,
111, 114, 100, 0, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 160, 1,
0, 0, 116, 1, 0, 0,
168, 1, 0, 0, 116, 1,
0, 0, 177, 1, 0, 0,
188, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 204, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 2, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 0, 0, 0, 0,
56, 1, 0, 0, 72, 1,
0, 0, 1, 0, 0, 0,
88, 1, 0, 0, 100, 1,
0, 0, 109, 1, 0, 0,
116, 1, 0, 0, 1, 0,
0, 0, 132, 1, 0, 0,
0, 0, 0, 0, 109, 1,
0, 0, 116, 1, 0, 0,
1, 0, 0, 0, 144, 1,
0, 0, 56, 1, 0, 0,
156, 1, 0, 0, 228, 1,
0, 0, 3, 0, 0, 0,
244, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 2, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 2, 0,
228, 176, 0, 8, 228, 160,
4, 0, 0, 4, 1, 0,
8, 128, 0, 0, 255, 128,
0, 0, 255, 176, 0, 0,
0, 161, 5, 0, 0, 3,
0, 0, 15, 128, 0, 0,
228, 128, 0, 0, 228, 176,
35, 0, 0, 2, 1, 0,
1, 128, 1, 0, 255, 128,
2, 0, 0, 3, 1, 0,
1, 128, 1, 0, 0, 128,
0, 0, 85, 161, 88, 0,
0, 4, 1, 0, 15, 128,
1, 0, 0, 128, 0, 0,
255, 160, 0, 0, 170, 160,
65, 0, 0, 1, 1, 0,
15, 128, 4, 0, 0, 4,
1, 0, 7, 128, 1, 0,
228, 160, 0, 0, 255, 128,
0, 0, 228, 129, 4, 0,
0, 4, 0, 0, 7, 128,
1, 0, 255, 176, 1, 0,
228, 128, 0, 0, 228, 128,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 184, 1, 0, 0,
64, 0, 0, 0, 110, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 3, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 130, 16, 16, 0,
1, 0, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 2, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 0, 0, 0, 0,
70, 16, 16, 0, 2, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 18, 0,
16, 0, 1, 0, 0, 0,
58, 0, 16, 0, 0, 0,
0, 0, 58, 16, 16, 0,
0, 0, 0, 0, 10, 128,
32, 128, 65, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
49, 0, 0, 9, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 128, 129, 0,
0, 0, 1, 0, 0, 0,
26, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
55, 0, 0, 11, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 42, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 58, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 49, 0, 0, 7,
18, 0, 16, 0, 1, 0,
0, 0, 10, 0, 16, 0,
1, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
13, 0, 4, 3, 10, 0,
16, 0, 1, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 2, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 50, 0, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 246, 31, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
96, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 8, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,286 +1,286 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1.xy // pin<4,5>
dcl_2d s0
#line 128 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t1, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
mov oC0, r0 // ::PSAlphaTestEqNeNoFog<0,1,2,3>
abs r0.x, r1.w
add r0.x, r0.x, -c0.y
cmp r0, r0.x, c0.w, c0.z
texkill r0
// approximately 8 instruction slots used (1 texture, 7 arithmetic)
ps_4_0
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mad r1.x, r0.w, v0.w, -cb0[1].x
mul r0.xyzw, r0.xyzw, v0.xyzw
mov o0.xyzw, r0.xyzw
lt r0.x, |r1.x|, cb0[1].y
movc r0.x, r0.x, cb0[1].z, cb0[1].w
lt r0.x, r0.x, l(0.000000)
discard_nz r0.x
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestEqNeNoFog[] =
{
68, 88, 66, 67, 183, 248,
96, 0, 109, 19, 243, 115,
124, 205, 223, 24, 110, 117,
35, 54, 1, 0, 0, 0,
240, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
8, 3, 0, 0, 108, 4,
0, 0, 188, 4, 0, 0,
65, 111, 110, 57, 208, 2,
0, 0, 208, 2, 0, 0,
0, 2, 255, 255, 156, 2,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
125, 0, 68, 66, 85, 71,
40, 0, 0, 0, 200, 1,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 120, 0,
0, 0, 11, 0, 0, 0,
124, 0, 0, 0, 3, 0,
0, 0, 140, 1, 0, 0,
212, 0, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 0, 0,
255, 255, 252, 1, 0, 0,
0, 0, 255, 255, 8, 2,
0, 0, 0, 0, 255, 255,
20, 2, 0, 0, 128, 0,
0, 0, 32, 2, 0, 0,
130, 0, 0, 0, 48, 2,
0, 0, 128, 0, 0, 0,
68, 2, 0, 0, 128, 0,
0, 0, 84, 2, 0, 0,
130, 0, 0, 0, 96, 2,
0, 0, 130, 0, 0, 0,
108, 2, 0, 0, 130, 0,
0, 0, 124, 2, 0, 0,
130, 0, 0, 0, 144, 2,
0, 0, 80, 83, 65, 108,
112, 104, 97, 84, 101, 115,
116, 69, 113, 78, 101, 78,
111, 70, 111, 103, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
99, 111, 108, 111, 114, 0,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
84, 101, 120, 67, 111, 111,
114, 100, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 48, 1,
0, 0, 16, 1, 0, 0,
56, 1, 0, 0, 68, 1,
0, 0, 5, 0, 0, 0,
1, 0, 6, 0, 1, 0,
2, 0, 84, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
0, 0, 0, 0, 212, 0,
0, 0, 236, 0, 0, 0,
1, 0, 0, 0, 252, 0,
0, 0, 0, 0, 0, 0,
8, 1, 0, 0, 16, 1,
0, 0, 1, 0, 0, 0,
32, 1, 0, 0, 212, 0,
0, 0, 44, 1, 0, 0,
100, 1, 0, 0, 2, 0,
0, 0, 116, 1, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
1, 0, 3, 176, 31, 0,
0, 2, 0, 0, 0, 144,
0, 8, 15, 160, 66, 0,
0, 3, 0, 0, 15, 128,
1, 0, 228, 176, 0, 8,
228, 160, 4, 0, 0, 4,
1, 0, 8, 128, 0, 0,
255, 128, 0, 0, 255, 176,
0, 0, 0, 161, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 35, 0, 0, 2,
0, 0, 1, 128, 1, 0,
255, 128, 2, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 0, 0, 85, 161,
88, 0, 0, 4, 0, 0,
15, 128, 0, 0, 0, 128,
0, 0, 255, 160, 0, 0,
170, 160, 65, 0, 0, 1,
0, 0, 15, 128, 255, 255,
0, 0, 83, 72, 68, 82,
92, 1, 0, 0, 64, 0,
0, 0, 87, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
2, 0, 0, 0, 90, 0,
0, 3, 0, 96, 16, 0,
0, 0, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
0, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
70, 126, 16, 0, 0, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 50, 0,
0, 11, 18, 0, 16, 0,
1, 0, 0, 0, 58, 0,
16, 0, 0, 0, 0, 0,
58, 16, 16, 0, 0, 0,
0, 0, 10, 128, 32, 128,
65, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
56, 0, 0, 7, 242, 0,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 242, 32, 16, 0,
0, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
49, 0, 0, 9, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 128, 129, 0,
0, 0, 1, 0, 0, 0,
26, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
55, 0, 0, 11, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 42, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 58, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 49, 0, 0, 7,
18, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
13, 0, 4, 3, 10, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 72, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 62, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 97, 114, 103, 101,
116, 0, 171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1.xy // pin<4,5>
dcl_2d s0
#line 128 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t1, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
mov oC0, r0 // ::PSAlphaTestEqNeNoFog<0,1,2,3>
abs r0.x, r1.w
add r0.x, r0.x, -c0.y
cmp r0, r0.x, c0.w, c0.z
texkill r0
// approximately 8 instruction slots used (1 texture, 7 arithmetic)
ps_4_0
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mad r1.x, r0.w, v0.w, -cb0[1].x
mul r0.xyzw, r0.xyzw, v0.xyzw
mov o0.xyzw, r0.xyzw
lt r0.x, |r1.x|, cb0[1].y
movc r0.x, r0.x, cb0[1].z, cb0[1].w
lt r0.x, r0.x, l(0.000000)
discard_nz r0.x
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestEqNeNoFog[] =
{
68, 88, 66, 67, 183, 248,
96, 0, 109, 19, 243, 115,
124, 205, 223, 24, 110, 117,
35, 54, 1, 0, 0, 0,
240, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
8, 3, 0, 0, 108, 4,
0, 0, 188, 4, 0, 0,
65, 111, 110, 57, 208, 2,
0, 0, 208, 2, 0, 0,
0, 2, 255, 255, 156, 2,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
125, 0, 68, 66, 85, 71,
40, 0, 0, 0, 200, 1,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 120, 0,
0, 0, 11, 0, 0, 0,
124, 0, 0, 0, 3, 0,
0, 0, 140, 1, 0, 0,
212, 0, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 0, 0,
255, 255, 252, 1, 0, 0,
0, 0, 255, 255, 8, 2,
0, 0, 0, 0, 255, 255,
20, 2, 0, 0, 128, 0,
0, 0, 32, 2, 0, 0,
130, 0, 0, 0, 48, 2,
0, 0, 128, 0, 0, 0,
68, 2, 0, 0, 128, 0,
0, 0, 84, 2, 0, 0,
130, 0, 0, 0, 96, 2,
0, 0, 130, 0, 0, 0,
108, 2, 0, 0, 130, 0,
0, 0, 124, 2, 0, 0,
130, 0, 0, 0, 144, 2,
0, 0, 80, 83, 65, 108,
112, 104, 97, 84, 101, 115,
116, 69, 113, 78, 101, 78,
111, 70, 111, 103, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
99, 111, 108, 111, 114, 0,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
84, 101, 120, 67, 111, 111,
114, 100, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 48, 1,
0, 0, 16, 1, 0, 0,
56, 1, 0, 0, 68, 1,
0, 0, 5, 0, 0, 0,
1, 0, 6, 0, 1, 0,
2, 0, 84, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
0, 0, 0, 0, 212, 0,
0, 0, 236, 0, 0, 0,
1, 0, 0, 0, 252, 0,
0, 0, 0, 0, 0, 0,
8, 1, 0, 0, 16, 1,
0, 0, 1, 0, 0, 0,
32, 1, 0, 0, 212, 0,
0, 0, 44, 1, 0, 0,
100, 1, 0, 0, 2, 0,
0, 0, 116, 1, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
1, 0, 3, 176, 31, 0,
0, 2, 0, 0, 0, 144,
0, 8, 15, 160, 66, 0,
0, 3, 0, 0, 15, 128,
1, 0, 228, 176, 0, 8,
228, 160, 4, 0, 0, 4,
1, 0, 8, 128, 0, 0,
255, 128, 0, 0, 255, 176,
0, 0, 0, 161, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 35, 0, 0, 2,
0, 0, 1, 128, 1, 0,
255, 128, 2, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 0, 0, 85, 161,
88, 0, 0, 4, 0, 0,
15, 128, 0, 0, 0, 128,
0, 0, 255, 160, 0, 0,
170, 160, 65, 0, 0, 1,
0, 0, 15, 128, 255, 255,
0, 0, 83, 72, 68, 82,
92, 1, 0, 0, 64, 0,
0, 0, 87, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
2, 0, 0, 0, 90, 0,
0, 3, 0, 96, 16, 0,
0, 0, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
0, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
70, 126, 16, 0, 0, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 50, 0,
0, 11, 18, 0, 16, 0,
1, 0, 0, 0, 58, 0,
16, 0, 0, 0, 0, 0,
58, 16, 16, 0, 0, 0,
0, 0, 10, 128, 32, 128,
65, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
56, 0, 0, 7, 242, 0,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 242, 32, 16, 0,
0, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
49, 0, 0, 9, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 128, 129, 0,
0, 0, 1, 0, 0, 0,
26, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
55, 0, 0, 11, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 42, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 58, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 49, 0, 0, 7,
18, 0, 16, 0, 0, 0,
0, 0, 10, 0, 16, 0,
0, 0, 0, 0, 1, 64,
0, 0, 0, 0, 0, 0,
13, 0, 4, 3, 10, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 72, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 62, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 97, 114, 103, 101,
116, 0, 171, 171
};

Просмотреть файл

@ -1,331 +1,331 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 2 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 91 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t2, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
cmp r1, r1.w, c0.w, c0.z
texkill r1
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, c1, r0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSAlphaTestLtGt<0,1,2,3>
// approximately 8 instruction slots used (1 texture, 7 arithmetic)
ps_4_0
dcl_constantbuffer CB0[3], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
lt r1.x, r0.w, cb0[1].x
movc r1.x, r1.x, cb0[1].z, cb0[1].w
lt r1.x, r1.x, l(0.000000)
discard_nz r1.x
mad r1.xyz, cb0[2].xyzx, r0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestLtGt[] =
{
68, 88, 66, 67, 105, 38,
111, 159, 140, 81, 131, 224,
19, 77, 53, 76, 101, 223,
154, 26, 1, 0, 0, 0,
220, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
176, 3, 0, 0, 64, 5,
0, 0, 168, 5, 0, 0,
65, 111, 110, 57, 120, 3,
0, 0, 120, 3, 0, 0,
0, 2, 255, 255, 68, 3,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
161, 0, 68, 66, 85, 71,
40, 0, 0, 0, 88, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 12, 0, 0, 0,
200, 0, 0, 0, 4, 0,
0, 0, 8, 2, 0, 0,
40, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 120, 0,
0, 0, 0, 0, 255, 255,
140, 2, 0, 0, 0, 0,
255, 255, 152, 2, 0, 0,
0, 0, 255, 255, 164, 2,
0, 0, 0, 0, 255, 255,
176, 2, 0, 0, 91, 0,
0, 0, 188, 2, 0, 0,
93, 0, 0, 0, 204, 2,
0, 0, 91, 0, 0, 0,
224, 2, 0, 0, 93, 0,
0, 0, 240, 2, 0, 0,
93, 0, 0, 0, 4, 3,
0, 0, 20, 0, 1, 0,
12, 3, 0, 0, 20, 0,
1, 0, 32, 3, 0, 0,
20, 0, 1, 0, 52, 3,
0, 0, 80, 83, 65, 108,
112, 104, 97, 84, 101, 115,
116, 76, 116, 71, 116, 0,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 11, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 65, 112,
112, 108, 121, 70, 111, 103,
0, 99, 111, 108, 111, 114,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
10, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 84, 101, 120,
67, 111, 111, 114, 100, 0,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
144, 1, 0, 0, 100, 1,
0, 0, 152, 1, 0, 0,
100, 1, 0, 0, 161, 1,
0, 0, 172, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
188, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 2, 0,
0, 0, 8, 0, 9, 0,
255, 255, 255, 255, 0, 0,
0, 0, 40, 1, 0, 0,
56, 1, 0, 0, 1, 0,
0, 0, 72, 1, 0, 0,
84, 1, 0, 0, 93, 1,
0, 0, 100, 1, 0, 0,
1, 0, 0, 0, 116, 1,
0, 0, 0, 0, 0, 0,
93, 1, 0, 0, 100, 1,
0, 0, 1, 0, 0, 0,
128, 1, 0, 0, 40, 1,
0, 0, 140, 1, 0, 0,
212, 1, 0, 0, 3, 0,
0, 0, 228, 1, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
1, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
2, 0, 3, 176, 31, 0,
0, 2, 0, 0, 0, 144,
0, 8, 15, 160, 66, 0,
0, 3, 0, 0, 15, 128,
2, 0, 228, 176, 0, 8,
228, 160, 4, 0, 0, 4,
1, 0, 8, 128, 0, 0,
255, 128, 0, 0, 255, 176,
0, 0, 0, 161, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 88, 0, 0, 4,
1, 0, 15, 128, 1, 0,
255, 128, 0, 0, 255, 160,
0, 0, 170, 160, 65, 0,
0, 1, 1, 0, 15, 128,
4, 0, 0, 4, 1, 0,
7, 128, 1, 0, 228, 160,
0, 0, 255, 128, 0, 0,
228, 129, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
255, 176, 1, 0, 228, 128,
0, 0, 228, 128, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
136, 1, 0, 0, 64, 0,
0, 0, 98, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
3, 0, 0, 0, 90, 0,
0, 3, 0, 96, 16, 0,
0, 0, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
0, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 98, 16, 0, 3,
130, 16, 16, 0, 1, 0,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 2, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 2, 0, 0, 0,
70, 126, 16, 0, 0, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 56, 0,
0, 7, 242, 0, 16, 0,
0, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 49, 0, 0, 8,
18, 0, 16, 0, 1, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 10, 128,
32, 0, 0, 0, 0, 0,
1, 0, 0, 0, 55, 0,
0, 11, 18, 0, 16, 0,
1, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
42, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
49, 0, 0, 7, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 13, 0,
4, 3, 10, 0, 16, 0,
1, 0, 0, 0, 50, 0,
0, 11, 114, 0, 16, 0,
1, 0, 0, 0, 70, 130,
32, 0, 0, 0, 0, 0,
2, 0, 0, 0, 246, 15,
16, 0, 0, 0, 0, 0,
70, 2, 16, 128, 65, 0,
0, 0, 0, 0, 0, 0,
50, 0, 0, 9, 114, 32,
16, 0, 0, 0, 0, 0,
246, 31, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 130, 32,
16, 0, 0, 0, 0, 0,
58, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 96, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 80, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 8, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
3, 3, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 2 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 91 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t2, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
cmp r1, r1.w, c0.w, c0.z
texkill r1
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, c1, r0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSAlphaTestLtGt<0,1,2,3>
// approximately 8 instruction slots used (1 texture, 7 arithmetic)
ps_4_0
dcl_constantbuffer CB0[3], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
lt r1.x, r0.w, cb0[1].x
movc r1.x, r1.x, cb0[1].z, cb0[1].w
lt r1.x, r1.x, l(0.000000)
discard_nz r1.x
mad r1.xyz, cb0[2].xyzx, r0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestLtGt[] =
{
68, 88, 66, 67, 105, 38,
111, 159, 140, 81, 131, 224,
19, 77, 53, 76, 101, 223,
154, 26, 1, 0, 0, 0,
220, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
176, 3, 0, 0, 64, 5,
0, 0, 168, 5, 0, 0,
65, 111, 110, 57, 120, 3,
0, 0, 120, 3, 0, 0,
0, 2, 255, 255, 68, 3,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
161, 0, 68, 66, 85, 71,
40, 0, 0, 0, 88, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 12, 0, 0, 0,
200, 0, 0, 0, 4, 0,
0, 0, 8, 2, 0, 0,
40, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 120, 0,
0, 0, 0, 0, 255, 255,
140, 2, 0, 0, 0, 0,
255, 255, 152, 2, 0, 0,
0, 0, 255, 255, 164, 2,
0, 0, 0, 0, 255, 255,
176, 2, 0, 0, 91, 0,
0, 0, 188, 2, 0, 0,
93, 0, 0, 0, 204, 2,
0, 0, 91, 0, 0, 0,
224, 2, 0, 0, 93, 0,
0, 0, 240, 2, 0, 0,
93, 0, 0, 0, 4, 3,
0, 0, 20, 0, 1, 0,
12, 3, 0, 0, 20, 0,
1, 0, 32, 3, 0, 0,
20, 0, 1, 0, 52, 3,
0, 0, 80, 83, 65, 108,
112, 104, 97, 84, 101, 115,
116, 76, 116, 71, 116, 0,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 11, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 65, 112,
112, 108, 121, 70, 111, 103,
0, 99, 111, 108, 111, 114,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
10, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 84, 101, 120,
67, 111, 111, 114, 100, 0,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
144, 1, 0, 0, 100, 1,
0, 0, 152, 1, 0, 0,
100, 1, 0, 0, 161, 1,
0, 0, 172, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
188, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 2, 0,
0, 0, 8, 0, 9, 0,
255, 255, 255, 255, 0, 0,
0, 0, 40, 1, 0, 0,
56, 1, 0, 0, 1, 0,
0, 0, 72, 1, 0, 0,
84, 1, 0, 0, 93, 1,
0, 0, 100, 1, 0, 0,
1, 0, 0, 0, 116, 1,
0, 0, 0, 0, 0, 0,
93, 1, 0, 0, 100, 1,
0, 0, 1, 0, 0, 0,
128, 1, 0, 0, 40, 1,
0, 0, 140, 1, 0, 0,
212, 1, 0, 0, 3, 0,
0, 0, 228, 1, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
1, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
2, 0, 3, 176, 31, 0,
0, 2, 0, 0, 0, 144,
0, 8, 15, 160, 66, 0,
0, 3, 0, 0, 15, 128,
2, 0, 228, 176, 0, 8,
228, 160, 4, 0, 0, 4,
1, 0, 8, 128, 0, 0,
255, 128, 0, 0, 255, 176,
0, 0, 0, 161, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 88, 0, 0, 4,
1, 0, 15, 128, 1, 0,
255, 128, 0, 0, 255, 160,
0, 0, 170, 160, 65, 0,
0, 1, 1, 0, 15, 128,
4, 0, 0, 4, 1, 0,
7, 128, 1, 0, 228, 160,
0, 0, 255, 128, 0, 0,
228, 129, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
255, 176, 1, 0, 228, 128,
0, 0, 228, 128, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
136, 1, 0, 0, 64, 0,
0, 0, 98, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
3, 0, 0, 0, 90, 0,
0, 3, 0, 96, 16, 0,
0, 0, 0, 0, 88, 24,
0, 4, 0, 112, 16, 0,
0, 0, 0, 0, 85, 85,
0, 0, 98, 16, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 98, 16, 0, 3,
130, 16, 16, 0, 1, 0,
0, 0, 98, 16, 0, 3,
50, 16, 16, 0, 2, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 104, 0, 0, 2,
2, 0, 0, 0, 69, 0,
0, 9, 242, 0, 16, 0,
0, 0, 0, 0, 70, 16,
16, 0, 2, 0, 0, 0,
70, 126, 16, 0, 0, 0,
0, 0, 0, 96, 16, 0,
0, 0, 0, 0, 56, 0,
0, 7, 242, 0, 16, 0,
0, 0, 0, 0, 70, 14,
16, 0, 0, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 49, 0, 0, 8,
18, 0, 16, 0, 1, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 10, 128,
32, 0, 0, 0, 0, 0,
1, 0, 0, 0, 55, 0,
0, 11, 18, 0, 16, 0,
1, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
42, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
49, 0, 0, 7, 18, 0,
16, 0, 1, 0, 0, 0,
10, 0, 16, 0, 1, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 13, 0,
4, 3, 10, 0, 16, 0,
1, 0, 0, 0, 50, 0,
0, 11, 114, 0, 16, 0,
1, 0, 0, 0, 70, 130,
32, 0, 0, 0, 0, 0,
2, 0, 0, 0, 246, 15,
16, 0, 0, 0, 0, 0,
70, 2, 16, 128, 65, 0,
0, 0, 0, 0, 0, 0,
50, 0, 0, 9, 114, 32,
16, 0, 0, 0, 0, 0,
246, 31, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
54, 0, 0, 5, 130, 32,
16, 0, 0, 0, 0, 0,
58, 0, 16, 0, 0, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 96, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 80, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 8, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
3, 3, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};

Просмотреть файл

@ -1,268 +1,268 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1.xy // pin<4,5>
dcl_2d s0
#line 104 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t1, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
mov oC0, r0 // ::PSAlphaTestLtGtNoFog<0,1,2,3>
cmp r0, r1.w, c0.w, c0.z
texkill r0
// approximately 6 instruction slots used (1 texture, 5 arithmetic)
ps_4_0
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
lt r1.x, r0.w, cb0[1].x
mov o0.xyzw, r0.xyzw
movc r0.x, r1.x, cb0[1].z, cb0[1].w
lt r0.x, r0.x, l(0.000000)
discard_nz r0.x
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestLtGtNoFog[] =
{
68, 88, 66, 67, 65, 182,
195, 135, 25, 195, 235, 26,
119, 30, 106, 5, 224, 55,
20, 1, 1, 0, 0, 0,
148, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
220, 2, 0, 0, 16, 4,
0, 0, 96, 4, 0, 0,
65, 111, 110, 57, 164, 2,
0, 0, 164, 2, 0, 0,
0, 2, 255, 255, 112, 2,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
121, 0, 68, 66, 85, 71,
40, 0, 0, 0, 184, 1,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 120, 0,
0, 0, 9, 0, 0, 0,
124, 0, 0, 0, 3, 0,
0, 0, 124, 1, 0, 0,
196, 0, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 0, 0,
255, 255, 236, 1, 0, 0,
0, 0, 255, 255, 248, 1,
0, 0, 0, 0, 255, 255,
4, 2, 0, 0, 104, 0,
0, 0, 16, 2, 0, 0,
106, 0, 0, 0, 32, 2,
0, 0, 104, 0, 0, 0,
52, 2, 0, 0, 104, 0,
0, 0, 68, 2, 0, 0,
106, 0, 0, 0, 80, 2,
0, 0, 106, 0, 0, 0,
100, 2, 0, 0, 80, 83,
65, 108, 112, 104, 97, 84,
101, 115, 116, 76, 116, 71,
116, 78, 111, 70, 111, 103,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 99, 111, 108, 111,
114, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 84, 101, 120, 67,
111, 111, 114, 100, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
32, 1, 0, 0, 0, 1,
0, 0, 40, 1, 0, 0,
52, 1, 0, 0, 5, 0,
0, 0, 1, 0, 6, 0,
1, 0, 2, 0, 68, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 0, 0, 0, 0,
196, 0, 0, 0, 220, 0,
0, 0, 1, 0, 0, 0,
236, 0, 0, 0, 0, 0,
0, 0, 248, 0, 0, 0,
0, 1, 0, 0, 1, 0,
0, 0, 16, 1, 0, 0,
196, 0, 0, 0, 28, 1,
0, 0, 84, 1, 0, 0,
2, 0, 0, 0, 100, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 1, 0, 228, 176,
0, 8, 228, 160, 4, 0,
0, 4, 1, 0, 8, 128,
0, 0, 255, 128, 0, 0,
255, 176, 0, 0, 0, 161,
5, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
0, 0, 228, 176, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 88, 0,
0, 4, 0, 0, 15, 128,
1, 0, 255, 128, 0, 0,
255, 160, 0, 0, 170, 160,
65, 0, 0, 1, 0, 0,
15, 128, 255, 255, 0, 0,
83, 72, 68, 82, 44, 1,
0, 0, 64, 0, 0, 0,
75, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 2, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
49, 0, 0, 8, 18, 0,
16, 0, 1, 0, 0, 0,
58, 0, 16, 0, 0, 0,
0, 0, 10, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 54, 0, 0, 5,
242, 32, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 55, 0,
0, 11, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
42, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
49, 0, 0, 7, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 13, 0,
4, 3, 10, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
72, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
62, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 1 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1.xy // pin<4,5>
dcl_2d s0
#line 104 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
texld r0, t1, s0
mad r1.w, r0.w, t0.w, -c0.x
mul r0, r0, t0 // ::color<0,1,2,3>
mov oC0, r0 // ::PSAlphaTestLtGtNoFog<0,1,2,3>
cmp r0, r1.w, c0.w, c0.z
texkill r0
// approximately 6 instruction slots used (1 texture, 5 arithmetic)
ps_4_0
dcl_constantbuffer CB0[2], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
lt r1.x, r0.w, cb0[1].x
mov o0.xyzw, r0.xyzw
movc r0.x, r1.x, cb0[1].z, cb0[1].w
lt r0.x, r0.x, l(0.000000)
discard_nz r0.x
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_PSAlphaTestLtGtNoFog[] =
{
68, 88, 66, 67, 65, 182,
195, 135, 25, 195, 235, 26,
119, 30, 106, 5, 224, 55,
20, 1, 1, 0, 0, 0,
148, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
220, 2, 0, 0, 16, 4,
0, 0, 96, 4, 0, 0,
65, 111, 110, 57, 164, 2,
0, 0, 164, 2, 0, 0,
0, 2, 255, 255, 112, 2,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
121, 0, 68, 66, 85, 71,
40, 0, 0, 0, 184, 1,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 120, 0,
0, 0, 9, 0, 0, 0,
124, 0, 0, 0, 3, 0,
0, 0, 124, 1, 0, 0,
196, 0, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 0, 0,
255, 255, 236, 1, 0, 0,
0, 0, 255, 255, 248, 1,
0, 0, 0, 0, 255, 255,
4, 2, 0, 0, 104, 0,
0, 0, 16, 2, 0, 0,
106, 0, 0, 0, 32, 2,
0, 0, 104, 0, 0, 0,
52, 2, 0, 0, 104, 0,
0, 0, 68, 2, 0, 0,
106, 0, 0, 0, 80, 2,
0, 0, 106, 0, 0, 0,
100, 2, 0, 0, 80, 83,
65, 108, 112, 104, 97, 84,
101, 115, 116, 76, 116, 71,
116, 78, 111, 70, 111, 103,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 99, 111, 108, 111,
114, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 84, 101, 120, 67,
111, 111, 114, 100, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
32, 1, 0, 0, 0, 1,
0, 0, 40, 1, 0, 0,
52, 1, 0, 0, 5, 0,
0, 0, 1, 0, 6, 0,
1, 0, 2, 0, 68, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 0, 0, 0, 0,
196, 0, 0, 0, 220, 0,
0, 0, 1, 0, 0, 0,
236, 0, 0, 0, 0, 0,
0, 0, 248, 0, 0, 0,
0, 1, 0, 0, 1, 0,
0, 0, 16, 1, 0, 0,
196, 0, 0, 0, 28, 1,
0, 0, 84, 1, 0, 0,
2, 0, 0, 0, 100, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 1, 0, 228, 176,
0, 8, 228, 160, 4, 0,
0, 4, 1, 0, 8, 128,
0, 0, 255, 128, 0, 0,
255, 176, 0, 0, 0, 161,
5, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
0, 0, 228, 176, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 88, 0,
0, 4, 0, 0, 15, 128,
1, 0, 255, 128, 0, 0,
255, 160, 0, 0, 170, 160,
65, 0, 0, 1, 0, 0,
15, 128, 255, 255, 0, 0,
83, 72, 68, 82, 44, 1,
0, 0, 64, 0, 0, 0,
75, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 2, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
49, 0, 0, 8, 18, 0,
16, 0, 1, 0, 0, 0,
58, 0, 16, 0, 0, 0,
0, 0, 10, 128, 32, 0,
0, 0, 0, 0, 1, 0,
0, 0, 54, 0, 0, 5,
242, 32, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 55, 0,
0, 11, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 1, 0, 0, 0,
42, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
58, 128, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
49, 0, 0, 7, 18, 0,
16, 0, 0, 0, 0, 0,
10, 0, 16, 0, 0, 0,
0, 0, 1, 64, 0, 0,
0, 0, 0, 0, 13, 0,
4, 3, 10, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
72, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
62, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,391 +1,391 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 3 5 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSAlphaTest<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSAlphaTest<7>
#line 43
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 31 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTest<10,11>
mov oPos.w, r0.z // ::VSAlphaTest<13>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSAlphaTest<0,1,2,3>
mov oT1.xyz, c7.x // ::VSAlphaTest<4,5,6>
#line 38 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mov oT2.xy, v1 // ::VSAlphaTest<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[3].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[4].xyzw
dp4 o3.y, v0.xyzw, cb0[5].xyzw
dp4 o3.z, v0.xyzw, cb0[6].xyzw
dp4 o3.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTest[] =
{
68, 88, 66, 67, 255, 40,
145, 246, 120, 88, 134, 81,
158, 218, 110, 132, 75, 85,
112, 141, 1, 0, 0, 0,
252, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
188, 4, 0, 0, 24, 6,
0, 0, 112, 6, 0, 0,
65, 111, 110, 57, 132, 4,
0, 0, 132, 4, 0, 0,
0, 2, 254, 255, 68, 4,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
5, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
213, 0, 68, 66, 85, 71,
40, 0, 0, 0, 40, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 15, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 236, 2, 0, 0,
64, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
92, 3, 0, 0, 0, 0,
255, 255, 116, 3, 0, 0,
0, 0, 255, 255, 128, 3,
0, 0, 43, 0, 0, 0,
140, 3, 0, 0, 14, 0,
0, 0, 156, 3, 0, 0,
14, 0, 0, 0, 172, 3,
0, 0, 14, 0, 0, 0,
188, 3, 0, 0, 43, 0,
0, 0, 204, 3, 0, 0,
43, 0, 0, 0, 220, 3,
0, 0, 43, 0, 0, 0,
236, 3, 0, 0, 31, 0,
1, 0, 252, 3, 0, 0,
31, 0, 1, 0, 16, 4,
0, 0, 44, 0, 0, 0,
28, 4, 0, 0, 45, 0,
0, 0, 40, 4, 0, 0,
38, 0, 1, 0, 52, 4,
0, 0, 86, 83, 65, 108,
112, 104, 97, 84, 101, 115,
116, 0, 68, 105, 102, 102,
117, 115, 101, 0, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 84,
101, 120, 67, 111, 111, 114,
100, 0, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 76, 1, 0, 0,
84, 1, 0, 0, 100, 1,
0, 0, 84, 1, 0, 0,
109, 1, 0, 0, 120, 1,
0, 0, 136, 1, 0, 0,
84, 1, 0, 0, 5, 0,
0, 0, 1, 0, 14, 0,
1, 0, 4, 0, 148, 1,
0, 0, 3, 0, 0, 0,
255, 255, 255, 255, 12, 0,
255, 255, 6, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 10, 0, 0, 0,
10, 0, 11, 0, 255, 255,
255, 255, 11, 0, 0, 0,
255, 255, 255, 255, 255, 255,
13, 0, 12, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 13, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 14, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
28, 2, 0, 0, 84, 1,
0, 0, 109, 1, 0, 0,
120, 1, 0, 0, 5, 0,
0, 0, 1, 0, 6, 0,
1, 0, 2, 0, 40, 2,
0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 2, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 101, 2,
0, 0, 84, 1, 0, 0,
76, 1, 0, 0, 84, 1,
0, 0, 100, 1, 0, 0,
108, 2, 0, 0, 124, 2,
0, 0, 136, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
152, 2, 0, 0, 7, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 8, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 9, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 64, 1, 0, 0,
180, 1, 0, 0, 7, 0,
0, 0, 196, 1, 0, 0,
64, 1, 0, 0, 24, 2,
0, 0, 56, 2, 0, 0,
2, 0, 0, 0, 72, 2,
0, 0, 0, 0, 0, 0,
96, 2, 0, 0, 184, 2,
0, 0, 3, 0, 0, 0,
200, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 81, 0, 0, 5,
7, 0, 15, 160, 0, 0,
0, 0, 0, 0, 128, 63,
0, 0, 0, 0, 0, 0,
0, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 5, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 11, 0,
0, 3, 0, 0, 1, 128,
0, 0, 0, 128, 7, 0,
0, 160, 10, 0, 0, 3,
1, 0, 8, 224, 0, 0,
0, 128, 7, 0, 85, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
3, 0, 228, 160, 9, 0,
0, 3, 0, 0, 2, 128,
0, 0, 228, 144, 4, 0,
228, 160, 9, 0, 0, 3,
0, 0, 4, 128, 0, 0,
228, 144, 6, 0, 228, 160,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 170, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 192, 0, 0,
170, 128, 1, 0, 0, 2,
0, 0, 15, 224, 1, 0,
228, 160, 1, 0, 0, 2,
1, 0, 7, 224, 7, 0,
0, 160, 1, 0, 0, 2,
2, 0, 3, 224, 1, 0,
228, 144, 255, 255, 0, 0,
83, 72, 68, 82, 84, 1,
0, 0, 64, 0, 1, 0,
85, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 8, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
50, 32, 16, 0, 2, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 3, 0,
0, 0, 1, 0, 0, 0,
54, 0, 0, 6, 242, 32,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
17, 32, 0, 8, 130, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 3, 0,
0, 0, 54, 0, 0, 8,
114, 32, 16, 0, 1, 0,
0, 0, 2, 64, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
2, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 4, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
5, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 6, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 7, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 80, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 171, 171, 79, 83,
71, 78, 132, 0, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 104, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 104, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 0,
0, 0, 110, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 3, 12,
0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
3, 0, 0, 0, 15, 0,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 83,
86, 95, 80, 111, 115, 105,
116, 105, 111, 110, 0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 3 5 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSAlphaTest<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSAlphaTest<7>
#line 43
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 31 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTest<10,11>
mov oPos.w, r0.z // ::VSAlphaTest<13>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSAlphaTest<0,1,2,3>
mov oT1.xyz, c7.x // ::VSAlphaTest<4,5,6>
#line 38 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mov oT2.xy, v1 // ::VSAlphaTest<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[3].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[4].xyzw
dp4 o3.y, v0.xyzw, cb0[5].xyzw
dp4 o3.z, v0.xyzw, cb0[6].xyzw
dp4 o3.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTest[] =
{
68, 88, 66, 67, 255, 40,
145, 246, 120, 88, 134, 81,
158, 218, 110, 132, 75, 85,
112, 141, 1, 0, 0, 0,
252, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
188, 4, 0, 0, 24, 6,
0, 0, 112, 6, 0, 0,
65, 111, 110, 57, 132, 4,
0, 0, 132, 4, 0, 0,
0, 2, 254, 255, 68, 4,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
5, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
213, 0, 68, 66, 85, 71,
40, 0, 0, 0, 40, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 15, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 236, 2, 0, 0,
64, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
92, 3, 0, 0, 0, 0,
255, 255, 116, 3, 0, 0,
0, 0, 255, 255, 128, 3,
0, 0, 43, 0, 0, 0,
140, 3, 0, 0, 14, 0,
0, 0, 156, 3, 0, 0,
14, 0, 0, 0, 172, 3,
0, 0, 14, 0, 0, 0,
188, 3, 0, 0, 43, 0,
0, 0, 204, 3, 0, 0,
43, 0, 0, 0, 220, 3,
0, 0, 43, 0, 0, 0,
236, 3, 0, 0, 31, 0,
1, 0, 252, 3, 0, 0,
31, 0, 1, 0, 16, 4,
0, 0, 44, 0, 0, 0,
28, 4, 0, 0, 45, 0,
0, 0, 40, 4, 0, 0,
38, 0, 1, 0, 52, 4,
0, 0, 86, 83, 65, 108,
112, 104, 97, 84, 101, 115,
116, 0, 68, 105, 102, 102,
117, 115, 101, 0, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 84,
101, 120, 67, 111, 111, 114,
100, 0, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 76, 1, 0, 0,
84, 1, 0, 0, 100, 1,
0, 0, 84, 1, 0, 0,
109, 1, 0, 0, 120, 1,
0, 0, 136, 1, 0, 0,
84, 1, 0, 0, 5, 0,
0, 0, 1, 0, 14, 0,
1, 0, 4, 0, 148, 1,
0, 0, 3, 0, 0, 0,
255, 255, 255, 255, 12, 0,
255, 255, 6, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 10, 0, 0, 0,
10, 0, 11, 0, 255, 255,
255, 255, 11, 0, 0, 0,
255, 255, 255, 255, 255, 255,
13, 0, 12, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 13, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 14, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
28, 2, 0, 0, 84, 1,
0, 0, 109, 1, 0, 0,
120, 1, 0, 0, 5, 0,
0, 0, 1, 0, 6, 0,
1, 0, 2, 0, 40, 2,
0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 2, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 101, 2,
0, 0, 84, 1, 0, 0,
76, 1, 0, 0, 84, 1,
0, 0, 100, 1, 0, 0,
108, 2, 0, 0, 124, 2,
0, 0, 136, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
152, 2, 0, 0, 7, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 8, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 9, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 64, 1, 0, 0,
180, 1, 0, 0, 7, 0,
0, 0, 196, 1, 0, 0,
64, 1, 0, 0, 24, 2,
0, 0, 56, 2, 0, 0,
2, 0, 0, 0, 72, 2,
0, 0, 0, 0, 0, 0,
96, 2, 0, 0, 184, 2,
0, 0, 3, 0, 0, 0,
200, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 81, 0, 0, 5,
7, 0, 15, 160, 0, 0,
0, 0, 0, 0, 128, 63,
0, 0, 0, 0, 0, 0,
0, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 5, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 11, 0,
0, 3, 0, 0, 1, 128,
0, 0, 0, 128, 7, 0,
0, 160, 10, 0, 0, 3,
1, 0, 8, 224, 0, 0,
0, 128, 7, 0, 85, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
3, 0, 228, 160, 9, 0,
0, 3, 0, 0, 2, 128,
0, 0, 228, 144, 4, 0,
228, 160, 9, 0, 0, 3,
0, 0, 4, 128, 0, 0,
228, 144, 6, 0, 228, 160,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 170, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 192, 0, 0,
170, 128, 1, 0, 0, 2,
0, 0, 15, 224, 1, 0,
228, 160, 1, 0, 0, 2,
1, 0, 7, 224, 7, 0,
0, 160, 1, 0, 0, 2,
2, 0, 3, 224, 1, 0,
228, 144, 255, 255, 0, 0,
83, 72, 68, 82, 84, 1,
0, 0, 64, 0, 1, 0,
85, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 8, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
50, 32, 16, 0, 2, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 3, 0,
0, 0, 1, 0, 0, 0,
54, 0, 0, 6, 242, 32,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
17, 32, 0, 8, 130, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 3, 0,
0, 0, 54, 0, 0, 8,
114, 32, 16, 0, 1, 0,
0, 0, 2, 64, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
2, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 4, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
5, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 6, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 7, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 80, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 171, 171, 79, 83,
71, 78, 132, 0, 0, 0,
4, 0, 0, 0, 8, 0,
0, 0, 104, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 104, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 0,
0, 0, 110, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 3, 12,
0, 0, 119, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
3, 0, 0, 0, 15, 0,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 83,
86, 95, 80, 111, 115, 105,
116, 105, 111, 110, 0, 171
};

Просмотреть файл

@ -1,338 +1,338 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 4 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSAlphaTestNoFog<8>
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTestNoFog<6,7>
mov oPos.w, r0.z // ::VSAlphaTestNoFog<9>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSAlphaTestNoFog<0,1,2,3>
#line 52 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mov oT1.xy, v1 // ::VSAlphaTestNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mov o0.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[4].xyzw
dp4 o2.y, v0.xyzw, cb0[5].xyzw
dp4 o2.z, v0.xyzw, cb0[6].xyzw
dp4 o2.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTestNoFog[] =
{
68, 88, 66, 67, 207, 148,
219, 221, 254, 173, 224, 76,
125, 101, 8, 38, 100, 128,
190, 218, 1, 0, 0, 0,
8, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
44, 4, 0, 0, 60, 5,
0, 0, 148, 5, 0, 0,
65, 111, 110, 57, 244, 3,
0, 0, 244, 3, 0, 0,
0, 2, 254, 255, 180, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 4, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
198, 0, 68, 66, 85, 71,
40, 0, 0, 0, 236, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 10, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 176, 2, 0, 0,
24, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
32, 3, 0, 0, 0, 0,
255, 255, 44, 3, 0, 0,
43, 0, 0, 0, 56, 3,
0, 0, 43, 0, 0, 0,
72, 3, 0, 0, 43, 0,
0, 0, 88, 3, 0, 0,
43, 0, 0, 0, 104, 3,
0, 0, 45, 0, 1, 0,
120, 3, 0, 0, 45, 0,
1, 0, 140, 3, 0, 0,
44, 0, 0, 0, 152, 3,
0, 0, 52, 0, 1, 0,
164, 3, 0, 0, 86, 83,
65, 108, 112, 104, 97, 84,
101, 115, 116, 78, 111, 70,
111, 103, 0, 68, 105, 102,
102, 117, 115, 101, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
84, 101, 120, 67, 111, 111,
114, 100, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 80, 111,
115, 105, 116, 105, 111, 110,
80, 83, 0, 171, 41, 1,
0, 0, 52, 1, 0, 0,
68, 1, 0, 0, 80, 1,
0, 0, 96, 1, 0, 0,
52, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 108, 1,
0, 0, 2, 0, 0, 0,
255, 255, 255, 255, 8, 0,
255, 255, 6, 0, 0, 0,
6, 0, 7, 0, 255, 255,
255, 255, 7, 0, 0, 0,
255, 255, 255, 255, 255, 255,
9, 0, 8, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 9, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
212, 1, 0, 0, 52, 1,
0, 0, 68, 1, 0, 0,
80, 1, 0, 0, 5, 0,
0, 0, 1, 0, 6, 0,
1, 0, 2, 0, 224, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 29, 2,
0, 0, 52, 1, 0, 0,
41, 1, 0, 0, 52, 1,
0, 0, 36, 2, 0, 0,
48, 2, 0, 0, 64, 2,
0, 0, 76, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
92, 2, 0, 0, 3, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 4, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 5, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 24, 1, 0, 0,
132, 1, 0, 0, 5, 0,
0, 0, 148, 1, 0, 0,
24, 1, 0, 0, 208, 1,
0, 0, 240, 1, 0, 0,
2, 0, 0, 0, 0, 2,
0, 0, 0, 0, 0, 0,
24, 2, 0, 0, 124, 2,
0, 0, 3, 0, 0, 0,
140, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 4, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 9, 0,
0, 3, 0, 0, 2, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 4, 128, 0, 0,
228, 144, 5, 0, 228, 160,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 170, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 192, 0, 0,
170, 128, 1, 0, 0, 2,
0, 0, 15, 224, 1, 0,
228, 160, 1, 0, 0, 2,
1, 0, 3, 224, 1, 0,
228, 144, 255, 255, 0, 0,
83, 72, 68, 82, 8, 1,
0, 0, 64, 0, 1, 0,
66, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 8, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 101, 0, 0, 3,
50, 32, 16, 0, 1, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 2, 0,
0, 0, 1, 0, 0, 0,
54, 0, 0, 6, 242, 32,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 5, 50, 32,
16, 0, 1, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
4, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 5, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 6, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
7, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
80, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 171, 171,
79, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 12, 0, 0, 95, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 4 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSAlphaTestNoFog<8>
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTestNoFog<6,7>
mov oPos.w, r0.z // ::VSAlphaTestNoFog<9>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSAlphaTestNoFog<0,1,2,3>
#line 52 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mov oT1.xy, v1 // ::VSAlphaTestNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mov o0.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[4].xyzw
dp4 o2.y, v0.xyzw, cb0[5].xyzw
dp4 o2.z, v0.xyzw, cb0[6].xyzw
dp4 o2.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTestNoFog[] =
{
68, 88, 66, 67, 207, 148,
219, 221, 254, 173, 224, 76,
125, 101, 8, 38, 100, 128,
190, 218, 1, 0, 0, 0,
8, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
44, 4, 0, 0, 60, 5,
0, 0, 148, 5, 0, 0,
65, 111, 110, 57, 244, 3,
0, 0, 244, 3, 0, 0,
0, 2, 254, 255, 180, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 4, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
198, 0, 68, 66, 85, 71,
40, 0, 0, 0, 236, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 10, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 176, 2, 0, 0,
24, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
32, 3, 0, 0, 0, 0,
255, 255, 44, 3, 0, 0,
43, 0, 0, 0, 56, 3,
0, 0, 43, 0, 0, 0,
72, 3, 0, 0, 43, 0,
0, 0, 88, 3, 0, 0,
43, 0, 0, 0, 104, 3,
0, 0, 45, 0, 1, 0,
120, 3, 0, 0, 45, 0,
1, 0, 140, 3, 0, 0,
44, 0, 0, 0, 152, 3,
0, 0, 52, 0, 1, 0,
164, 3, 0, 0, 86, 83,
65, 108, 112, 104, 97, 84,
101, 115, 116, 78, 111, 70,
111, 103, 0, 68, 105, 102,
102, 117, 115, 101, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
84, 101, 120, 67, 111, 111,
114, 100, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 80, 111,
115, 105, 116, 105, 111, 110,
80, 83, 0, 171, 41, 1,
0, 0, 52, 1, 0, 0,
68, 1, 0, 0, 80, 1,
0, 0, 96, 1, 0, 0,
52, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 108, 1,
0, 0, 2, 0, 0, 0,
255, 255, 255, 255, 8, 0,
255, 255, 6, 0, 0, 0,
6, 0, 7, 0, 255, 255,
255, 255, 7, 0, 0, 0,
255, 255, 255, 255, 255, 255,
9, 0, 8, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 9, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
212, 1, 0, 0, 52, 1,
0, 0, 68, 1, 0, 0,
80, 1, 0, 0, 5, 0,
0, 0, 1, 0, 6, 0,
1, 0, 2, 0, 224, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 29, 2,
0, 0, 52, 1, 0, 0,
41, 1, 0, 0, 52, 1,
0, 0, 36, 2, 0, 0,
48, 2, 0, 0, 64, 2,
0, 0, 76, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
92, 2, 0, 0, 3, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 4, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 5, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 24, 1, 0, 0,
132, 1, 0, 0, 5, 0,
0, 0, 148, 1, 0, 0,
24, 1, 0, 0, 208, 1,
0, 0, 240, 1, 0, 0,
2, 0, 0, 0, 0, 2,
0, 0, 0, 0, 0, 0,
24, 2, 0, 0, 124, 2,
0, 0, 3, 0, 0, 0,
140, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 4, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 9, 0,
0, 3, 0, 0, 2, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 4, 128, 0, 0,
228, 144, 5, 0, 228, 160,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 170, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 192, 0, 0,
170, 128, 1, 0, 0, 2,
0, 0, 15, 224, 1, 0,
228, 160, 1, 0, 0, 2,
1, 0, 3, 224, 1, 0,
228, 144, 255, 255, 0, 0,
83, 72, 68, 82, 8, 1,
0, 0, 64, 0, 1, 0,
66, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 8, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 101, 0, 0, 3,
50, 32, 16, 0, 1, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 2, 0,
0, 0, 1, 0, 0, 0,
54, 0, 0, 6, 242, 32,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 5, 50, 32,
16, 0, 1, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
4, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 5, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 6, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
7, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
80, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 171, 171,
79, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 12, 0, 0, 95, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};

Просмотреть файл

@ -1,413 +1,413 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 3 5 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSAlphaTestVc<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSAlphaTestVc<7>
#line 67 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mul oT0, v2, c1 // ::VSAlphaTestVc<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 59 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTestVc<10,11>
mov oPos.w, r0.z // ::VSAlphaTestVc<13>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT1.xyz, c7.x // ::VSAlphaTestVc<4,5,6>
#line 66 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mov oT2.xy, v1 // ::VSAlphaTestVc<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[3].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[4].xyzw
dp4 o3.y, v0.xyzw, cb0[5].xyzw
dp4 o3.z, v0.xyzw, cb0[6].xyzw
dp4 o3.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTestVc[] =
{
68, 88, 66, 67, 124, 161,
47, 199, 156, 187, 154, 232,
20, 254, 0, 96, 80, 141,
245, 57, 1, 0, 0, 0,
96, 7, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
240, 4, 0, 0, 96, 6,
0, 0, 212, 6, 0, 0,
65, 111, 110, 57, 184, 4,
0, 0, 184, 4, 0, 0,
0, 2, 254, 255, 120, 4,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
5, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
222, 0, 68, 66, 85, 71,
40, 0, 0, 0, 76, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 16, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 16, 3, 0, 0,
72, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
128, 3, 0, 0, 0, 0,
255, 255, 152, 3, 0, 0,
0, 0, 255, 255, 164, 3,
0, 0, 0, 0, 255, 255,
176, 3, 0, 0, 43, 0,
0, 0, 188, 3, 0, 0,
14, 0, 0, 0, 204, 3,
0, 0, 14, 0, 0, 0,
220, 3, 0, 0, 14, 0,
0, 0, 236, 3, 0, 0,
67, 0, 1, 0, 252, 3,
0, 0, 43, 0, 0, 0,
12, 4, 0, 0, 43, 0,
0, 0, 28, 4, 0, 0,
43, 0, 0, 0, 44, 4,
0, 0, 59, 0, 1, 0,
60, 4, 0, 0, 59, 0,
1, 0, 80, 4, 0, 0,
45, 0, 0, 0, 92, 4,
0, 0, 66, 0, 1, 0,
104, 4, 0, 0, 86, 83,
65, 108, 112, 104, 97, 84,
101, 115, 116, 86, 99, 0,
68, 105, 102, 102, 117, 115,
101, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 84,
101, 120, 67, 111, 111, 114,
100, 0, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 86, 1, 0, 0,
96, 1, 0, 0, 112, 1,
0, 0, 96, 1, 0, 0,
121, 1, 0, 0, 132, 1,
0, 0, 148, 1, 0, 0,
96, 1, 0, 0, 5, 0,
0, 0, 1, 0, 14, 0,
1, 0, 4, 0, 160, 1,
0, 0, 4, 0, 0, 0,
255, 255, 255, 255, 12, 0,
255, 255, 7, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 8, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 12, 0, 0, 0,
10, 0, 11, 0, 255, 255,
255, 255, 13, 0, 0, 0,
255, 255, 255, 255, 255, 255,
13, 0, 14, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 15, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 67, 111, 108,
111, 114, 0, 171, 40, 2,
0, 0, 96, 1, 0, 0,
121, 1, 0, 0, 132, 1,
0, 0, 49, 2, 0, 0,
96, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 56, 2,
0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 2, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 3, 0, 0, 0,
6, 0, 7, 0, 8, 0,
9, 0, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 137, 2,
0, 0, 96, 1, 0, 0,
86, 1, 0, 0, 96, 1,
0, 0, 112, 1, 0, 0,
144, 2, 0, 0, 160, 2,
0, 0, 172, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
188, 2, 0, 0, 9, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 10, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 11, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 72, 1, 0, 0,
192, 1, 0, 0, 7, 0,
0, 0, 208, 1, 0, 0,
72, 1, 0, 0, 36, 2,
0, 0, 80, 2, 0, 0,
3, 0, 0, 0, 96, 2,
0, 0, 0, 0, 0, 0,
132, 2, 0, 0, 220, 2,
0, 0, 3, 0, 0, 0,
236, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 81, 0, 0, 5,
7, 0, 15, 160, 0, 0,
0, 0, 0, 0, 128, 63,
0, 0, 0, 0, 0, 0,
0, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 31, 0, 0, 2,
5, 0, 2, 128, 2, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 5, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 11, 0,
0, 3, 0, 0, 1, 128,
0, 0, 0, 128, 7, 0,
0, 160, 10, 0, 0, 3,
1, 0, 8, 224, 0, 0,
0, 128, 7, 0, 85, 160,
5, 0, 0, 3, 0, 0,
15, 224, 2, 0, 228, 144,
1, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 4, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
6, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 1, 0,
7, 224, 7, 0, 0, 160,
1, 0, 0, 2, 2, 0,
3, 224, 1, 0, 228, 144,
255, 255, 0, 0, 83, 72,
68, 82, 104, 1, 0, 0,
64, 0, 1, 0, 90, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 8, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
95, 0, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 50, 32,
16, 0, 2, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 3, 0, 0, 0,
1, 0, 0, 0, 56, 0,
0, 8, 242, 32, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 2, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
17, 32, 0, 8, 130, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 3, 0,
0, 0, 54, 0, 0, 8,
114, 32, 16, 0, 1, 0,
0, 0, 2, 64, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
2, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 4, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
5, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 6, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 7, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 92, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 101, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 15, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 67, 79, 76, 79, 82,
0, 171, 79, 83, 71, 78,
132, 0, 0, 0, 4, 0,
0, 0, 8, 0, 0, 0,
104, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
104, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 0, 0, 0,
110, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 12, 0, 0,
119, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 3, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 83, 86, 95,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 3 5 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSAlphaTestVc<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSAlphaTestVc<7>
#line 67 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mul oT0, v2, c1 // ::VSAlphaTestVc<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 59 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTestVc<10,11>
mov oPos.w, r0.z // ::VSAlphaTestVc<13>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT1.xyz, c7.x // ::VSAlphaTestVc<4,5,6>
#line 66 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mov oT2.xy, v1 // ::VSAlphaTestVc<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[3].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[4].xyzw
dp4 o3.y, v0.xyzw, cb0[5].xyzw
dp4 o3.z, v0.xyzw, cb0[6].xyzw
dp4 o3.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTestVc[] =
{
68, 88, 66, 67, 124, 161,
47, 199, 156, 187, 154, 232,
20, 254, 0, 96, 80, 141,
245, 57, 1, 0, 0, 0,
96, 7, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
240, 4, 0, 0, 96, 6,
0, 0, 212, 6, 0, 0,
65, 111, 110, 57, 184, 4,
0, 0, 184, 4, 0, 0,
0, 2, 254, 255, 120, 4,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
5, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
222, 0, 68, 66, 85, 71,
40, 0, 0, 0, 76, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 16, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 16, 3, 0, 0,
72, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
128, 3, 0, 0, 0, 0,
255, 255, 152, 3, 0, 0,
0, 0, 255, 255, 164, 3,
0, 0, 0, 0, 255, 255,
176, 3, 0, 0, 43, 0,
0, 0, 188, 3, 0, 0,
14, 0, 0, 0, 204, 3,
0, 0, 14, 0, 0, 0,
220, 3, 0, 0, 14, 0,
0, 0, 236, 3, 0, 0,
67, 0, 1, 0, 252, 3,
0, 0, 43, 0, 0, 0,
12, 4, 0, 0, 43, 0,
0, 0, 28, 4, 0, 0,
43, 0, 0, 0, 44, 4,
0, 0, 59, 0, 1, 0,
60, 4, 0, 0, 59, 0,
1, 0, 80, 4, 0, 0,
45, 0, 0, 0, 92, 4,
0, 0, 66, 0, 1, 0,
104, 4, 0, 0, 86, 83,
65, 108, 112, 104, 97, 84,
101, 115, 116, 86, 99, 0,
68, 105, 102, 102, 117, 115,
101, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 84,
101, 120, 67, 111, 111, 114,
100, 0, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 86, 1, 0, 0,
96, 1, 0, 0, 112, 1,
0, 0, 96, 1, 0, 0,
121, 1, 0, 0, 132, 1,
0, 0, 148, 1, 0, 0,
96, 1, 0, 0, 5, 0,
0, 0, 1, 0, 14, 0,
1, 0, 4, 0, 160, 1,
0, 0, 4, 0, 0, 0,
255, 255, 255, 255, 12, 0,
255, 255, 7, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 8, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 12, 0, 0, 0,
10, 0, 11, 0, 255, 255,
255, 255, 13, 0, 0, 0,
255, 255, 255, 255, 255, 255,
13, 0, 14, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 15, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 67, 111, 108,
111, 114, 0, 171, 40, 2,
0, 0, 96, 1, 0, 0,
121, 1, 0, 0, 132, 1,
0, 0, 49, 2, 0, 0,
96, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 56, 2,
0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 2, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 3, 0, 0, 0,
6, 0, 7, 0, 8, 0,
9, 0, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 137, 2,
0, 0, 96, 1, 0, 0,
86, 1, 0, 0, 96, 1,
0, 0, 112, 1, 0, 0,
144, 2, 0, 0, 160, 2,
0, 0, 172, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
188, 2, 0, 0, 9, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 10, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 11, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 72, 1, 0, 0,
192, 1, 0, 0, 7, 0,
0, 0, 208, 1, 0, 0,
72, 1, 0, 0, 36, 2,
0, 0, 80, 2, 0, 0,
3, 0, 0, 0, 96, 2,
0, 0, 0, 0, 0, 0,
132, 2, 0, 0, 220, 2,
0, 0, 3, 0, 0, 0,
236, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 81, 0, 0, 5,
7, 0, 15, 160, 0, 0,
0, 0, 0, 0, 128, 63,
0, 0, 0, 0, 0, 0,
0, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 31, 0, 0, 2,
5, 0, 2, 128, 2, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 5, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 11, 0,
0, 3, 0, 0, 1, 128,
0, 0, 0, 128, 7, 0,
0, 160, 10, 0, 0, 3,
1, 0, 8, 224, 0, 0,
0, 128, 7, 0, 85, 160,
5, 0, 0, 3, 0, 0,
15, 224, 2, 0, 228, 144,
1, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 4, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
6, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 1, 0,
7, 224, 7, 0, 0, 160,
1, 0, 0, 2, 2, 0,
3, 224, 1, 0, 228, 144,
255, 255, 0, 0, 83, 72,
68, 82, 104, 1, 0, 0,
64, 0, 1, 0, 90, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 8, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
95, 0, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 50, 32,
16, 0, 2, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 3, 0, 0, 0,
1, 0, 0, 0, 56, 0,
0, 8, 242, 32, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 2, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
17, 32, 0, 8, 130, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 3, 0,
0, 0, 54, 0, 0, 8,
114, 32, 16, 0, 1, 0,
0, 0, 2, 64, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
2, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 4, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
5, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 6, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 7, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 92, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 101, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 15, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 67, 79, 76, 79, 82,
0, 171, 79, 83, 71, 78,
132, 0, 0, 0, 4, 0,
0, 0, 8, 0, 0, 0,
104, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
104, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 0, 0, 0,
110, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 12, 0, 0,
119, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 3, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 83, 86, 95,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171
};

Просмотреть файл

@ -1,359 +1,359 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 4 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSAlphaTestVcNoFog<8>
#line 82 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mul oT0, v2, c1 // ::VSAlphaTestVcNoFog<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 74 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTestVcNoFog<6,7>
mov oPos.w, r0.z // ::VSAlphaTestVcNoFog<9>
#line 81
mov oT1.xy, v1 // ::VSAlphaTestVcNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[4].xyzw
dp4 o2.y, v0.xyzw, cb0[5].xyzw
dp4 o2.z, v0.xyzw, cb0[6].xyzw
dp4 o2.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTestVcNoFog[] =
{
68, 88, 66, 67, 94, 24,
150, 63, 175, 120, 20, 171,
41, 251, 49, 158, 33, 122,
112, 142, 1, 0, 0, 0,
104, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
92, 4, 0, 0, 128, 5,
0, 0, 244, 5, 0, 0,
65, 111, 110, 57, 36, 4,
0, 0, 36, 4, 0, 0,
0, 2, 254, 255, 228, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 4, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
206, 0, 68, 66, 85, 71,
40, 0, 0, 0, 12, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 11, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 208, 2, 0, 0,
32, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
64, 3, 0, 0, 0, 0,
255, 255, 76, 3, 0, 0,
0, 0, 255, 255, 88, 3,
0, 0, 43, 0, 0, 0,
100, 3, 0, 0, 82, 0,
1, 0, 116, 3, 0, 0,
43, 0, 0, 0, 132, 3,
0, 0, 43, 0, 0, 0,
148, 3, 0, 0, 43, 0,
0, 0, 164, 3, 0, 0,
74, 0, 1, 0, 180, 3,
0, 0, 74, 0, 1, 0,
200, 3, 0, 0, 81, 0,
1, 0, 212, 3, 0, 0,
86, 83, 65, 108, 112, 104,
97, 84, 101, 115, 116, 86,
99, 78, 111, 70, 111, 103,
0, 68, 105, 102, 102, 117,
115, 101, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 84, 101, 120, 67,
111, 111, 114, 100, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
80, 111, 115, 105, 116, 105,
111, 110, 80, 83, 0, 171,
51, 1, 0, 0, 60, 1,
0, 0, 76, 1, 0, 0,
88, 1, 0, 0, 104, 1,
0, 0, 60, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
116, 1, 0, 0, 3, 0,
0, 0, 255, 255, 255, 255,
8, 0, 255, 255, 4, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 8, 0,
0, 0, 6, 0, 7, 0,
255, 255, 255, 255, 9, 0,
0, 0, 255, 255, 255, 255,
255, 255, 9, 0, 10, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 118, 105,
110, 0, 80, 111, 115, 105,
116, 105, 111, 110, 0, 67,
111, 108, 111, 114, 0, 171,
220, 1, 0, 0, 60, 1,
0, 0, 76, 1, 0, 0,
88, 1, 0, 0, 229, 1,
0, 0, 60, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
236, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 2, 0,
0, 0, 6, 0, 7, 0,
8, 0, 9, 0, 118, 111,
117, 116, 0, 80, 111, 115,
95, 112, 115, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0,
0, 0, 70, 111, 103, 70,
97, 99, 116, 111, 114, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
61, 2, 0, 0, 60, 1,
0, 0, 51, 1, 0, 0,
60, 1, 0, 0, 68, 2,
0, 0, 80, 2, 0, 0,
96, 2, 0, 0, 108, 2,
0, 0, 5, 0, 0, 0,
1, 0, 12, 0, 1, 0,
4, 0, 124, 2, 0, 0,
5, 0, 0, 0, 0, 0,
255, 255, 255, 255, 255, 255,
6, 0, 0, 0, 255, 255,
1, 0, 255, 255, 255, 255,
7, 0, 0, 0, 255, 255,
255, 255, 3, 0, 255, 255,
0, 0, 0, 0, 32, 1,
0, 0, 140, 1, 0, 0,
5, 0, 0, 0, 156, 1,
0, 0, 32, 1, 0, 0,
216, 1, 0, 0, 4, 2,
0, 0, 3, 0, 0, 0,
20, 2, 0, 0, 0, 0,
0, 0, 56, 2, 0, 0,
156, 2, 0, 0, 3, 0,
0, 0, 172, 2, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 5, 0, 0, 128,
0, 0, 15, 144, 31, 0,
0, 2, 5, 0, 1, 128,
1, 0, 15, 144, 31, 0,
0, 2, 5, 0, 2, 128,
2, 0, 15, 144, 9, 0,
0, 3, 0, 0, 4, 192,
0, 0, 228, 144, 4, 0,
228, 160, 5, 0, 0, 3,
0, 0, 15, 224, 2, 0,
228, 144, 1, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 9, 0,
0, 3, 0, 0, 2, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 4, 128, 0, 0,
228, 144, 5, 0, 228, 160,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 170, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 192, 0, 0,
170, 128, 1, 0, 0, 2,
1, 0, 3, 224, 1, 0,
228, 144, 255, 255, 0, 0,
83, 72, 68, 82, 28, 1,
0, 0, 64, 0, 1, 0,
71, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 8, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 2, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 101, 0, 0, 3,
50, 32, 16, 0, 1, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 2, 0,
0, 0, 1, 0, 0, 0,
56, 0, 0, 8, 242, 32,
16, 0, 0, 0, 0, 0,
70, 30, 16, 0, 2, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 5,
50, 32, 16, 0, 1, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 17, 0,
0, 8, 18, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 4, 0, 0, 0,
17, 0, 0, 8, 34, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 5, 0,
0, 0, 17, 0, 0, 8,
66, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
6, 0, 0, 0, 17, 0,
0, 8, 130, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 7, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 108, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 92, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 101, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 15, 15,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 67,
79, 76, 79, 82, 0, 171,
79, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 12, 0, 0, 95, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 4 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSAlphaTestVcNoFog<8>
#line 82 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mul oT0, v2, c1 // ::VSAlphaTestVcNoFog<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 74 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\AlphaTestEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSAlphaTestVcNoFog<6,7>
mov oPos.w, r0.z // ::VSAlphaTestVcNoFog<9>
#line 81
mov oT1.xy, v1 // ::VSAlphaTestVcNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[8], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[4].xyzw
dp4 o2.y, v0.xyzw, cb0[5].xyzw
dp4 o2.z, v0.xyzw, cb0[6].xyzw
dp4 o2.w, v0.xyzw, cb0[7].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE AlphaTestEffect_VSAlphaTestVcNoFog[] =
{
68, 88, 66, 67, 94, 24,
150, 63, 175, 120, 20, 171,
41, 251, 49, 158, 33, 122,
112, 142, 1, 0, 0, 0,
104, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
92, 4, 0, 0, 128, 5,
0, 0, 244, 5, 0, 0,
65, 111, 110, 57, 36, 4,
0, 0, 36, 4, 0, 0,
0, 2, 254, 255, 228, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 4, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
206, 0, 68, 66, 85, 71,
40, 0, 0, 0, 12, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 192, 0,
0, 0, 11, 0, 0, 0,
200, 0, 0, 0, 3, 0,
0, 0, 208, 2, 0, 0,
32, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 65,
108, 112, 104, 97, 84, 101,
115, 116, 69, 102, 102, 101,
99, 116, 46, 102, 120, 0,
40, 0, 0, 0, 112, 0,
0, 0, 0, 0, 255, 255,
64, 3, 0, 0, 0, 0,
255, 255, 76, 3, 0, 0,
0, 0, 255, 255, 88, 3,
0, 0, 43, 0, 0, 0,
100, 3, 0, 0, 82, 0,
1, 0, 116, 3, 0, 0,
43, 0, 0, 0, 132, 3,
0, 0, 43, 0, 0, 0,
148, 3, 0, 0, 43, 0,
0, 0, 164, 3, 0, 0,
74, 0, 1, 0, 180, 3,
0, 0, 74, 0, 1, 0,
200, 3, 0, 0, 81, 0,
1, 0, 212, 3, 0, 0,
86, 83, 65, 108, 112, 104,
97, 84, 101, 115, 116, 86,
99, 78, 111, 70, 111, 103,
0, 68, 105, 102, 102, 117,
115, 101, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 84, 101, 120, 67,
111, 111, 114, 100, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
80, 111, 115, 105, 116, 105,
111, 110, 80, 83, 0, 171,
51, 1, 0, 0, 60, 1,
0, 0, 76, 1, 0, 0,
88, 1, 0, 0, 104, 1,
0, 0, 60, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
116, 1, 0, 0, 3, 0,
0, 0, 255, 255, 255, 255,
8, 0, 255, 255, 4, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 8, 0,
0, 0, 6, 0, 7, 0,
255, 255, 255, 255, 9, 0,
0, 0, 255, 255, 255, 255,
255, 255, 9, 0, 10, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 118, 105,
110, 0, 80, 111, 115, 105,
116, 105, 111, 110, 0, 67,
111, 108, 111, 114, 0, 171,
220, 1, 0, 0, 60, 1,
0, 0, 76, 1, 0, 0,
88, 1, 0, 0, 229, 1,
0, 0, 60, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
236, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 2, 0,
0, 0, 6, 0, 7, 0,
8, 0, 9, 0, 118, 111,
117, 116, 0, 80, 111, 115,
95, 112, 115, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0,
0, 0, 70, 111, 103, 70,
97, 99, 116, 111, 114, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
61, 2, 0, 0, 60, 1,
0, 0, 51, 1, 0, 0,
60, 1, 0, 0, 68, 2,
0, 0, 80, 2, 0, 0,
96, 2, 0, 0, 108, 2,
0, 0, 5, 0, 0, 0,
1, 0, 12, 0, 1, 0,
4, 0, 124, 2, 0, 0,
5, 0, 0, 0, 0, 0,
255, 255, 255, 255, 255, 255,
6, 0, 0, 0, 255, 255,
1, 0, 255, 255, 255, 255,
7, 0, 0, 0, 255, 255,
255, 255, 3, 0, 255, 255,
0, 0, 0, 0, 32, 1,
0, 0, 140, 1, 0, 0,
5, 0, 0, 0, 156, 1,
0, 0, 32, 1, 0, 0,
216, 1, 0, 0, 4, 2,
0, 0, 3, 0, 0, 0,
20, 2, 0, 0, 0, 0,
0, 0, 56, 2, 0, 0,
156, 2, 0, 0, 3, 0,
0, 0, 172, 2, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 5, 0, 0, 128,
0, 0, 15, 144, 31, 0,
0, 2, 5, 0, 1, 128,
1, 0, 15, 144, 31, 0,
0, 2, 5, 0, 2, 128,
2, 0, 15, 144, 9, 0,
0, 3, 0, 0, 4, 192,
0, 0, 228, 144, 4, 0,
228, 160, 5, 0, 0, 3,
0, 0, 15, 224, 2, 0,
228, 144, 1, 0, 228, 160,
9, 0, 0, 3, 0, 0,
1, 128, 0, 0, 228, 144,
2, 0, 228, 160, 9, 0,
0, 3, 0, 0, 2, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 4, 128, 0, 0,
228, 144, 5, 0, 228, 160,
4, 0, 0, 4, 0, 0,
3, 192, 0, 0, 170, 128,
0, 0, 228, 160, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 192, 0, 0,
170, 128, 1, 0, 0, 2,
1, 0, 3, 224, 1, 0,
228, 144, 255, 255, 0, 0,
83, 72, 68, 82, 28, 1,
0, 0, 64, 0, 1, 0,
71, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 8, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 0, 0,
0, 0, 95, 0, 0, 3,
50, 16, 16, 0, 1, 0,
0, 0, 95, 0, 0, 3,
242, 16, 16, 0, 2, 0,
0, 0, 101, 0, 0, 3,
242, 32, 16, 0, 0, 0,
0, 0, 101, 0, 0, 3,
50, 32, 16, 0, 1, 0,
0, 0, 103, 0, 0, 4,
242, 32, 16, 0, 2, 0,
0, 0, 1, 0, 0, 0,
56, 0, 0, 8, 242, 32,
16, 0, 0, 0, 0, 0,
70, 30, 16, 0, 2, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 5,
50, 32, 16, 0, 1, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 17, 0,
0, 8, 18, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 4, 0, 0, 0,
17, 0, 0, 8, 34, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 5, 0,
0, 0, 17, 0, 0, 8,
66, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
6, 0, 0, 0, 17, 0,
0, 8, 130, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 7, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 108, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 92, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 101, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 15, 15,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 67,
79, 76, 79, 82, 0, 171,
79, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 12, 0, 0, 95, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};

Просмотреть файл

@ -1,219 +1,219 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r0.xyz, c0, t0.w, -t0
mov r1.xyz, t0 // pin<0,1,2>
mad r0.xyz, t1.w, r0, r1 // ApplyFog::color<0,1,2>
mov r0.w, t0.w
mov oC0, r0 // ::PSBasic<0,1,2,3>
// approximately 5 instruction slots used
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_output o0.xyzw
dcl_temps 1
mad r0.xyz, cb0[13].xyzx, v0.wwww, -v0.xyzx
mad o0.xyz, v1.wwww, r0.xyzx, v0.xyzx
mov o0.w, v0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasic[] =
{
68, 88, 66, 67, 104, 28,
200, 216, 203, 28, 187, 25,
239, 16, 192, 12, 11, 57,
57, 72, 1, 0, 0, 0,
200, 3, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
152, 2, 0, 0, 76, 3,
0, 0, 148, 3, 0, 0,
65, 111, 110, 57, 96, 2,
0, 0, 96, 2, 0, 0,
0, 2, 255, 255, 48, 2,
0, 0, 48, 0, 0, 0,
1, 0, 36, 0, 0, 0,
48, 0, 0, 0, 48, 0,
0, 0, 36, 0, 0, 0,
48, 0, 0, 0, 13, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 2, 255, 255,
254, 255, 112, 0, 68, 66,
85, 71, 40, 0, 0, 0,
148, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
112, 0, 0, 0, 7, 0,
0, 0, 116, 0, 0, 0,
3, 0, 0, 0, 88, 1,
0, 0, 172, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 0, 0,
255, 255, 200, 1, 0, 0,
0, 0, 255, 255, 212, 1,
0, 0, 20, 0, 0, 0,
224, 1, 0, 0, 20, 0,
0, 0, 244, 1, 0, 0,
20, 0, 0, 0, 0, 2,
0, 0, 20, 0, 0, 0,
20, 2, 0, 0, 20, 0,
0, 0, 32, 2, 0, 0,
80, 83, 66, 97, 115, 105,
99, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
65, 112, 112, 108, 121, 70,
111, 103, 0, 99, 111, 108,
111, 114, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 0, 1, 0, 0,
224, 0, 0, 0, 8, 1,
0, 0, 224, 0, 0, 0,
5, 0, 0, 0, 1, 0,
8, 0, 1, 0, 2, 0,
20, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 3, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 0, 0,
0, 0, 172, 0, 0, 0,
180, 0, 0, 0, 1, 0,
0, 0, 196, 0, 0, 0,
208, 0, 0, 0, 217, 0,
0, 0, 224, 0, 0, 0,
1, 0, 0, 0, 240, 0,
0, 0, 172, 0, 0, 0,
252, 0, 0, 0, 36, 1,
0, 0, 3, 0, 0, 0,
52, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
15, 176, 4, 0, 0, 4,
0, 0, 7, 128, 0, 0,
228, 160, 0, 0, 255, 176,
0, 0, 228, 177, 1, 0,
0, 2, 1, 0, 7, 128,
0, 0, 228, 176, 4, 0,
0, 4, 0, 0, 7, 128,
1, 0, 255, 176, 0, 0,
228, 128, 1, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 128, 0, 0, 255, 176,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 172, 0, 0, 0,
64, 0, 0, 0, 43, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 130, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 50, 0, 0, 11,
114, 0, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
0, 0, 0, 0, 13, 0,
0, 0, 246, 31, 16, 0,
0, 0, 0, 0, 70, 18,
16, 128, 65, 0, 0, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 246, 31,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 130, 32, 16, 0,
0, 0, 0, 0, 58, 16,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 64, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 56, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 8,
0, 0, 67, 79, 76, 79,
82, 0, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r0.xyz, c0, t0.w, -t0
mov r1.xyz, t0 // pin<0,1,2>
mad r0.xyz, t1.w, r0, r1 // ApplyFog::color<0,1,2>
mov r0.w, t0.w
mov oC0, r0 // ::PSBasic<0,1,2,3>
// approximately 5 instruction slots used
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_output o0.xyzw
dcl_temps 1
mad r0.xyz, cb0[13].xyzx, v0.wwww, -v0.xyzx
mad o0.xyz, v1.wwww, r0.xyzx, v0.xyzx
mov o0.w, v0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasic[] =
{
68, 88, 66, 67, 104, 28,
200, 216, 203, 28, 187, 25,
239, 16, 192, 12, 11, 57,
57, 72, 1, 0, 0, 0,
200, 3, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
152, 2, 0, 0, 76, 3,
0, 0, 148, 3, 0, 0,
65, 111, 110, 57, 96, 2,
0, 0, 96, 2, 0, 0,
0, 2, 255, 255, 48, 2,
0, 0, 48, 0, 0, 0,
1, 0, 36, 0, 0, 0,
48, 0, 0, 0, 48, 0,
0, 0, 36, 0, 0, 0,
48, 0, 0, 0, 13, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 2, 255, 255,
254, 255, 112, 0, 68, 66,
85, 71, 40, 0, 0, 0,
148, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
112, 0, 0, 0, 7, 0,
0, 0, 116, 0, 0, 0,
3, 0, 0, 0, 88, 1,
0, 0, 172, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 0, 0,
255, 255, 200, 1, 0, 0,
0, 0, 255, 255, 212, 1,
0, 0, 20, 0, 0, 0,
224, 1, 0, 0, 20, 0,
0, 0, 244, 1, 0, 0,
20, 0, 0, 0, 0, 2,
0, 0, 20, 0, 0, 0,
20, 2, 0, 0, 20, 0,
0, 0, 32, 2, 0, 0,
80, 83, 66, 97, 115, 105,
99, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
65, 112, 112, 108, 121, 70,
111, 103, 0, 99, 111, 108,
111, 114, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 0, 1, 0, 0,
224, 0, 0, 0, 8, 1,
0, 0, 224, 0, 0, 0,
5, 0, 0, 0, 1, 0,
8, 0, 1, 0, 2, 0,
20, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 3, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 0, 0,
0, 0, 172, 0, 0, 0,
180, 0, 0, 0, 1, 0,
0, 0, 196, 0, 0, 0,
208, 0, 0, 0, 217, 0,
0, 0, 224, 0, 0, 0,
1, 0, 0, 0, 240, 0,
0, 0, 172, 0, 0, 0,
252, 0, 0, 0, 36, 1,
0, 0, 3, 0, 0, 0,
52, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
15, 176, 4, 0, 0, 4,
0, 0, 7, 128, 0, 0,
228, 160, 0, 0, 255, 176,
0, 0, 228, 177, 1, 0,
0, 2, 1, 0, 7, 128,
0, 0, 228, 176, 4, 0,
0, 4, 0, 0, 7, 128,
1, 0, 255, 176, 0, 0,
228, 128, 1, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 128, 0, 0, 255, 176,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 172, 0, 0, 0,
64, 0, 0, 0, 43, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 130, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 1, 0,
0, 0, 50, 0, 0, 11,
114, 0, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
0, 0, 0, 0, 13, 0,
0, 0, 246, 31, 16, 0,
0, 0, 0, 0, 70, 18,
16, 128, 65, 0, 0, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 246, 31,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 130, 32, 16, 0,
0, 0, 0, 0, 58, 16,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 64, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 56, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 8,
0, 0, 67, 79, 76, 79,
82, 0, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,143 +1,143 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
#line 337 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oC0, t0 // ::PSBasicNoFog<0,1,2,3>
// approximately 1 instruction slot used
ps_4_0
dcl_input_ps linear v0.xyzw
dcl_output o0.xyzw
mov o0.xyzw, v0.xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicNoFog[] =
{
68, 88, 66, 67, 232, 176,
83, 255, 78, 108, 93, 164,
27, 101, 219, 150, 126, 40,
97, 100, 1, 0, 0, 0,
108, 2, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
200, 1, 0, 0, 8, 2,
0, 0, 56, 2, 0, 0,
65, 111, 110, 57, 144, 1,
0, 0, 144, 1, 0, 0,
0, 2, 255, 255, 108, 1,
0, 0, 36, 0, 0, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 0, 36, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 2, 255, 255,
254, 255, 82, 0, 68, 66,
85, 71, 40, 0, 0, 0,
28, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
116, 0, 0, 0, 2, 0,
0, 0, 120, 0, 0, 0,
2, 0, 0, 0, 244, 0,
0, 0, 136, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 66, 97, 115, 105, 99,
69, 102, 102, 101, 99, 116,
46, 102, 120, 0, 40, 0,
0, 0, 0, 0, 255, 255,
80, 1, 0, 0, 81, 1,
0, 0, 92, 1, 0, 0,
80, 83, 66, 97, 115, 105,
99, 78, 111, 70, 111, 103,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
184, 0, 0, 0, 192, 0,
0, 0, 5, 0, 0, 0,
1, 0, 4, 0, 1, 0,
1, 0, 208, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
0, 0, 0, 0, 136, 0,
0, 0, 152, 0, 0, 0,
1, 0, 0, 0, 168, 0,
0, 0, 136, 0, 0, 0,
180, 0, 0, 0, 216, 0,
0, 0, 1, 0, 0, 0,
232, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 176, 255, 255, 0, 0,
83, 72, 68, 82, 56, 0,
0, 0, 64, 0, 0, 0,
14, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 242, 32, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 40, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 67, 79, 76, 79,
82, 0, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
#line 337 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oC0, t0 // ::PSBasicNoFog<0,1,2,3>
// approximately 1 instruction slot used
ps_4_0
dcl_input_ps linear v0.xyzw
dcl_output o0.xyzw
mov o0.xyzw, v0.xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicNoFog[] =
{
68, 88, 66, 67, 232, 176,
83, 255, 78, 108, 93, 164,
27, 101, 219, 150, 126, 40,
97, 100, 1, 0, 0, 0,
108, 2, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
200, 1, 0, 0, 8, 2,
0, 0, 56, 2, 0, 0,
65, 111, 110, 57, 144, 1,
0, 0, 144, 1, 0, 0,
0, 2, 255, 255, 108, 1,
0, 0, 36, 0, 0, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 0, 36, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 2, 255, 255,
254, 255, 82, 0, 68, 66,
85, 71, 40, 0, 0, 0,
28, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
116, 0, 0, 0, 2, 0,
0, 0, 120, 0, 0, 0,
2, 0, 0, 0, 244, 0,
0, 0, 136, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 66, 97, 115, 105, 99,
69, 102, 102, 101, 99, 116,
46, 102, 120, 0, 40, 0,
0, 0, 0, 0, 255, 255,
80, 1, 0, 0, 81, 1,
0, 0, 92, 1, 0, 0,
80, 83, 66, 97, 115, 105,
99, 78, 111, 70, 111, 103,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
184, 0, 0, 0, 192, 0,
0, 0, 5, 0, 0, 0,
1, 0, 4, 0, 1, 0,
1, 0, 208, 0, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
0, 0, 0, 0, 136, 0,
0, 0, 152, 0, 0, 0,
1, 0, 0, 0, 168, 0,
0, 0, 136, 0, 0, 0,
180, 0, 0, 0, 216, 0,
0, 0, 1, 0, 0, 0,
232, 0, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 176, 255, 255, 0, 0,
83, 72, 68, 82, 56, 0,
0, 0, 64, 0, 0, 0,
14, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 242, 32, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 40, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 67, 79, 76, 79,
82, 0, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,292 +1,292 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 344 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t2, s0
mul r0, r0, t0 // ::color<0,1,2,3>
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, c0, r0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSBasicTx<0,1,2,3>
// approximately 5 instruction slots used (1 texture, 4 arithmetic)
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
mad r1.xyz, cb0[13].xyzx, r0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicTx[] =
{
68, 88, 66, 67, 75, 160,
146, 44, 7, 144, 19, 227,
130, 191, 128, 253, 238, 196,
108, 194, 1, 0, 0, 0,
24, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
96, 3, 0, 0, 124, 4,
0, 0, 228, 4, 0, 0,
65, 111, 110, 57, 40, 3,
0, 0, 40, 3, 0, 0,
0, 2, 255, 255, 244, 2,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 13, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
153, 0, 68, 66, 85, 71,
40, 0, 0, 0, 56, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 9, 0, 0, 0,
196, 0, 0, 0, 4, 0,
0, 0, 232, 1, 0, 0,
12, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 67, 58, 92, 85,
115, 101, 114, 115, 92, 67,
104, 117, 99, 107, 87, 92,
68, 101, 115, 107, 116, 111,
112, 92, 68, 51, 68, 49,
49, 32, 80, 114, 111, 106,
101, 99, 116, 115, 92, 100,
105, 114, 101, 99, 116, 120,
116, 107, 92, 83, 114, 99,
92, 83, 104, 97, 100, 101,
114, 115, 92, 67, 111, 109,
109, 111, 110, 46, 102, 120,
104, 0, 40, 0, 0, 0,
116, 0, 0, 0, 0, 0,
255, 255, 108, 2, 0, 0,
0, 0, 255, 255, 120, 2,
0, 0, 0, 0, 255, 255,
132, 2, 0, 0, 0, 0,
255, 255, 144, 2, 0, 0,
88, 1, 0, 0, 156, 2,
0, 0, 88, 1, 0, 0,
172, 2, 0, 0, 20, 0,
1, 0, 188, 2, 0, 0,
20, 0, 1, 0, 208, 2,
0, 0, 20, 0, 1, 0,
228, 2, 0, 0, 80, 83,
66, 97, 115, 105, 99, 84,
120, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 8, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 65, 112, 112, 108,
121, 70, 111, 103, 0, 99,
111, 108, 111, 114, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 7, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 5, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 112, 105,
110, 0, 68, 105, 102, 102,
117, 115, 101, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 84, 101, 120, 67, 111,
111, 114, 100, 0, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 112, 1,
0, 0, 68, 1, 0, 0,
120, 1, 0, 0, 68, 1,
0, 0, 129, 1, 0, 0,
140, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 156, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 2, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 0, 0, 0, 0,
12, 1, 0, 0, 24, 1,
0, 0, 1, 0, 0, 0,
40, 1, 0, 0, 52, 1,
0, 0, 61, 1, 0, 0,
68, 1, 0, 0, 1, 0,
0, 0, 84, 1, 0, 0,
0, 0, 0, 0, 61, 1,
0, 0, 68, 1, 0, 0,
1, 0, 0, 0, 96, 1,
0, 0, 12, 1, 0, 0,
108, 1, 0, 0, 180, 1,
0, 0, 3, 0, 0, 0,
196, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 2, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 2, 0,
228, 176, 0, 8, 228, 160,
5, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
0, 0, 228, 176, 4, 0,
0, 4, 1, 0, 7, 128,
0, 0, 228, 160, 0, 0,
255, 128, 0, 0, 228, 129,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 255, 176,
1, 0, 228, 128, 0, 0,
228, 128, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 20, 1,
0, 0, 64, 0, 0, 0,
69, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 14, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 130, 16,
16, 0, 1, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
2, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 13, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 50, 0, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 246, 31, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
96, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 8, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float w
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 344 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t2, s0
mul r0, r0, t0 // ::color<0,1,2,3>
#line 20 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, c0, r0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSBasicTx<0,1,2,3>
// approximately 5 instruction slots used (1 texture, 4 arithmetic)
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.w
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
mad r1.xyz, cb0[13].xyzx, r0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicTx[] =
{
68, 88, 66, 67, 75, 160,
146, 44, 7, 144, 19, 227,
130, 191, 128, 253, 238, 196,
108, 194, 1, 0, 0, 0,
24, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
96, 3, 0, 0, 124, 4,
0, 0, 228, 4, 0, 0,
65, 111, 110, 57, 40, 3,
0, 0, 40, 3, 0, 0,
0, 2, 255, 255, 244, 2,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 13, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
153, 0, 68, 66, 85, 71,
40, 0, 0, 0, 56, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 9, 0, 0, 0,
196, 0, 0, 0, 4, 0,
0, 0, 232, 1, 0, 0,
12, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 67, 58, 92, 85,
115, 101, 114, 115, 92, 67,
104, 117, 99, 107, 87, 92,
68, 101, 115, 107, 116, 111,
112, 92, 68, 51, 68, 49,
49, 32, 80, 114, 111, 106,
101, 99, 116, 115, 92, 100,
105, 114, 101, 99, 116, 120,
116, 107, 92, 83, 114, 99,
92, 83, 104, 97, 100, 101,
114, 115, 92, 67, 111, 109,
109, 111, 110, 46, 102, 120,
104, 0, 40, 0, 0, 0,
116, 0, 0, 0, 0, 0,
255, 255, 108, 2, 0, 0,
0, 0, 255, 255, 120, 2,
0, 0, 0, 0, 255, 255,
132, 2, 0, 0, 0, 0,
255, 255, 144, 2, 0, 0,
88, 1, 0, 0, 156, 2,
0, 0, 88, 1, 0, 0,
172, 2, 0, 0, 20, 0,
1, 0, 188, 2, 0, 0,
20, 0, 1, 0, 208, 2,
0, 0, 20, 0, 1, 0,
228, 2, 0, 0, 80, 83,
66, 97, 115, 105, 99, 84,
120, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 8, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 65, 112, 112, 108,
121, 70, 111, 103, 0, 99,
111, 108, 111, 114, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 7, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 5, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 112, 105,
110, 0, 68, 105, 102, 102,
117, 115, 101, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 84, 101, 120, 67, 111,
111, 114, 100, 0, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 112, 1,
0, 0, 68, 1, 0, 0,
120, 1, 0, 0, 68, 1,
0, 0, 129, 1, 0, 0,
140, 1, 0, 0, 5, 0,
0, 0, 1, 0, 10, 0,
1, 0, 3, 0, 156, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 2, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 0, 0, 0, 0,
12, 1, 0, 0, 24, 1,
0, 0, 1, 0, 0, 0,
40, 1, 0, 0, 52, 1,
0, 0, 61, 1, 0, 0,
68, 1, 0, 0, 1, 0,
0, 0, 84, 1, 0, 0,
0, 0, 0, 0, 61, 1,
0, 0, 68, 1, 0, 0,
1, 0, 0, 0, 96, 1,
0, 0, 12, 1, 0, 0,
108, 1, 0, 0, 180, 1,
0, 0, 3, 0, 0, 0,
196, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 2, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 2, 0,
228, 176, 0, 8, 228, 160,
5, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
0, 0, 228, 176, 4, 0,
0, 4, 1, 0, 7, 128,
0, 0, 228, 160, 0, 0,
255, 128, 0, 0, 228, 129,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 255, 176,
1, 0, 228, 128, 0, 0,
228, 128, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 20, 1,
0, 0, 64, 0, 0, 0,
69, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 14, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 130, 16,
16, 0, 1, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
2, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 13, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 50, 0, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 246, 31, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
96, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 8, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,206 +1,206 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1.xy // pin<4,5>
dcl_2d s0
#line 355 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t1, s0
mul r0, r0, t0 // ::PSBasicTxNoFog<0,1,2,3>
mov oC0, r0 // ::PSBasicTxNoFog<0,1,2,3>
// approximately 3 instruction slots used (1 texture, 2 arithmetic)
ps_4_0
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mul o0.xyzw, r0.xyzw, v0.xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicTxNoFog[] =
{
68, 88, 66, 67, 47, 177,
113, 8, 206, 19, 251, 83,
77, 191, 104, 245, 1, 241,
160, 144, 1, 0, 0, 0,
128, 3, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
96, 2, 0, 0, 252, 2,
0, 0, 76, 3, 0, 0,
65, 111, 110, 57, 40, 2,
0, 0, 40, 2, 0, 0,
0, 2, 255, 255, 0, 2,
0, 0, 40, 0, 0, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 40, 0,
1, 0, 36, 0, 0, 0,
40, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
105, 0, 68, 66, 85, 71,
40, 0, 0, 0, 120, 1,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 116, 0,
0, 0, 6, 0, 0, 0,
120, 0, 0, 0, 2, 0,
0, 0, 80, 1, 0, 0,
168, 0, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
0, 0, 255, 255, 172, 1,
0, 0, 0, 0, 255, 255,
184, 1, 0, 0, 0, 0,
255, 255, 196, 1, 0, 0,
99, 1, 0, 0, 208, 1,
0, 0, 99, 1, 0, 0,
224, 1, 0, 0, 99, 1,
0, 0, 240, 1, 0, 0,
80, 83, 66, 97, 115, 105,
99, 84, 120, 78, 111, 70,
111, 103, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
84, 101, 120, 67, 111, 111,
114, 100, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 228, 0,
0, 0, 236, 0, 0, 0,
252, 0, 0, 0, 8, 1,
0, 0, 5, 0, 0, 0,
1, 0, 6, 0, 1, 0,
2, 0, 24, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
0, 0, 0, 0, 168, 0,
0, 0, 184, 0, 0, 0,
2, 0, 0, 0, 200, 0,
0, 0, 168, 0, 0, 0,
224, 0, 0, 0, 40, 1,
0, 0, 2, 0, 0, 0,
56, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 1, 0,
228, 176, 0, 8, 228, 160,
5, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
0, 0, 228, 176, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
148, 0, 0, 0, 64, 0,
0, 0, 37, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 0, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 242, 32,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
72, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
62, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1.xy // pin<4,5>
dcl_2d s0
#line 355 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t1, s0
mul r0, r0, t0 // ::PSBasicTxNoFog<0,1,2,3>
mov oC0, r0 // ::PSBasicTxNoFog<0,1,2,3>
// approximately 3 instruction slots used (1 texture, 2 arithmetic)
ps_4_0
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xy
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
mul o0.xyzw, r0.xyzw, v0.xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicTxNoFog[] =
{
68, 88, 66, 67, 47, 177,
113, 8, 206, 19, 251, 83,
77, 191, 104, 245, 1, 241,
160, 144, 1, 0, 0, 0,
128, 3, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
96, 2, 0, 0, 252, 2,
0, 0, 76, 3, 0, 0,
65, 111, 110, 57, 40, 2,
0, 0, 40, 2, 0, 0,
0, 2, 255, 255, 0, 2,
0, 0, 40, 0, 0, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 40, 0,
1, 0, 36, 0, 0, 0,
40, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
105, 0, 68, 66, 85, 71,
40, 0, 0, 0, 120, 1,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 116, 0,
0, 0, 6, 0, 0, 0,
120, 0, 0, 0, 2, 0,
0, 0, 80, 1, 0, 0,
168, 0, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
0, 0, 255, 255, 172, 1,
0, 0, 0, 0, 255, 255,
184, 1, 0, 0, 0, 0,
255, 255, 196, 1, 0, 0,
99, 1, 0, 0, 208, 1,
0, 0, 99, 1, 0, 0,
224, 1, 0, 0, 99, 1,
0, 0, 240, 1, 0, 0,
80, 83, 66, 97, 115, 105,
99, 84, 120, 78, 111, 70,
111, 103, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 4, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
84, 101, 120, 67, 111, 111,
114, 100, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 228, 0,
0, 0, 236, 0, 0, 0,
252, 0, 0, 0, 8, 1,
0, 0, 5, 0, 0, 0,
1, 0, 6, 0, 1, 0,
2, 0, 24, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
0, 0, 0, 0, 168, 0,
0, 0, 184, 0, 0, 0,
2, 0, 0, 0, 200, 0,
0, 0, 168, 0, 0, 0,
224, 0, 0, 0, 40, 1,
0, 0, 2, 0, 0, 0,
56, 1, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
0, 0, 0, 128, 0, 0,
15, 176, 31, 0, 0, 2,
0, 0, 0, 128, 1, 0,
3, 176, 31, 0, 0, 2,
0, 0, 0, 144, 0, 8,
15, 160, 66, 0, 0, 3,
0, 0, 15, 128, 1, 0,
228, 176, 0, 8, 228, 160,
5, 0, 0, 3, 0, 0,
15, 128, 0, 0, 228, 128,
0, 0, 228, 176, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
148, 0, 0, 0, 64, 0,
0, 0, 37, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 0, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 242, 32,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
72, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
62, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,243 +1,243 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov r0, t0 // pin<0,1,2,3>
mad r0.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
#line 20
mad r1.xyz, c0, t0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov r0.w, t0.w
mov oC0, r0 // ::PSBasicVertexLighting<0,1,2,3>
// approximately 6 instruction slots used
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyzw
dcl_output o0.xyzw
dcl_temps 2
mad r0.xyz, v1.xyzx, v0.wwww, v0.xyzx
mad r1.xyz, cb0[13].xyzx, v0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, v0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLighting[] =
{
68, 88, 66, 67, 154, 118,
71, 194, 212, 41, 158, 88,
101, 52, 3, 129, 81, 179,
244, 109, 1, 0, 0, 0,
68, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
240, 2, 0, 0, 200, 3,
0, 0, 16, 4, 0, 0,
65, 111, 110, 57, 184, 2,
0, 0, 184, 2, 0, 0,
0, 2, 255, 255, 136, 2,
0, 0, 48, 0, 0, 0,
1, 0, 36, 0, 0, 0,
48, 0, 0, 0, 48, 0,
0, 0, 36, 0, 0, 0,
48, 0, 0, 0, 13, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 2, 255, 255,
254, 255, 129, 0, 68, 66,
85, 71, 40, 0, 0, 0,
216, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
112, 0, 0, 0, 8, 0,
0, 0, 116, 0, 0, 0,
4, 0, 0, 0, 136, 1,
0, 0, 180, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 0, 0,
255, 255, 12, 2, 0, 0,
0, 0, 255, 255, 24, 2,
0, 0, 26, 0, 0, 0,
36, 2, 0, 0, 26, 0,
0, 0, 48, 2, 0, 0,
20, 0, 0, 0, 68, 2,
0, 0, 20, 0, 0, 0,
88, 2, 0, 0, 20, 0,
0, 0, 108, 2, 0, 0,
20, 0, 0, 0, 120, 2,
0, 0, 80, 83, 66, 97,
115, 105, 99, 86, 101, 114,
116, 101, 120, 76, 105, 103,
104, 116, 105, 110, 103, 0,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
7, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
65, 112, 112, 108, 121, 70,
111, 103, 0, 99, 111, 108,
111, 114, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 65, 100, 100, 83,
112, 101, 99, 117, 108, 97,
114, 0, 3, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 48, 1, 0, 0,
248, 0, 0, 0, 56, 1,
0, 0, 248, 0, 0, 0,
5, 0, 0, 0, 1, 0,
8, 0, 1, 0, 2, 0,
68, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 2, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 0, 0,
0, 0, 180, 0, 0, 0,
204, 0, 0, 0, 1, 0,
0, 0, 220, 0, 0, 0,
232, 0, 0, 0, 241, 0,
0, 0, 248, 0, 0, 0,
1, 0, 0, 0, 8, 1,
0, 0, 20, 1, 0, 0,
241, 0, 0, 0, 248, 0,
0, 0, 1, 0, 0, 0,
32, 1, 0, 0, 180, 0,
0, 0, 44, 1, 0, 0,
84, 1, 0, 0, 3, 0,
0, 0, 100, 1, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
1, 0, 15, 176, 1, 0,
0, 2, 0, 0, 15, 128,
0, 0, 228, 176, 4, 0,
0, 4, 0, 0, 7, 128,
1, 0, 228, 176, 0, 0,
255, 128, 0, 0, 228, 128,
4, 0, 0, 4, 1, 0,
7, 128, 0, 0, 228, 160,
0, 0, 255, 176, 0, 0,
228, 129, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
255, 176, 1, 0, 228, 128,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 128,
0, 0, 255, 176, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
208, 0, 0, 0, 64, 0,
0, 0, 52, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
14, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 2, 0, 0, 0,
50, 0, 0, 9, 114, 0,
16, 0, 0, 0, 0, 0,
70, 18, 16, 0, 1, 0,
0, 0, 246, 31, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 13, 0, 0, 0,
246, 31, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 50, 0, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 246, 31, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 16, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
64, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
56, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
67, 79, 76, 79, 82, 0,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov r0, t0 // pin<0,1,2,3>
mad r0.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
#line 20
mad r1.xyz, c0, t0.w, -r0
mad r0.xyz, t1.w, r1, r0 // ApplyFog::color<0,1,2>
mov r0.w, t0.w
mov oC0, r0 // ::PSBasicVertexLighting<0,1,2,3>
// approximately 6 instruction slots used
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyzw
dcl_output o0.xyzw
dcl_temps 2
mad r0.xyz, v1.xyzx, v0.wwww, v0.xyzx
mad r1.xyz, cb0[13].xyzx, v0.wwww, -r0.xyzx
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
mov o0.w, v0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLighting[] =
{
68, 88, 66, 67, 154, 118,
71, 194, 212, 41, 158, 88,
101, 52, 3, 129, 81, 179,
244, 109, 1, 0, 0, 0,
68, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
240, 2, 0, 0, 200, 3,
0, 0, 16, 4, 0, 0,
65, 111, 110, 57, 184, 2,
0, 0, 184, 2, 0, 0,
0, 2, 255, 255, 136, 2,
0, 0, 48, 0, 0, 0,
1, 0, 36, 0, 0, 0,
48, 0, 0, 0, 48, 0,
0, 0, 36, 0, 0, 0,
48, 0, 0, 0, 13, 0,
1, 0, 0, 0, 0, 0,
0, 0, 0, 2, 255, 255,
254, 255, 129, 0, 68, 66,
85, 71, 40, 0, 0, 0,
216, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
112, 0, 0, 0, 8, 0,
0, 0, 116, 0, 0, 0,
4, 0, 0, 0, 136, 1,
0, 0, 180, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 0, 0,
255, 255, 12, 2, 0, 0,
0, 0, 255, 255, 24, 2,
0, 0, 26, 0, 0, 0,
36, 2, 0, 0, 26, 0,
0, 0, 48, 2, 0, 0,
20, 0, 0, 0, 68, 2,
0, 0, 20, 0, 0, 0,
88, 2, 0, 0, 20, 0,
0, 0, 108, 2, 0, 0,
20, 0, 0, 0, 120, 2,
0, 0, 80, 83, 66, 97,
115, 105, 99, 86, 101, 114,
116, 101, 120, 76, 105, 103,
104, 116, 105, 110, 103, 0,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
7, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
65, 112, 112, 108, 121, 70,
111, 103, 0, 99, 111, 108,
111, 114, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 65, 100, 100, 83,
112, 101, 99, 117, 108, 97,
114, 0, 3, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 48, 1, 0, 0,
248, 0, 0, 0, 56, 1,
0, 0, 248, 0, 0, 0,
5, 0, 0, 0, 1, 0,
8, 0, 1, 0, 2, 0,
68, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 2, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 0, 0,
0, 0, 180, 0, 0, 0,
204, 0, 0, 0, 1, 0,
0, 0, 220, 0, 0, 0,
232, 0, 0, 0, 241, 0,
0, 0, 248, 0, 0, 0,
1, 0, 0, 0, 8, 1,
0, 0, 20, 1, 0, 0,
241, 0, 0, 0, 248, 0,
0, 0, 1, 0, 0, 0,
32, 1, 0, 0, 180, 0,
0, 0, 44, 1, 0, 0,
84, 1, 0, 0, 3, 0,
0, 0, 100, 1, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
1, 0, 15, 176, 1, 0,
0, 2, 0, 0, 15, 128,
0, 0, 228, 176, 4, 0,
0, 4, 0, 0, 7, 128,
1, 0, 228, 176, 0, 0,
255, 128, 0, 0, 228, 128,
4, 0, 0, 4, 1, 0,
7, 128, 0, 0, 228, 160,
0, 0, 255, 176, 0, 0,
228, 129, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
255, 176, 1, 0, 228, 128,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 128,
0, 0, 255, 176, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
208, 0, 0, 0, 64, 0,
0, 0, 52, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
14, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 2, 0, 0, 0,
50, 0, 0, 9, 114, 0,
16, 0, 0, 0, 0, 0,
70, 18, 16, 0, 1, 0,
0, 0, 246, 31, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 13, 0, 0, 0,
246, 31, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 50, 0, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 246, 31, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 16, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
64, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
56, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
67, 79, 76, 79, 82, 0,
171, 171, 79, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
83, 86, 95, 84, 97, 114,
103, 101, 116, 0, 171, 171
};

Просмотреть файл

@ -1,194 +1,194 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov r0, t0 // pin<0,1,2,3>
mad r0.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
mov r0.w, t0.w
mov oC0, r0 // ::PSBasicVertexLightingNoFog<0,1,2,3>
// approximately 4 instruction slots used
ps_4_0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyz
dcl_output o0.xyzw
mad o0.xyz, v1.xyzx, v0.wwww, v0.xyzx
mov o0.w, v0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLightingNoFog[] =
{
68, 88, 66, 67, 200, 44,
71, 125, 246, 163, 227, 55,
185, 108, 84, 145, 52, 7,
195, 158, 1, 0, 0, 0,
116, 3, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
136, 2, 0, 0, 248, 2,
0, 0, 64, 3, 0, 0,
65, 111, 110, 57, 80, 2,
0, 0, 80, 2, 0, 0,
0, 2, 255, 255, 44, 2,
0, 0, 36, 0, 0, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 0, 36, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 2, 255, 255,
254, 255, 116, 0, 68, 66,
85, 71, 40, 0, 0, 0,
164, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
112, 0, 0, 0, 6, 0,
0, 0, 116, 0, 0, 0,
3, 0, 0, 0, 104, 1,
0, 0, 164, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 0, 0,
255, 255, 216, 1, 0, 0,
0, 0, 255, 255, 228, 1,
0, 0, 26, 0, 0, 0,
240, 1, 0, 0, 26, 0,
0, 0, 252, 1, 0, 0,
26, 0, 0, 0, 16, 2,
0, 0, 26, 0, 0, 0,
28, 2, 0, 0, 80, 83,
66, 97, 115, 105, 99, 86,
101, 114, 116, 101, 120, 76,
105, 103, 104, 116, 105, 110,
103, 78, 111, 70, 111, 103,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
65, 100, 100, 83, 112, 101,
99, 117, 108, 97, 114, 0,
99, 111, 108, 111, 114, 0,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
16, 1, 0, 0, 240, 0,
0, 0, 24, 1, 0, 0,
240, 0, 0, 0, 5, 0,
0, 0, 1, 0, 8, 0,
1, 0, 2, 0, 36, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 2, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 0, 0, 0, 0,
164, 0, 0, 0, 192, 0,
0, 0, 1, 0, 0, 0,
208, 0, 0, 0, 220, 0,
0, 0, 232, 0, 0, 0,
240, 0, 0, 0, 1, 0,
0, 0, 0, 1, 0, 0,
164, 0, 0, 0, 12, 1,
0, 0, 52, 1, 0, 0,
3, 0, 0, 0, 68, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 15, 176,
1, 0, 0, 2, 0, 0,
15, 128, 0, 0, 228, 176,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 228, 176,
0, 0, 255, 128, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 128, 0, 0,
255, 176, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 104, 0,
0, 0, 64, 0, 0, 0,
26, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
246, 31, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 130, 32, 16, 0,
0, 0, 0, 0, 58, 16,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 64, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 56, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 7,
0, 0, 67, 79, 76, 79,
82, 0, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov r0, t0 // pin<0,1,2,3>
mad r0.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
mov r0.w, t0.w
mov oC0, r0 // ::PSBasicVertexLightingNoFog<0,1,2,3>
// approximately 4 instruction slots used
ps_4_0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyz
dcl_output o0.xyzw
mad o0.xyz, v1.xyzx, v0.wwww, v0.xyzx
mov o0.w, v0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLightingNoFog[] =
{
68, 88, 66, 67, 200, 44,
71, 125, 246, 163, 227, 55,
185, 108, 84, 145, 52, 7,
195, 158, 1, 0, 0, 0,
116, 3, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
136, 2, 0, 0, 248, 2,
0, 0, 64, 3, 0, 0,
65, 111, 110, 57, 80, 2,
0, 0, 80, 2, 0, 0,
0, 2, 255, 255, 44, 2,
0, 0, 36, 0, 0, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 0, 36, 0,
0, 0, 36, 0, 0, 0,
36, 0, 0, 2, 255, 255,
254, 255, 116, 0, 68, 66,
85, 71, 40, 0, 0, 0,
164, 1, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
112, 0, 0, 0, 6, 0,
0, 0, 116, 0, 0, 0,
3, 0, 0, 0, 104, 1,
0, 0, 164, 0, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 67, 111, 109, 109, 111,
110, 46, 102, 120, 104, 0,
40, 0, 0, 0, 0, 0,
255, 255, 216, 1, 0, 0,
0, 0, 255, 255, 228, 1,
0, 0, 26, 0, 0, 0,
240, 1, 0, 0, 26, 0,
0, 0, 252, 1, 0, 0,
26, 0, 0, 0, 16, 2,
0, 0, 26, 0, 0, 0,
28, 2, 0, 0, 80, 83,
66, 97, 115, 105, 99, 86,
101, 114, 116, 101, 120, 76,
105, 103, 104, 116, 105, 110,
103, 78, 111, 70, 111, 103,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
5, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
65, 100, 100, 83, 112, 101,
99, 117, 108, 97, 114, 0,
99, 111, 108, 111, 114, 0,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
16, 1, 0, 0, 240, 0,
0, 0, 24, 1, 0, 0,
240, 0, 0, 0, 5, 0,
0, 0, 1, 0, 8, 0,
1, 0, 2, 0, 36, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 2, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 0, 0, 0, 0,
164, 0, 0, 0, 192, 0,
0, 0, 1, 0, 0, 0,
208, 0, 0, 0, 220, 0,
0, 0, 232, 0, 0, 0,
240, 0, 0, 0, 1, 0,
0, 0, 0, 1, 0, 0,
164, 0, 0, 0, 12, 1,
0, 0, 52, 1, 0, 0,
3, 0, 0, 0, 68, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 15, 176,
1, 0, 0, 2, 0, 0,
15, 128, 0, 0, 228, 176,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 228, 176,
0, 0, 255, 128, 0, 0,
228, 128, 1, 0, 0, 2,
0, 0, 8, 128, 0, 0,
255, 176, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 104, 0,
0, 0, 64, 0, 0, 0,
26, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
246, 31, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 130, 32, 16, 0,
0, 0, 0, 0, 58, 16,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 64, 0, 0, 0,
2, 0, 0, 0, 8, 0,
0, 0, 56, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 56, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 7,
0, 0, 67, 79, 76, 79,
82, 0, 171, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,316 +1,316 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 385 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t2, s0
mul r0, r0, t0 // ::color<0,1,2,3>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
#line 20
mad r2.xyz, c0, r0.w, -r1
mad r0.xyz, t1.w, r2, r1 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSBasicVertexLightingTx<0,1,2,3>
// approximately 6 instruction slots used (1 texture, 5 arithmetic)
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyzw
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
mad r0.xyz, v1.xyzx, r0.wwww, r0.xyzx
mad r1.xyz, cb0[13].xyzx, r0.wwww, -r0.xyzx
mov o0.w, r0.w
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLightingTx[] =
{
68, 88, 66, 67, 253, 6,
39, 60, 251, 109, 2, 242,
111, 52, 74, 131, 243, 243,
223, 12, 1, 0, 0, 0,
144, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
180, 3, 0, 0, 244, 4,
0, 0, 92, 5, 0, 0,
65, 111, 110, 57, 124, 3,
0, 0, 124, 3, 0, 0,
0, 2, 255, 255, 72, 3,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 13, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
169, 0, 68, 66, 85, 71,
40, 0, 0, 0, 120, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 10, 0, 0, 0,
196, 0, 0, 0, 5, 0,
0, 0, 20, 2, 0, 0,
20, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 67, 58, 92, 85,
115, 101, 114, 115, 92, 67,
104, 117, 99, 107, 87, 92,
68, 101, 115, 107, 116, 111,
112, 92, 68, 51, 68, 49,
49, 32, 80, 114, 111, 106,
101, 99, 116, 115, 92, 100,
105, 114, 101, 99, 116, 120,
116, 107, 92, 83, 114, 99,
92, 83, 104, 97, 100, 101,
114, 115, 92, 67, 111, 109,
109, 111, 110, 46, 102, 120,
104, 0, 40, 0, 0, 0,
116, 0, 0, 0, 0, 0,
255, 255, 172, 2, 0, 0,
0, 0, 255, 255, 184, 2,
0, 0, 0, 0, 255, 255,
196, 2, 0, 0, 0, 0,
255, 255, 208, 2, 0, 0,
129, 1, 0, 0, 220, 2,
0, 0, 129, 1, 0, 0,
236, 2, 0, 0, 26, 0,
1, 0, 252, 2, 0, 0,
20, 0, 1, 0, 16, 3,
0, 0, 20, 0, 1, 0,
36, 3, 0, 0, 20, 0,
1, 0, 56, 3, 0, 0,
80, 83, 66, 97, 115, 105,
99, 86, 101, 114, 116, 101,
120, 76, 105, 103, 104, 116,
105, 110, 103, 84, 120, 0,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 9, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 65, 112,
112, 108, 121, 70, 111, 103,
0, 99, 111, 108, 111, 114,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
65, 100, 100, 83, 112, 101,
99, 117, 108, 97, 114, 0,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
5, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 84, 101, 120,
67, 111, 111, 114, 100, 0,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
156, 1, 0, 0, 88, 1,
0, 0, 164, 1, 0, 0,
88, 1, 0, 0, 173, 1,
0, 0, 184, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
200, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 2, 0,
0, 0, 8, 0, 9, 0,
255, 255, 255, 255, 0, 0,
0, 0, 20, 1, 0, 0,
44, 1, 0, 0, 1, 0,
0, 0, 60, 1, 0, 0,
72, 1, 0, 0, 81, 1,
0, 0, 88, 1, 0, 0,
1, 0, 0, 0, 104, 1,
0, 0, 116, 1, 0, 0,
81, 1, 0, 0, 88, 1,
0, 0, 1, 0, 0, 0,
128, 1, 0, 0, 0, 0,
0, 0, 81, 1, 0, 0,
88, 1, 0, 0, 1, 0,
0, 0, 140, 1, 0, 0,
20, 1, 0, 0, 152, 1,
0, 0, 224, 1, 0, 0,
3, 0, 0, 0, 240, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 2, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 2, 0, 228, 176,
0, 8, 228, 160, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 4, 0, 0, 4,
1, 0, 7, 128, 1, 0,
228, 176, 0, 0, 255, 128,
0, 0, 228, 128, 4, 0,
0, 4, 2, 0, 7, 128,
0, 0, 228, 160, 0, 0,
255, 128, 1, 0, 228, 129,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 255, 176,
2, 0, 228, 128, 1, 0,
228, 128, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 56, 1,
0, 0, 64, 0, 0, 0,
78, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 14, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 1, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
2, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
50, 0, 0, 9, 114, 0,
16, 0, 0, 0, 0, 0,
70, 18, 16, 0, 1, 0,
0, 0, 246, 15, 16, 0,
0, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 13, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 246, 31,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
96, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 385 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t2, s0
mul r0, r0, t0 // ::color<0,1,2,3>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r1.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
#line 20
mad r2.xyz, c0, r0.w, -r1
mad r0.xyz, t1.w, r2, r1 // ApplyFog::color<0,1,2>
mov oC0, r0 // ::PSBasicVertexLightingTx<0,1,2,3>
// approximately 6 instruction slots used (1 texture, 5 arithmetic)
ps_4_0
dcl_constantbuffer CB0[14], immediateIndexed
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyzw
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 2
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
mad r0.xyz, v1.xyzx, r0.wwww, r0.xyzx
mad r1.xyz, cb0[13].xyzx, r0.wwww, -r0.xyzx
mov o0.w, r0.w
mad o0.xyz, v1.wwww, r1.xyzx, r0.xyzx
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLightingTx[] =
{
68, 88, 66, 67, 253, 6,
39, 60, 251, 109, 2, 242,
111, 52, 74, 131, 243, 243,
223, 12, 1, 0, 0, 0,
144, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
180, 3, 0, 0, 244, 4,
0, 0, 92, 5, 0, 0,
65, 111, 110, 57, 124, 3,
0, 0, 124, 3, 0, 0,
0, 2, 255, 255, 72, 3,
0, 0, 52, 0, 0, 0,
1, 0, 40, 0, 0, 0,
52, 0, 0, 0, 52, 0,
1, 0, 36, 0, 0, 0,
52, 0, 0, 0, 0, 0,
0, 0, 13, 0, 1, 0,
0, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
169, 0, 68, 66, 85, 71,
40, 0, 0, 0, 120, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 10, 0, 0, 0,
196, 0, 0, 0, 5, 0,
0, 0, 20, 2, 0, 0,
20, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 67, 58, 92, 85,
115, 101, 114, 115, 92, 67,
104, 117, 99, 107, 87, 92,
68, 101, 115, 107, 116, 111,
112, 92, 68, 51, 68, 49,
49, 32, 80, 114, 111, 106,
101, 99, 116, 115, 92, 100,
105, 114, 101, 99, 116, 120,
116, 107, 92, 83, 114, 99,
92, 83, 104, 97, 100, 101,
114, 115, 92, 67, 111, 109,
109, 111, 110, 46, 102, 120,
104, 0, 40, 0, 0, 0,
116, 0, 0, 0, 0, 0,
255, 255, 172, 2, 0, 0,
0, 0, 255, 255, 184, 2,
0, 0, 0, 0, 255, 255,
196, 2, 0, 0, 0, 0,
255, 255, 208, 2, 0, 0,
129, 1, 0, 0, 220, 2,
0, 0, 129, 1, 0, 0,
236, 2, 0, 0, 26, 0,
1, 0, 252, 2, 0, 0,
20, 0, 1, 0, 16, 3,
0, 0, 20, 0, 1, 0,
36, 3, 0, 0, 20, 0,
1, 0, 56, 3, 0, 0,
80, 83, 66, 97, 115, 105,
99, 86, 101, 114, 116, 101,
120, 76, 105, 103, 104, 116,
105, 110, 103, 84, 120, 0,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 9, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 65, 112,
112, 108, 121, 70, 111, 103,
0, 99, 111, 108, 111, 114,
0, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
8, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
65, 100, 100, 83, 112, 101,
99, 117, 108, 97, 114, 0,
6, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
5, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
112, 105, 110, 0, 68, 105,
102, 102, 117, 115, 101, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 84, 101, 120,
67, 111, 111, 114, 100, 0,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
156, 1, 0, 0, 88, 1,
0, 0, 164, 1, 0, 0,
88, 1, 0, 0, 173, 1,
0, 0, 184, 1, 0, 0,
5, 0, 0, 0, 1, 0,
10, 0, 1, 0, 3, 0,
200, 1, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 1, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 2, 0,
0, 0, 8, 0, 9, 0,
255, 255, 255, 255, 0, 0,
0, 0, 20, 1, 0, 0,
44, 1, 0, 0, 1, 0,
0, 0, 60, 1, 0, 0,
72, 1, 0, 0, 81, 1,
0, 0, 88, 1, 0, 0,
1, 0, 0, 0, 104, 1,
0, 0, 116, 1, 0, 0,
81, 1, 0, 0, 88, 1,
0, 0, 1, 0, 0, 0,
128, 1, 0, 0, 0, 0,
0, 0, 81, 1, 0, 0,
88, 1, 0, 0, 1, 0,
0, 0, 140, 1, 0, 0,
20, 1, 0, 0, 152, 1,
0, 0, 224, 1, 0, 0,
3, 0, 0, 0, 240, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 2, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 2, 0, 228, 176,
0, 8, 228, 160, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 4, 0, 0, 4,
1, 0, 7, 128, 1, 0,
228, 176, 0, 0, 255, 128,
0, 0, 228, 128, 4, 0,
0, 4, 2, 0, 7, 128,
0, 0, 228, 160, 0, 0,
255, 128, 1, 0, 228, 129,
4, 0, 0, 4, 0, 0,
7, 128, 1, 0, 255, 176,
2, 0, 228, 128, 1, 0,
228, 128, 1, 0, 0, 2,
0, 8, 15, 128, 0, 0,
228, 128, 255, 255, 0, 0,
83, 72, 68, 82, 56, 1,
0, 0, 64, 0, 0, 0,
78, 0, 0, 0, 89, 0,
0, 4, 70, 142, 32, 0,
0, 0, 0, 0, 14, 0,
0, 0, 90, 0, 0, 3,
0, 96, 16, 0, 0, 0,
0, 0, 88, 24, 0, 4,
0, 112, 16, 0, 0, 0,
0, 0, 85, 85, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
98, 16, 0, 3, 242, 16,
16, 0, 1, 0, 0, 0,
98, 16, 0, 3, 50, 16,
16, 0, 2, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
104, 0, 0, 2, 2, 0,
0, 0, 69, 0, 0, 9,
242, 0, 16, 0, 0, 0,
0, 0, 70, 16, 16, 0,
2, 0, 0, 0, 70, 126,
16, 0, 0, 0, 0, 0,
0, 96, 16, 0, 0, 0,
0, 0, 56, 0, 0, 7,
242, 0, 16, 0, 0, 0,
0, 0, 70, 14, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
50, 0, 0, 9, 114, 0,
16, 0, 0, 0, 0, 0,
70, 18, 16, 0, 1, 0,
0, 0, 246, 15, 16, 0,
0, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 13, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 128,
65, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 0, 16, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 246, 31,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
96, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 3, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Просмотреть файл

@ -1,269 +1,269 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyz
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 397 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t2, s0
mul r0, r0, t0 // ::color<0,1,2,3>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r0.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
mov oC0, r0 // ::PSBasicVertexLightingTxNoFog<0,1,2,3>
// approximately 4 instruction slots used (1 texture, 3 arithmetic)
ps_4_0
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyz
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
mad o0.xyz, v1.xyzx, r0.wwww, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLightingTxNoFog[] =
{
68, 88, 66, 67, 108, 123,
142, 170, 39, 95, 212, 129,
222, 67, 120, 90, 185, 65,
206, 4, 1, 0, 0, 0,
204, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
80, 3, 0, 0, 48, 4,
0, 0, 152, 4, 0, 0,
65, 111, 110, 57, 24, 3,
0, 0, 24, 3, 0, 0,
0, 2, 255, 255, 240, 2,
0, 0, 40, 0, 0, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 40, 0,
1, 0, 36, 0, 0, 0,
40, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
157, 0, 68, 66, 85, 71,
40, 0, 0, 0, 72, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 8, 0, 0, 0,
196, 0, 0, 0, 4, 0,
0, 0, 248, 1, 0, 0,
4, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 67, 58, 92, 85,
115, 101, 114, 115, 92, 67,
104, 117, 99, 107, 87, 92,
68, 101, 115, 107, 116, 111,
112, 92, 68, 51, 68, 49,
49, 32, 80, 114, 111, 106,
101, 99, 116, 115, 92, 100,
105, 114, 101, 99, 116, 120,
116, 107, 92, 83, 114, 99,
92, 83, 104, 97, 100, 101,
114, 115, 92, 67, 111, 109,
109, 111, 110, 46, 102, 120,
104, 0, 40, 0, 0, 0,
116, 0, 0, 0, 0, 0,
255, 255, 124, 2, 0, 0,
0, 0, 255, 255, 136, 2,
0, 0, 0, 0, 255, 255,
148, 2, 0, 0, 0, 0,
255, 255, 160, 2, 0, 0,
141, 1, 0, 0, 172, 2,
0, 0, 141, 1, 0, 0,
188, 2, 0, 0, 26, 0,
1, 0, 204, 2, 0, 0,
26, 0, 1, 0, 224, 2,
0, 0, 80, 83, 66, 97,
115, 105, 99, 86, 101, 114,
116, 101, 120, 76, 105, 103,
104, 116, 105, 110, 103, 84,
120, 78, 111, 70, 111, 103,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 7, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 65, 100, 100, 83,
112, 101, 99, 117, 108, 97,
114, 0, 99, 111, 108, 111,
114, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 84,
101, 120, 67, 111, 111, 114,
100, 0, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 128, 1, 0, 0,
84, 1, 0, 0, 136, 1,
0, 0, 84, 1, 0, 0,
145, 1, 0, 0, 156, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 172, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 6, 0, 7, 0,
2, 0, 0, 0, 8, 0,
9, 0, 255, 255, 255, 255,
0, 0, 0, 0, 4, 1,
0, 0, 36, 1, 0, 0,
1, 0, 0, 0, 52, 1,
0, 0, 64, 1, 0, 0,
76, 1, 0, 0, 84, 1,
0, 0, 1, 0, 0, 0,
100, 1, 0, 0, 0, 0,
0, 0, 76, 1, 0, 0,
84, 1, 0, 0, 1, 0,
0, 0, 112, 1, 0, 0,
4, 1, 0, 0, 124, 1,
0, 0, 196, 1, 0, 0,
3, 0, 0, 0, 212, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 2, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 2, 0, 228, 176,
0, 8, 228, 160, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
228, 176, 0, 0, 255, 128,
0, 0, 228, 128, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
216, 0, 0, 0, 64, 0,
0, 0, 54, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
1, 0, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 0, 0, 0, 0,
70, 16, 16, 0, 2, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 242, 0,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 130, 32, 16, 0,
0, 0, 0, 0, 58, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 96, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 80, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 7,
0, 0, 86, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 3, 3,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 97, 114, 103, 101,
116, 0, 171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyz
// TEXCOORD 0 xy 2 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Sampler/Resource to DX9 shader sampler mappings:
//
// Target Sampler Source Sampler Source Resource
// -------------- --------------- ----------------
// s0 s0 t0
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pin<0,1,2,3>
dcl t1 // pin<4,5,6,7>
dcl t2.xy // pin<8,9>
dcl_2d s0
#line 397 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
texld r0, t2, s0
mul r0, r0, t0 // ::color<0,1,2,3>
#line 26 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mad r0.xyz, t1, r0.w, r0 // AddSpecular::color<0,1,2>
mov oC0, r0 // ::PSBasicVertexLightingTxNoFog<0,1,2,3>
// approximately 4 instruction slots used (1 texture, 3 arithmetic)
ps_4_0
dcl_sampler s0, mode_default
dcl_resource_texture2d (float,float,float,float) t0
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyz
dcl_input_ps linear v2.xy
dcl_output o0.xyzw
dcl_temps 1
sample r0.xyzw, v2.xyxx, t0.xyzw, s0
mul r0.xyzw, r0.xyzw, v0.xyzw
mad o0.xyz, v1.xyzx, r0.wwww, r0.xyzx
mov o0.w, r0.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_PSBasicVertexLightingTxNoFog[] =
{
68, 88, 66, 67, 108, 123,
142, 170, 39, 95, 212, 129,
222, 67, 120, 90, 185, 65,
206, 4, 1, 0, 0, 0,
204, 4, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
80, 3, 0, 0, 48, 4,
0, 0, 152, 4, 0, 0,
65, 111, 110, 57, 24, 3,
0, 0, 24, 3, 0, 0,
0, 2, 255, 255, 240, 2,
0, 0, 40, 0, 0, 0,
0, 0, 40, 0, 0, 0,
40, 0, 0, 0, 40, 0,
1, 0, 36, 0, 0, 0,
40, 0, 0, 0, 0, 0,
0, 2, 255, 255, 254, 255,
157, 0, 68, 66, 85, 71,
40, 0, 0, 0, 72, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 8, 0, 0, 0,
196, 0, 0, 0, 4, 0,
0, 0, 248, 1, 0, 0,
4, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 67, 58, 92, 85,
115, 101, 114, 115, 92, 67,
104, 117, 99, 107, 87, 92,
68, 101, 115, 107, 116, 111,
112, 92, 68, 51, 68, 49,
49, 32, 80, 114, 111, 106,
101, 99, 116, 115, 92, 100,
105, 114, 101, 99, 116, 120,
116, 107, 92, 83, 114, 99,
92, 83, 104, 97, 100, 101,
114, 115, 92, 67, 111, 109,
109, 111, 110, 46, 102, 120,
104, 0, 40, 0, 0, 0,
116, 0, 0, 0, 0, 0,
255, 255, 124, 2, 0, 0,
0, 0, 255, 255, 136, 2,
0, 0, 0, 0, 255, 255,
148, 2, 0, 0, 0, 0,
255, 255, 160, 2, 0, 0,
141, 1, 0, 0, 172, 2,
0, 0, 141, 1, 0, 0,
188, 2, 0, 0, 26, 0,
1, 0, 204, 2, 0, 0,
26, 0, 1, 0, 224, 2,
0, 0, 80, 83, 66, 97,
115, 105, 99, 86, 101, 114,
116, 101, 120, 76, 105, 103,
104, 116, 105, 110, 103, 84,
120, 78, 111, 70, 111, 103,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 7, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 65, 100, 100, 83,
112, 101, 99, 117, 108, 97,
114, 0, 99, 111, 108, 111,
114, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 110, 0,
68, 105, 102, 102, 117, 115,
101, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 84,
101, 120, 67, 111, 111, 114,
100, 0, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 128, 1, 0, 0,
84, 1, 0, 0, 136, 1,
0, 0, 84, 1, 0, 0,
145, 1, 0, 0, 156, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 172, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 6, 0, 7, 0,
2, 0, 0, 0, 8, 0,
9, 0, 255, 255, 255, 255,
0, 0, 0, 0, 4, 1,
0, 0, 36, 1, 0, 0,
1, 0, 0, 0, 52, 1,
0, 0, 64, 1, 0, 0,
76, 1, 0, 0, 84, 1,
0, 0, 1, 0, 0, 0,
100, 1, 0, 0, 0, 0,
0, 0, 76, 1, 0, 0,
84, 1, 0, 0, 1, 0,
0, 0, 112, 1, 0, 0,
4, 1, 0, 0, 124, 1,
0, 0, 196, 1, 0, 0,
3, 0, 0, 0, 212, 1,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 0, 0,
0, 128, 0, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 1, 0, 15, 176,
31, 0, 0, 2, 0, 0,
0, 128, 2, 0, 3, 176,
31, 0, 0, 2, 0, 0,
0, 144, 0, 8, 15, 160,
66, 0, 0, 3, 0, 0,
15, 128, 2, 0, 228, 176,
0, 8, 228, 160, 5, 0,
0, 3, 0, 0, 15, 128,
0, 0, 228, 128, 0, 0,
228, 176, 4, 0, 0, 4,
0, 0, 7, 128, 1, 0,
228, 176, 0, 0, 255, 128,
0, 0, 228, 128, 1, 0,
0, 2, 0, 8, 15, 128,
0, 0, 228, 128, 255, 255,
0, 0, 83, 72, 68, 82,
216, 0, 0, 0, 64, 0,
0, 0, 54, 0, 0, 0,
90, 0, 0, 3, 0, 96,
16, 0, 0, 0, 0, 0,
88, 24, 0, 4, 0, 112,
16, 0, 0, 0, 0, 0,
85, 85, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
1, 0, 0, 0, 98, 16,
0, 3, 50, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 1, 0, 0, 0,
69, 0, 0, 9, 242, 0,
16, 0, 0, 0, 0, 0,
70, 16, 16, 0, 2, 0,
0, 0, 70, 126, 16, 0,
0, 0, 0, 0, 0, 96,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 242, 0,
16, 0, 0, 0, 0, 0,
70, 14, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 50, 0,
0, 9, 114, 32, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 54, 0,
0, 5, 130, 32, 16, 0,
0, 0, 0, 0, 58, 0,
16, 0, 0, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 96, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 80, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 15, 7,
0, 0, 86, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 3, 3,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 171,
79, 83, 71, 78, 44, 0,
0, 0, 1, 0, 0, 0,
8, 0, 0, 0, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 83, 86,
95, 84, 97, 114, 103, 101,
116, 0, 171, 171
};

Просмотреть файл

@ -1,347 +1,347 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasic<10>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasic<7>
#line 43
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasic<8,9>
mov oPos.w, r0.z // ::VSBasic<11>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasic<0,1,2,3>
mov oT1.xyz, c7.x // ::VSBasic<4,5,6>
// approximately 11 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output_siv o2.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasic[] =
{
68, 88, 66, 67, 4, 71,
34, 123, 29, 228, 212, 180,
101, 69, 216, 97, 201, 242,
241, 108, 1, 0, 0, 0,
36, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
84, 4, 0, 0, 132, 5,
0, 0, 184, 5, 0, 0,
65, 111, 110, 57, 28, 4,
0, 0, 28, 4, 0, 0,
0, 2, 254, 255, 208, 3,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
190, 0, 68, 66, 85, 71,
40, 0, 0, 0, 204, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 13, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 144, 2, 0, 0,
44, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 0, 3, 0, 0,
0, 0, 255, 255, 24, 3,
0, 0, 43, 0, 0, 0,
36, 3, 0, 0, 14, 0,
0, 0, 52, 3, 0, 0,
14, 0, 0, 0, 68, 3,
0, 0, 14, 0, 0, 0,
84, 3, 0, 0, 43, 0,
0, 0, 100, 3, 0, 0,
43, 0, 0, 0, 116, 3,
0, 0, 43, 0, 0, 0,
132, 3, 0, 0, 44, 0,
1, 0, 148, 3, 0, 0,
44, 0, 1, 0, 168, 3,
0, 0, 44, 0, 0, 0,
180, 3, 0, 0, 45, 0,
0, 0, 192, 3, 0, 0,
86, 83, 66, 97, 115, 105,
99, 0, 68, 105, 102, 102,
117, 115, 101, 0, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 80,
111, 115, 105, 116, 105, 111,
110, 80, 83, 0, 52, 1,
0, 0, 60, 1, 0, 0,
76, 1, 0, 0, 60, 1,
0, 0, 85, 1, 0, 0,
60, 1, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 3, 0, 96, 1,
0, 0, 2, 0, 0, 0,
255, 255, 255, 255, 10, 0,
255, 255, 5, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 9, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 10, 0, 0, 0,
255, 255, 255, 255, 255, 255,
11, 0, 11, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 12, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
212, 1, 0, 0, 60, 1,
0, 0, 5, 0, 0, 0,
1, 0, 4, 0, 1, 0,
1, 0, 224, 1, 0, 0,
1, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 9, 2, 0, 0,
60, 1, 0, 0, 52, 1,
0, 0, 60, 1, 0, 0,
76, 1, 0, 0, 16, 2,
0, 0, 32, 2, 0, 0,
44, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 60, 2,
0, 0, 6, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 7, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 8, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
44, 1, 0, 0, 120, 1,
0, 0, 6, 0, 0, 0,
136, 1, 0, 0, 44, 1,
0, 0, 208, 1, 0, 0,
232, 1, 0, 0, 1, 0,
0, 0, 248, 1, 0, 0,
0, 0, 0, 0, 4, 2,
0, 0, 92, 2, 0, 0,
3, 0, 0, 0, 108, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
81, 0, 0, 5, 7, 0,
15, 160, 0, 0, 0, 0,
0, 0, 128, 63, 0, 0,
0, 0, 0, 0, 0, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
5, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 11, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 7, 0, 0, 160,
10, 0, 0, 3, 1, 0,
8, 224, 0, 0, 0, 128,
7, 0, 85, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 4, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
6, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 0, 0,
15, 224, 1, 0, 228, 160,
1, 0, 0, 2, 1, 0,
7, 224, 7, 0, 0, 160,
255, 255, 0, 0, 83, 72,
68, 82, 40, 1, 0, 0,
64, 0, 1, 0, 74, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 1, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 2, 0, 0, 0,
1, 0, 0, 0, 54, 0,
0, 6, 242, 32, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 32,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
54, 0, 0, 8, 114, 32,
16, 0, 1, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
22, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 23, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 24, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
25, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
79, 83, 71, 78, 100, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 80, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasic<10>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasic<7>
#line 43
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasic<8,9>
mov oPos.w, r0.z // ::VSBasic<11>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasic<0,1,2,3>
mov oT1.xyz, c7.x // ::VSBasic<4,5,6>
// approximately 11 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output_siv o2.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasic[] =
{
68, 88, 66, 67, 4, 71,
34, 123, 29, 228, 212, 180,
101, 69, 216, 97, 201, 242,
241, 108, 1, 0, 0, 0,
36, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
84, 4, 0, 0, 132, 5,
0, 0, 184, 5, 0, 0,
65, 111, 110, 57, 28, 4,
0, 0, 28, 4, 0, 0,
0, 2, 254, 255, 208, 3,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
190, 0, 68, 66, 85, 71,
40, 0, 0, 0, 204, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 13, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 144, 2, 0, 0,
44, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 0, 3, 0, 0,
0, 0, 255, 255, 24, 3,
0, 0, 43, 0, 0, 0,
36, 3, 0, 0, 14, 0,
0, 0, 52, 3, 0, 0,
14, 0, 0, 0, 68, 3,
0, 0, 14, 0, 0, 0,
84, 3, 0, 0, 43, 0,
0, 0, 100, 3, 0, 0,
43, 0, 0, 0, 116, 3,
0, 0, 43, 0, 0, 0,
132, 3, 0, 0, 44, 0,
1, 0, 148, 3, 0, 0,
44, 0, 1, 0, 168, 3,
0, 0, 44, 0, 0, 0,
180, 3, 0, 0, 45, 0,
0, 0, 192, 3, 0, 0,
86, 83, 66, 97, 115, 105,
99, 0, 68, 105, 102, 102,
117, 115, 101, 0, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 80,
111, 115, 105, 116, 105, 111,
110, 80, 83, 0, 52, 1,
0, 0, 60, 1, 0, 0,
76, 1, 0, 0, 60, 1,
0, 0, 85, 1, 0, 0,
60, 1, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 3, 0, 96, 1,
0, 0, 2, 0, 0, 0,
255, 255, 255, 255, 10, 0,
255, 255, 5, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 9, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 10, 0, 0, 0,
255, 255, 255, 255, 255, 255,
11, 0, 11, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 12, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
212, 1, 0, 0, 60, 1,
0, 0, 5, 0, 0, 0,
1, 0, 4, 0, 1, 0,
1, 0, 224, 1, 0, 0,
1, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 9, 2, 0, 0,
60, 1, 0, 0, 52, 1,
0, 0, 60, 1, 0, 0,
76, 1, 0, 0, 16, 2,
0, 0, 32, 2, 0, 0,
44, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 60, 2,
0, 0, 6, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 7, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 8, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
44, 1, 0, 0, 120, 1,
0, 0, 6, 0, 0, 0,
136, 1, 0, 0, 44, 1,
0, 0, 208, 1, 0, 0,
232, 1, 0, 0, 1, 0,
0, 0, 248, 1, 0, 0,
0, 0, 0, 0, 4, 2,
0, 0, 92, 2, 0, 0,
3, 0, 0, 0, 108, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
81, 0, 0, 5, 7, 0,
15, 160, 0, 0, 0, 0,
0, 0, 128, 63, 0, 0,
0, 0, 0, 0, 0, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
5, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 11, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 7, 0, 0, 160,
10, 0, 0, 3, 1, 0,
8, 224, 0, 0, 0, 128,
7, 0, 85, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 3, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 4, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
6, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 0, 0,
15, 224, 1, 0, 228, 160,
1, 0, 0, 2, 1, 0,
7, 224, 7, 0, 0, 160,
255, 255, 0, 0, 83, 72,
68, 82, 40, 1, 0, 0,
64, 0, 1, 0, 74, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 1, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 2, 0, 0, 0,
1, 0, 0, 0, 54, 0,
0, 6, 242, 32, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 32,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
54, 0, 0, 8, 114, 32,
16, 0, 1, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
22, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 23, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 24, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
25, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
44, 0, 0, 0, 1, 0,
0, 0, 8, 0, 0, 0,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
79, 83, 71, 78, 100, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 80, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 86, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 171, 171
};

Просмотреть файл

@ -1,291 +1,291 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// SV_Position 0 xyzw 1 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicNoFog<6>
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 56 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicNoFog<4,5>
mov oPos.w, r0.z // ::VSBasicNoFog<7>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasicNoFog<0,1,2,3>
// approximately 7 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_output o0.xyzw
dcl_output_siv o1.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4 o1.x, v0.xyzw, cb0[22].xyzw
dp4 o1.y, v0.xyzw, cb0[23].xyzw
dp4 o1.z, v0.xyzw, cb0[24].xyzw
dp4 o1.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicNoFog[] =
{
68, 88, 66, 67, 155, 147,
86, 104, 152, 137, 106, 31,
25, 167, 62, 196, 243, 125,
195, 81, 1, 0, 0, 0,
36, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
184, 3, 0, 0, 156, 4,
0, 0, 208, 4, 0, 0,
65, 111, 110, 57, 128, 3,
0, 0, 128, 3, 0, 0,
0, 2, 254, 255, 64, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
175, 0, 68, 66, 85, 71,
40, 0, 0, 0, 144, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 8, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 84, 2, 0, 0,
4, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 196, 2, 0, 0,
43, 0, 0, 0, 208, 2,
0, 0, 43, 0, 0, 0,
224, 2, 0, 0, 43, 0,
0, 0, 240, 2, 0, 0,
43, 0, 0, 0, 0, 3,
0, 0, 56, 0, 1, 0,
16, 3, 0, 0, 56, 0,
1, 0, 36, 3, 0, 0,
44, 0, 0, 0, 48, 3,
0, 0, 86, 83, 66, 97,
115, 105, 99, 78, 111, 70,
111, 103, 0, 68, 105, 102,
102, 117, 115, 101, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
80, 111, 115, 105, 116, 105,
111, 110, 80, 83, 0, 171,
17, 1, 0, 0, 28, 1,
0, 0, 44, 1, 0, 0,
28, 1, 0, 0, 5, 0,
0, 0, 1, 0, 8, 0,
1, 0, 2, 0, 56, 1,
0, 0, 1, 0, 0, 0,
255, 255, 255, 255, 6, 0,
255, 255, 5, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 6, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 7, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
140, 1, 0, 0, 28, 1,
0, 0, 5, 0, 0, 0,
1, 0, 4, 0, 1, 0,
1, 0, 152, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 193, 1, 0, 0,
28, 1, 0, 0, 17, 1,
0, 0, 28, 1, 0, 0,
200, 1, 0, 0, 212, 1,
0, 0, 228, 1, 0, 0,
240, 1, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 0, 2,
0, 0, 2, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 3, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 4, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
4, 1, 0, 0, 72, 1,
0, 0, 4, 0, 0, 0,
88, 1, 0, 0, 4, 1,
0, 0, 136, 1, 0, 0,
160, 1, 0, 0, 1, 0,
0, 0, 176, 1, 0, 0,
0, 0, 0, 0, 188, 1,
0, 0, 32, 2, 0, 0,
3, 0, 0, 0, 48, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
5, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 0, 0,
15, 224, 1, 0, 228, 160,
255, 255, 0, 0, 83, 72,
68, 82, 220, 0, 0, 0,
64, 0, 1, 0, 55, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 1, 0, 0, 0,
1, 0, 0, 0, 54, 0,
0, 6, 242, 32, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 0,
0, 8, 18, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 22, 0, 0, 0,
17, 0, 0, 8, 34, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 23, 0,
0, 0, 17, 0, 0, 8,
66, 32, 16, 0, 1, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
24, 0, 0, 0, 17, 0,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 25, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 79, 83, 71, 78,
76, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
62, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// SV_Position 0 xyzw 1 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicNoFog<6>
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 56 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicNoFog<4,5>
mov oPos.w, r0.z // ::VSBasicNoFog<7>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasicNoFog<0,1,2,3>
// approximately 7 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_output o0.xyzw
dcl_output_siv o1.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4 o1.x, v0.xyzw, cb0[22].xyzw
dp4 o1.y, v0.xyzw, cb0[23].xyzw
dp4 o1.z, v0.xyzw, cb0[24].xyzw
dp4 o1.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicNoFog[] =
{
68, 88, 66, 67, 155, 147,
86, 104, 152, 137, 106, 31,
25, 167, 62, 196, 243, 125,
195, 81, 1, 0, 0, 0,
36, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
184, 3, 0, 0, 156, 4,
0, 0, 208, 4, 0, 0,
65, 111, 110, 57, 128, 3,
0, 0, 128, 3, 0, 0,
0, 2, 254, 255, 64, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
175, 0, 68, 66, 85, 71,
40, 0, 0, 0, 144, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 8, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 84, 2, 0, 0,
4, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 196, 2, 0, 0,
43, 0, 0, 0, 208, 2,
0, 0, 43, 0, 0, 0,
224, 2, 0, 0, 43, 0,
0, 0, 240, 2, 0, 0,
43, 0, 0, 0, 0, 3,
0, 0, 56, 0, 1, 0,
16, 3, 0, 0, 56, 0,
1, 0, 36, 3, 0, 0,
44, 0, 0, 0, 48, 3,
0, 0, 86, 83, 66, 97,
115, 105, 99, 78, 111, 70,
111, 103, 0, 68, 105, 102,
102, 117, 115, 101, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
80, 111, 115, 105, 116, 105,
111, 110, 80, 83, 0, 171,
17, 1, 0, 0, 28, 1,
0, 0, 44, 1, 0, 0,
28, 1, 0, 0, 5, 0,
0, 0, 1, 0, 8, 0,
1, 0, 2, 0, 56, 1,
0, 0, 1, 0, 0, 0,
255, 255, 255, 255, 6, 0,
255, 255, 5, 0, 0, 0,
4, 0, 5, 0, 255, 255,
255, 255, 6, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 7, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171, 171, 171,
140, 1, 0, 0, 28, 1,
0, 0, 5, 0, 0, 0,
1, 0, 4, 0, 1, 0,
1, 0, 152, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 193, 1, 0, 0,
28, 1, 0, 0, 17, 1,
0, 0, 28, 1, 0, 0,
200, 1, 0, 0, 212, 1,
0, 0, 228, 1, 0, 0,
240, 1, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 0, 2,
0, 0, 2, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 3, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 4, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
4, 1, 0, 0, 72, 1,
0, 0, 4, 0, 0, 0,
88, 1, 0, 0, 4, 1,
0, 0, 136, 1, 0, 0,
160, 1, 0, 0, 1, 0,
0, 0, 176, 1, 0, 0,
0, 0, 0, 0, 188, 1,
0, 0, 32, 2, 0, 0,
3, 0, 0, 0, 48, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
5, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 0, 0,
15, 224, 1, 0, 228, 160,
255, 255, 0, 0, 83, 72,
68, 82, 220, 0, 0, 0,
64, 0, 1, 0, 55, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 1, 0, 0, 0,
1, 0, 0, 0, 54, 0,
0, 6, 242, 32, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 0,
0, 8, 18, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 22, 0, 0, 0,
17, 0, 0, 8, 34, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 23, 0,
0, 0, 17, 0, 0, 8,
66, 32, 16, 0, 1, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
24, 0, 0, 0, 17, 0,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 25, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 79, 83, 71, 78,
76, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
62, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
171, 171
};

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,394 +1,394 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasicTx<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasicTx<7>
#line 43
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 96 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTx<10,11>
mov oPos.w, r0.z // ::VSBasicTx<13>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasicTx<0,1,2,3>
mov oT1.xyz, c7.x // ::VSBasicTx<4,5,6>
#line 103 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oT2.xy, v1 // ::VSBasicTx<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[22].xyzw
dp4 o3.y, v0.xyzw, cb0[23].xyzw
dp4 o3.z, v0.xyzw, cb0[24].xyzw
dp4 o3.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTx[] =
{
68, 88, 66, 67, 29, 13,
114, 41, 44, 111, 57, 168,
193, 52, 201, 124, 80, 17,
74, 82, 1, 0, 0, 0,
4, 7, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
196, 4, 0, 0, 32, 6,
0, 0, 120, 6, 0, 0,
65, 111, 110, 57, 140, 4,
0, 0, 140, 4, 0, 0,
0, 2, 254, 255, 64, 4,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
212, 0, 68, 66, 85, 71,
40, 0, 0, 0, 36, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 15, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 232, 2, 0, 0,
60, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 88, 3, 0, 0,
0, 0, 255, 255, 112, 3,
0, 0, 0, 0, 255, 255,
124, 3, 0, 0, 43, 0,
0, 0, 136, 3, 0, 0,
14, 0, 0, 0, 152, 3,
0, 0, 14, 0, 0, 0,
168, 3, 0, 0, 14, 0,
0, 0, 184, 3, 0, 0,
43, 0, 0, 0, 200, 3,
0, 0, 43, 0, 0, 0,
216, 3, 0, 0, 43, 0,
0, 0, 232, 3, 0, 0,
96, 0, 1, 0, 248, 3,
0, 0, 96, 0, 1, 0,
12, 4, 0, 0, 44, 0,
0, 0, 24, 4, 0, 0,
45, 0, 0, 0, 36, 4,
0, 0, 103, 0, 1, 0,
48, 4, 0, 0, 86, 83,
66, 97, 115, 105, 99, 84,
120, 0, 68, 105, 102, 102,
117, 115, 101, 0, 171, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 84, 101, 120, 67, 111,
111, 114, 100, 0, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 80, 111,
115, 105, 116, 105, 111, 110,
80, 83, 0, 171, 70, 1,
0, 0, 80, 1, 0, 0,
96, 1, 0, 0, 80, 1,
0, 0, 105, 1, 0, 0,
116, 1, 0, 0, 132, 1,
0, 0, 80, 1, 0, 0,
5, 0, 0, 0, 1, 0,
14, 0, 1, 0, 4, 0,
144, 1, 0, 0, 3, 0,
0, 0, 255, 255, 255, 255,
12, 0, 255, 255, 6, 0,
0, 0, 255, 255, 255, 255,
255, 255, 7, 0, 10, 0,
0, 0, 10, 0, 11, 0,
255, 255, 255, 255, 11, 0,
0, 0, 255, 255, 255, 255,
255, 255, 13, 0, 12, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 13, 0,
0, 0, 4, 0, 5, 0,
6, 0, 255, 255, 14, 0,
0, 0, 8, 0, 9, 0,
255, 255, 255, 255, 118, 105,
110, 0, 80, 111, 115, 105,
116, 105, 111, 110, 0, 171,
171, 171, 24, 2, 0, 0,
80, 1, 0, 0, 105, 1,
0, 0, 116, 1, 0, 0,
5, 0, 0, 0, 1, 0,
6, 0, 1, 0, 2, 0,
36, 2, 0, 0, 1, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 2, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 118, 111,
117, 116, 0, 80, 111, 115,
95, 112, 115, 0, 1, 0,
3, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0,
0, 0, 70, 111, 103, 70,
97, 99, 116, 111, 114, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
97, 2, 0, 0, 80, 1,
0, 0, 70, 1, 0, 0,
80, 1, 0, 0, 96, 1,
0, 0, 104, 2, 0, 0,
120, 2, 0, 0, 132, 2,
0, 0, 5, 0, 0, 0,
1, 0, 12, 0, 1, 0,
4, 0, 148, 2, 0, 0,
7, 0, 0, 0, 0, 0,
255, 255, 255, 255, 255, 255,
8, 0, 0, 0, 255, 255,
1, 0, 255, 255, 255, 255,
9, 0, 0, 0, 255, 255,
255, 255, 3, 0, 255, 255,
0, 0, 0, 0, 60, 1,
0, 0, 176, 1, 0, 0,
7, 0, 0, 0, 192, 1,
0, 0, 60, 1, 0, 0,
20, 2, 0, 0, 52, 2,
0, 0, 2, 0, 0, 0,
68, 2, 0, 0, 0, 0,
0, 0, 92, 2, 0, 0,
180, 2, 0, 0, 3, 0,
0, 0, 196, 2, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 81, 0,
0, 5, 7, 0, 15, 160,
0, 0, 0, 0, 0, 0,
128, 63, 0, 0, 0, 0,
0, 0, 0, 0, 31, 0,
0, 2, 5, 0, 0, 128,
0, 0, 15, 144, 31, 0,
0, 2, 5, 0, 1, 128,
1, 0, 15, 144, 9, 0,
0, 3, 0, 0, 4, 192,
0, 0, 228, 144, 5, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 2, 0, 228, 160,
11, 0, 0, 3, 0, 0,
1, 128, 0, 0, 0, 128,
7, 0, 0, 160, 10, 0,
0, 3, 1, 0, 8, 224,
0, 0, 0, 128, 7, 0,
85, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 6, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 0, 0, 15, 224,
1, 0, 228, 160, 1, 0,
0, 2, 1, 0, 7, 224,
7, 0, 0, 160, 1, 0,
0, 2, 2, 0, 3, 224,
1, 0, 228, 144, 255, 255,
0, 0, 83, 72, 68, 82,
84, 1, 0, 0, 64, 0,
1, 0, 85, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 50, 32, 16, 0,
2, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
3, 0, 0, 0, 1, 0,
0, 0, 54, 0, 0, 6,
242, 32, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 17, 32, 0, 8,
130, 32, 16, 0, 1, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
14, 0, 0, 0, 54, 0,
0, 8, 114, 32, 16, 0,
1, 0, 0, 0, 2, 64,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 5, 50, 32,
16, 0, 2, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
22, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 23, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 24, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
25, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
80, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 171, 171,
79, 83, 71, 78, 132, 0,
0, 0, 4, 0, 0, 0,
8, 0, 0, 0, 104, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 104, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 110, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
3, 12, 0, 0, 119, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasicTx<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasicTx<7>
#line 43
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 96 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTx<10,11>
mov oPos.w, r0.z // ::VSBasicTx<13>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasicTx<0,1,2,3>
mov oT1.xyz, c7.x // ::VSBasicTx<4,5,6>
#line 103 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oT2.xy, v1 // ::VSBasicTx<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mov o0.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[22].xyzw
dp4 o3.y, v0.xyzw, cb0[23].xyzw
dp4 o3.z, v0.xyzw, cb0[24].xyzw
dp4 o3.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTx[] =
{
68, 88, 66, 67, 29, 13,
114, 41, 44, 111, 57, 168,
193, 52, 201, 124, 80, 17,
74, 82, 1, 0, 0, 0,
4, 7, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
196, 4, 0, 0, 32, 6,
0, 0, 120, 6, 0, 0,
65, 111, 110, 57, 140, 4,
0, 0, 140, 4, 0, 0,
0, 2, 254, 255, 64, 4,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
212, 0, 68, 66, 85, 71,
40, 0, 0, 0, 36, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 15, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 232, 2, 0, 0,
60, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 88, 3, 0, 0,
0, 0, 255, 255, 112, 3,
0, 0, 0, 0, 255, 255,
124, 3, 0, 0, 43, 0,
0, 0, 136, 3, 0, 0,
14, 0, 0, 0, 152, 3,
0, 0, 14, 0, 0, 0,
168, 3, 0, 0, 14, 0,
0, 0, 184, 3, 0, 0,
43, 0, 0, 0, 200, 3,
0, 0, 43, 0, 0, 0,
216, 3, 0, 0, 43, 0,
0, 0, 232, 3, 0, 0,
96, 0, 1, 0, 248, 3,
0, 0, 96, 0, 1, 0,
12, 4, 0, 0, 44, 0,
0, 0, 24, 4, 0, 0,
45, 0, 0, 0, 36, 4,
0, 0, 103, 0, 1, 0,
48, 4, 0, 0, 86, 83,
66, 97, 115, 105, 99, 84,
120, 0, 68, 105, 102, 102,
117, 115, 101, 0, 171, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 83, 112,
101, 99, 117, 108, 97, 114,
0, 84, 101, 120, 67, 111,
111, 114, 100, 0, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 80, 111,
115, 105, 116, 105, 111, 110,
80, 83, 0, 171, 70, 1,
0, 0, 80, 1, 0, 0,
96, 1, 0, 0, 80, 1,
0, 0, 105, 1, 0, 0,
116, 1, 0, 0, 132, 1,
0, 0, 80, 1, 0, 0,
5, 0, 0, 0, 1, 0,
14, 0, 1, 0, 4, 0,
144, 1, 0, 0, 3, 0,
0, 0, 255, 255, 255, 255,
12, 0, 255, 255, 6, 0,
0, 0, 255, 255, 255, 255,
255, 255, 7, 0, 10, 0,
0, 0, 10, 0, 11, 0,
255, 255, 255, 255, 11, 0,
0, 0, 255, 255, 255, 255,
255, 255, 13, 0, 12, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 13, 0,
0, 0, 4, 0, 5, 0,
6, 0, 255, 255, 14, 0,
0, 0, 8, 0, 9, 0,
255, 255, 255, 255, 118, 105,
110, 0, 80, 111, 115, 105,
116, 105, 111, 110, 0, 171,
171, 171, 24, 2, 0, 0,
80, 1, 0, 0, 105, 1,
0, 0, 116, 1, 0, 0,
5, 0, 0, 0, 1, 0,
6, 0, 1, 0, 2, 0,
36, 2, 0, 0, 1, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 2, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 118, 111,
117, 116, 0, 80, 111, 115,
95, 112, 115, 0, 1, 0,
3, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0,
0, 0, 70, 111, 103, 70,
97, 99, 116, 111, 114, 0,
171, 171, 0, 0, 3, 0,
1, 0, 1, 0, 1, 0,
0, 0, 0, 0, 0, 0,
97, 2, 0, 0, 80, 1,
0, 0, 70, 1, 0, 0,
80, 1, 0, 0, 96, 1,
0, 0, 104, 2, 0, 0,
120, 2, 0, 0, 132, 2,
0, 0, 5, 0, 0, 0,
1, 0, 12, 0, 1, 0,
4, 0, 148, 2, 0, 0,
7, 0, 0, 0, 0, 0,
255, 255, 255, 255, 255, 255,
8, 0, 0, 0, 255, 255,
1, 0, 255, 255, 255, 255,
9, 0, 0, 0, 255, 255,
255, 255, 3, 0, 255, 255,
0, 0, 0, 0, 60, 1,
0, 0, 176, 1, 0, 0,
7, 0, 0, 0, 192, 1,
0, 0, 60, 1, 0, 0,
20, 2, 0, 0, 52, 2,
0, 0, 2, 0, 0, 0,
68, 2, 0, 0, 0, 0,
0, 0, 92, 2, 0, 0,
180, 2, 0, 0, 3, 0,
0, 0, 196, 2, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 81, 0,
0, 5, 7, 0, 15, 160,
0, 0, 0, 0, 0, 0,
128, 63, 0, 0, 0, 0,
0, 0, 0, 0, 31, 0,
0, 2, 5, 0, 0, 128,
0, 0, 15, 144, 31, 0,
0, 2, 5, 0, 1, 128,
1, 0, 15, 144, 9, 0,
0, 3, 0, 0, 4, 192,
0, 0, 228, 144, 5, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 2, 0, 228, 160,
11, 0, 0, 3, 0, 0,
1, 128, 0, 0, 0, 128,
7, 0, 0, 160, 10, 0,
0, 3, 1, 0, 8, 224,
0, 0, 0, 128, 7, 0,
85, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 6, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 0, 0, 15, 224,
1, 0, 228, 160, 1, 0,
0, 2, 1, 0, 7, 224,
7, 0, 0, 160, 1, 0,
0, 2, 2, 0, 3, 224,
1, 0, 228, 144, 255, 255,
0, 0, 83, 72, 68, 82,
84, 1, 0, 0, 64, 0,
1, 0, 85, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 50, 32, 16, 0,
2, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
3, 0, 0, 0, 1, 0,
0, 0, 54, 0, 0, 6,
242, 32, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 0, 0,
0, 0, 17, 32, 0, 8,
130, 32, 16, 0, 1, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
14, 0, 0, 0, 54, 0,
0, 8, 114, 32, 16, 0,
1, 0, 0, 0, 2, 64,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
54, 0, 0, 5, 50, 32,
16, 0, 2, 0, 0, 0,
70, 16, 16, 0, 1, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
22, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 23, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 24, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
25, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
80, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 3, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 171, 171,
79, 83, 71, 78, 132, 0,
0, 0, 4, 0, 0, 0,
8, 0, 0, 0, 104, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 104, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 110, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
3, 12, 0, 0, 119, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};

Просмотреть файл

@ -1,336 +1,336 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicTxNoFog<8>
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 110 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTxNoFog<6,7>
mov oPos.w, r0.z // ::VSBasicTxNoFog<9>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasicTxNoFog<0,1,2,3>
#line 117 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oT1.xy, v1 // ::VSBasicTxNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mov o0.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTxNoFog[] =
{
68, 88, 66, 67, 56, 68,
211, 175, 50, 96, 214, 156,
101, 168, 116, 82, 238, 107,
124, 129, 1, 0, 0, 0,
0, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
36, 4, 0, 0, 52, 5,
0, 0, 140, 5, 0, 0,
65, 111, 110, 57, 236, 3,
0, 0, 236, 3, 0, 0,
0, 2, 254, 255, 172, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
196, 0, 68, 66, 85, 71,
40, 0, 0, 0, 228, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 10, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 168, 2, 0, 0,
20, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 24, 3, 0, 0,
0, 0, 255, 255, 36, 3,
0, 0, 43, 0, 0, 0,
48, 3, 0, 0, 43, 0,
0, 0, 64, 3, 0, 0,
43, 0, 0, 0, 80, 3,
0, 0, 43, 0, 0, 0,
96, 3, 0, 0, 110, 0,
1, 0, 112, 3, 0, 0,
110, 0, 1, 0, 132, 3,
0, 0, 44, 0, 0, 0,
144, 3, 0, 0, 117, 0,
1, 0, 156, 3, 0, 0,
86, 83, 66, 97, 115, 105,
99, 84, 120, 78, 111, 70,
111, 103, 0, 68, 105, 102,
102, 117, 115, 101, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 84, 101,
120, 67, 111, 111, 114, 100,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 35, 1, 0, 0,
44, 1, 0, 0, 60, 1,
0, 0, 72, 1, 0, 0,
88, 1, 0, 0, 44, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 100, 1, 0, 0,
2, 0, 0, 0, 255, 255,
255, 255, 8, 0, 255, 255,
6, 0, 0, 0, 6, 0,
7, 0, 255, 255, 255, 255,
7, 0, 0, 0, 255, 255,
255, 255, 255, 255, 9, 0,
8, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
9, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
118, 105, 110, 0, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171, 171, 171, 204, 1,
0, 0, 44, 1, 0, 0,
60, 1, 0, 0, 72, 1,
0, 0, 5, 0, 0, 0,
1, 0, 6, 0, 1, 0,
2, 0, 216, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 21, 2, 0, 0,
44, 1, 0, 0, 35, 1,
0, 0, 44, 1, 0, 0,
28, 2, 0, 0, 40, 2,
0, 0, 56, 2, 0, 0,
68, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 84, 2,
0, 0, 3, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 4, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 5, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
20, 1, 0, 0, 124, 1,
0, 0, 5, 0, 0, 0,
140, 1, 0, 0, 20, 1,
0, 0, 200, 1, 0, 0,
232, 1, 0, 0, 2, 0,
0, 0, 248, 1, 0, 0,
0, 0, 0, 0, 16, 2,
0, 0, 116, 2, 0, 0,
3, 0, 0, 0, 132, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
5, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 0, 0,
15, 224, 1, 0, 228, 160,
1, 0, 0, 2, 1, 0,
3, 224, 1, 0, 228, 144,
255, 255, 0, 0, 83, 72,
68, 82, 8, 1, 0, 0,
64, 0, 1, 0, 66, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
95, 0, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 50, 32,
16, 0, 1, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 2, 0, 0, 0,
1, 0, 0, 0, 54, 0,
0, 6, 242, 32, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
1, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 22, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
23, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 24, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 25, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 80, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 171, 171, 79, 83,
71, 78, 108, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 86, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 12,
0, 0, 95, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 15, 0,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 83,
86, 95, 80, 111, 115, 105,
116, 105, 111, 110, 0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicTxNoFog<8>
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 110 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTxNoFog<6,7>
mov oPos.w, r0.z // ::VSBasicTxNoFog<9>
#line 44 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT0, c1 // ::VSBasicTxNoFog<0,1,2,3>
#line 117 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oT1.xy, v1 // ::VSBasicTxNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mov o0.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTxNoFog[] =
{
68, 88, 66, 67, 56, 68,
211, 175, 50, 96, 214, 156,
101, 168, 116, 82, 238, 107,
124, 129, 1, 0, 0, 0,
0, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
36, 4, 0, 0, 52, 5,
0, 0, 140, 5, 0, 0,
65, 111, 110, 57, 236, 3,
0, 0, 236, 3, 0, 0,
0, 2, 254, 255, 172, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
196, 0, 68, 66, 85, 71,
40, 0, 0, 0, 228, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 10, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 168, 2, 0, 0,
20, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 24, 3, 0, 0,
0, 0, 255, 255, 36, 3,
0, 0, 43, 0, 0, 0,
48, 3, 0, 0, 43, 0,
0, 0, 64, 3, 0, 0,
43, 0, 0, 0, 80, 3,
0, 0, 43, 0, 0, 0,
96, 3, 0, 0, 110, 0,
1, 0, 112, 3, 0, 0,
110, 0, 1, 0, 132, 3,
0, 0, 44, 0, 0, 0,
144, 3, 0, 0, 117, 0,
1, 0, 156, 3, 0, 0,
86, 83, 66, 97, 115, 105,
99, 84, 120, 78, 111, 70,
111, 103, 0, 68, 105, 102,
102, 117, 115, 101, 0, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 84, 101,
120, 67, 111, 111, 114, 100,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 35, 1, 0, 0,
44, 1, 0, 0, 60, 1,
0, 0, 72, 1, 0, 0,
88, 1, 0, 0, 44, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 100, 1, 0, 0,
2, 0, 0, 0, 255, 255,
255, 255, 8, 0, 255, 255,
6, 0, 0, 0, 6, 0,
7, 0, 255, 255, 255, 255,
7, 0, 0, 0, 255, 255,
255, 255, 255, 255, 9, 0,
8, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
9, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
118, 105, 110, 0, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171, 171, 171, 204, 1,
0, 0, 44, 1, 0, 0,
60, 1, 0, 0, 72, 1,
0, 0, 5, 0, 0, 0,
1, 0, 6, 0, 1, 0,
2, 0, 216, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 21, 2, 0, 0,
44, 1, 0, 0, 35, 1,
0, 0, 44, 1, 0, 0,
28, 2, 0, 0, 40, 2,
0, 0, 56, 2, 0, 0,
68, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 84, 2,
0, 0, 3, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 4, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 5, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
20, 1, 0, 0, 124, 1,
0, 0, 5, 0, 0, 0,
140, 1, 0, 0, 20, 1,
0, 0, 200, 1, 0, 0,
232, 1, 0, 0, 2, 0,
0, 0, 248, 1, 0, 0,
0, 0, 0, 0, 16, 2,
0, 0, 116, 2, 0, 0,
3, 0, 0, 0, 132, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
5, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
1, 0, 0, 2, 0, 0,
15, 224, 1, 0, 228, 160,
1, 0, 0, 2, 1, 0,
3, 224, 1, 0, 228, 144,
255, 255, 0, 0, 83, 72,
68, 82, 8, 1, 0, 0,
64, 0, 1, 0, 66, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
95, 0, 0, 3, 50, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
101, 0, 0, 3, 50, 32,
16, 0, 1, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 2, 0, 0, 0,
1, 0, 0, 0, 54, 0,
0, 6, 242, 32, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
1, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 22, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
23, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 24, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 25, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 80, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 171, 171, 171, 79, 83,
71, 78, 108, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 86, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 12,
0, 0, 95, 0, 0, 0,
0, 0, 0, 0, 1, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 15, 0,
0, 0, 67, 79, 76, 79,
82, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 83,
86, 95, 80, 111, 115, 105,
116, 105, 111, 110, 0, 171
};

Просмотреть файл

@ -1,415 +1,415 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasicTxVc<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasicTxVc<7>
#line 132 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v2, c1 // ::VSBasicTxVc<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 124 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTxVc<10,11>
mov oPos.w, r0.z // ::VSBasicTxVc<13>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT1.xyz, c7.x // ::VSBasicTxVc<4,5,6>
#line 131 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oT2.xy, v1 // ::VSBasicTxVc<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[22].xyzw
dp4 o3.y, v0.xyzw, cb0[23].xyzw
dp4 o3.z, v0.xyzw, cb0[24].xyzw
dp4 o3.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTxVc[] =
{
68, 88, 66, 67, 14, 101,
81, 26, 102, 105, 174, 97,
117, 237, 138, 246, 224, 4,
109, 142, 1, 0, 0, 0,
100, 7, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
244, 4, 0, 0, 100, 6,
0, 0, 216, 6, 0, 0,
65, 111, 110, 57, 188, 4,
0, 0, 188, 4, 0, 0,
0, 2, 254, 255, 112, 4,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
220, 0, 68, 66, 85, 71,
40, 0, 0, 0, 68, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 16, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 8, 3, 0, 0,
68, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 120, 3, 0, 0,
0, 0, 255, 255, 144, 3,
0, 0, 0, 0, 255, 255,
156, 3, 0, 0, 0, 0,
255, 255, 168, 3, 0, 0,
43, 0, 0, 0, 180, 3,
0, 0, 14, 0, 0, 0,
196, 3, 0, 0, 14, 0,
0, 0, 212, 3, 0, 0,
14, 0, 0, 0, 228, 3,
0, 0, 132, 0, 1, 0,
244, 3, 0, 0, 43, 0,
0, 0, 4, 4, 0, 0,
43, 0, 0, 0, 20, 4,
0, 0, 43, 0, 0, 0,
36, 4, 0, 0, 124, 0,
1, 0, 52, 4, 0, 0,
124, 0, 1, 0, 72, 4,
0, 0, 45, 0, 0, 0,
84, 4, 0, 0, 131, 0,
1, 0, 96, 4, 0, 0,
86, 83, 66, 97, 115, 105,
99, 84, 120, 86, 99, 0,
68, 105, 102, 102, 117, 115,
101, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 84, 101, 120,
67, 111, 111, 114, 100, 0,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
80, 111, 115, 105, 116, 105,
111, 110, 80, 83, 0, 171,
80, 1, 0, 0, 88, 1,
0, 0, 104, 1, 0, 0,
88, 1, 0, 0, 113, 1,
0, 0, 124, 1, 0, 0,
140, 1, 0, 0, 88, 1,
0, 0, 5, 0, 0, 0,
1, 0, 14, 0, 1, 0,
4, 0, 152, 1, 0, 0,
4, 0, 0, 0, 255, 255,
255, 255, 12, 0, 255, 255,
7, 0, 0, 0, 255, 255,
255, 255, 255, 255, 7, 0,
8, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
12, 0, 0, 0, 10, 0,
11, 0, 255, 255, 255, 255,
13, 0, 0, 0, 255, 255,
255, 255, 255, 255, 13, 0,
14, 0, 0, 0, 4, 0,
5, 0, 6, 0, 255, 255,
15, 0, 0, 0, 8, 0,
9, 0, 255, 255, 255, 255,
118, 105, 110, 0, 80, 111,
115, 105, 116, 105, 111, 110,
0, 67, 111, 108, 111, 114,
0, 171, 32, 2, 0, 0,
88, 1, 0, 0, 113, 1,
0, 0, 124, 1, 0, 0,
41, 2, 0, 0, 88, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 48, 2, 0, 0,
1, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
2, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
3, 0, 0, 0, 6, 0,
7, 0, 8, 0, 9, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 129, 2, 0, 0,
88, 1, 0, 0, 80, 1,
0, 0, 88, 1, 0, 0,
104, 1, 0, 0, 136, 2,
0, 0, 152, 2, 0, 0,
164, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 180, 2,
0, 0, 9, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 10, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 11, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
68, 1, 0, 0, 184, 1,
0, 0, 7, 0, 0, 0,
200, 1, 0, 0, 68, 1,
0, 0, 28, 2, 0, 0,
72, 2, 0, 0, 3, 0,
0, 0, 88, 2, 0, 0,
0, 0, 0, 0, 124, 2,
0, 0, 212, 2, 0, 0,
3, 0, 0, 0, 228, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
81, 0, 0, 5, 7, 0,
15, 160, 0, 0, 0, 0,
0, 0, 128, 63, 0, 0,
0, 0, 0, 0, 0, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
31, 0, 0, 2, 5, 0,
2, 128, 2, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
5, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 11, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 7, 0, 0, 160,
10, 0, 0, 3, 1, 0,
8, 224, 0, 0, 0, 128,
7, 0, 85, 160, 5, 0,
0, 3, 0, 0, 15, 224,
2, 0, 228, 144, 1, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 6, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 1, 0, 7, 224,
7, 0, 0, 160, 1, 0,
0, 2, 2, 0, 3, 224,
1, 0, 228, 144, 255, 255,
0, 0, 83, 72, 68, 82,
104, 1, 0, 0, 64, 0,
1, 0, 90, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 50, 32, 16, 0,
2, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
3, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
2, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 32,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
54, 0, 0, 8, 114, 32,
16, 0, 1, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 5,
50, 32, 16, 0, 2, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 17, 0,
0, 8, 18, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 22, 0, 0, 0,
17, 0, 0, 8, 34, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 23, 0,
0, 0, 17, 0, 0, 8,
66, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
24, 0, 0, 0, 17, 0,
0, 8, 130, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 25, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 108, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 92, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 101, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 15, 15,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 67,
79, 76, 79, 82, 0, 171,
79, 83, 71, 78, 132, 0,
0, 0, 4, 0, 0, 0,
8, 0, 0, 0, 104, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 104, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 110, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
3, 12, 0, 0, 119, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float xy
// SV_Position 0 xyzw 3 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasicTxVc<12>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasicTxVc<7>
#line 132 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v2, c1 // ::VSBasicTxVc<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 124 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTxVc<10,11>
mov oPos.w, r0.z // ::VSBasicTxVc<13>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT1.xyz, c7.x // ::VSBasicTxVc<4,5,6>
#line 131 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mov oT2.xy, v1 // ::VSBasicTxVc<8,9>
// approximately 12 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output o2.xy
dcl_output_siv o3.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
mov o2.xy, v1.xyxx
dp4 o3.x, v0.xyzw, cb0[22].xyzw
dp4 o3.y, v0.xyzw, cb0[23].xyzw
dp4 o3.z, v0.xyzw, cb0[24].xyzw
dp4 o3.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTxVc[] =
{
68, 88, 66, 67, 14, 101,
81, 26, 102, 105, 174, 97,
117, 237, 138, 246, 224, 4,
109, 142, 1, 0, 0, 0,
100, 7, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
244, 4, 0, 0, 100, 6,
0, 0, 216, 6, 0, 0,
65, 111, 110, 57, 188, 4,
0, 0, 188, 4, 0, 0,
0, 2, 254, 255, 112, 4,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
220, 0, 68, 66, 85, 71,
40, 0, 0, 0, 68, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 16, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 8, 3, 0, 0,
68, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 120, 3, 0, 0,
0, 0, 255, 255, 144, 3,
0, 0, 0, 0, 255, 255,
156, 3, 0, 0, 0, 0,
255, 255, 168, 3, 0, 0,
43, 0, 0, 0, 180, 3,
0, 0, 14, 0, 0, 0,
196, 3, 0, 0, 14, 0,
0, 0, 212, 3, 0, 0,
14, 0, 0, 0, 228, 3,
0, 0, 132, 0, 1, 0,
244, 3, 0, 0, 43, 0,
0, 0, 4, 4, 0, 0,
43, 0, 0, 0, 20, 4,
0, 0, 43, 0, 0, 0,
36, 4, 0, 0, 124, 0,
1, 0, 52, 4, 0, 0,
124, 0, 1, 0, 72, 4,
0, 0, 45, 0, 0, 0,
84, 4, 0, 0, 131, 0,
1, 0, 96, 4, 0, 0,
86, 83, 66, 97, 115, 105,
99, 84, 120, 86, 99, 0,
68, 105, 102, 102, 117, 115,
101, 0, 1, 0, 3, 0,
1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 84, 101, 120,
67, 111, 111, 114, 100, 0,
171, 171, 1, 0, 3, 0,
1, 0, 2, 0, 1, 0,
0, 0, 0, 0, 0, 0,
80, 111, 115, 105, 116, 105,
111, 110, 80, 83, 0, 171,
80, 1, 0, 0, 88, 1,
0, 0, 104, 1, 0, 0,
88, 1, 0, 0, 113, 1,
0, 0, 124, 1, 0, 0,
140, 1, 0, 0, 88, 1,
0, 0, 5, 0, 0, 0,
1, 0, 14, 0, 1, 0,
4, 0, 152, 1, 0, 0,
4, 0, 0, 0, 255, 255,
255, 255, 12, 0, 255, 255,
7, 0, 0, 0, 255, 255,
255, 255, 255, 255, 7, 0,
8, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
12, 0, 0, 0, 10, 0,
11, 0, 255, 255, 255, 255,
13, 0, 0, 0, 255, 255,
255, 255, 255, 255, 13, 0,
14, 0, 0, 0, 4, 0,
5, 0, 6, 0, 255, 255,
15, 0, 0, 0, 8, 0,
9, 0, 255, 255, 255, 255,
118, 105, 110, 0, 80, 111,
115, 105, 116, 105, 111, 110,
0, 67, 111, 108, 111, 114,
0, 171, 32, 2, 0, 0,
88, 1, 0, 0, 113, 1,
0, 0, 124, 1, 0, 0,
41, 2, 0, 0, 88, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 48, 2, 0, 0,
1, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
2, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
3, 0, 0, 0, 6, 0,
7, 0, 8, 0, 9, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 129, 2, 0, 0,
88, 1, 0, 0, 80, 1,
0, 0, 88, 1, 0, 0,
104, 1, 0, 0, 136, 2,
0, 0, 152, 2, 0, 0,
164, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 180, 2,
0, 0, 9, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 10, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 11, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
68, 1, 0, 0, 184, 1,
0, 0, 7, 0, 0, 0,
200, 1, 0, 0, 68, 1,
0, 0, 28, 2, 0, 0,
72, 2, 0, 0, 3, 0,
0, 0, 88, 2, 0, 0,
0, 0, 0, 0, 124, 2,
0, 0, 212, 2, 0, 0,
3, 0, 0, 0, 228, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
81, 0, 0, 5, 7, 0,
15, 160, 0, 0, 0, 0,
0, 0, 128, 63, 0, 0,
0, 0, 0, 0, 0, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
31, 0, 0, 2, 5, 0,
2, 128, 2, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
5, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 11, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 7, 0, 0, 160,
10, 0, 0, 3, 1, 0,
8, 224, 0, 0, 0, 128,
7, 0, 85, 160, 5, 0,
0, 3, 0, 0, 15, 224,
2, 0, 228, 144, 1, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 6, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 1, 0, 7, 224,
7, 0, 0, 160, 1, 0,
0, 2, 2, 0, 3, 224,
1, 0, 228, 144, 255, 255,
0, 0, 83, 72, 68, 82,
104, 1, 0, 0, 64, 0,
1, 0, 90, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 50, 32, 16, 0,
2, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
3, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
2, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 32,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
54, 0, 0, 8, 114, 32,
16, 0, 1, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 54, 0, 0, 5,
50, 32, 16, 0, 2, 0,
0, 0, 70, 16, 16, 0,
1, 0, 0, 0, 17, 0,
0, 8, 18, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 22, 0, 0, 0,
17, 0, 0, 8, 34, 32,
16, 0, 3, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 23, 0,
0, 0, 17, 0, 0, 8,
66, 32, 16, 0, 3, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
24, 0, 0, 0, 17, 0,
0, 8, 130, 32, 16, 0,
3, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 25, 0, 0, 0,
62, 0, 0, 1, 73, 83,
71, 78, 108, 0, 0, 0,
3, 0, 0, 0, 8, 0,
0, 0, 80, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 15,
0, 0, 92, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
1, 0, 0, 0, 3, 3,
0, 0, 101, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
2, 0, 0, 0, 15, 15,
0, 0, 83, 86, 95, 80,
111, 115, 105, 116, 105, 111,
110, 0, 84, 69, 88, 67,
79, 79, 82, 68, 0, 67,
79, 76, 79, 82, 0, 171,
79, 83, 71, 78, 132, 0,
0, 0, 4, 0, 0, 0,
8, 0, 0, 0, 104, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 104, 0,
0, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 110, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
3, 12, 0, 0, 119, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 3, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 83, 86, 95, 80, 111,
115, 105, 116, 105, 111, 110,
0, 171
};

Просмотреть файл

@ -1,358 +1,358 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicTxVcNoFog<8>
#line 147 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v2, c1 // ::VSBasicTxVcNoFog<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 139 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTxVcNoFog<6,7>
mov oPos.w, r0.z // ::VSBasicTxVcNoFog<9>
#line 146
mov oT1.xy, v1 // ::VSBasicTxVcNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTxVcNoFog[] =
{
68, 88, 66, 67, 221, 185,
114, 68, 133, 72, 155, 0,
203, 59, 161, 152, 65, 185,
2, 84, 1, 0, 0, 0,
100, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
88, 4, 0, 0, 124, 5,
0, 0, 240, 5, 0, 0,
65, 111, 110, 57, 32, 4,
0, 0, 32, 4, 0, 0,
0, 2, 254, 255, 224, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
205, 0, 68, 66, 85, 71,
40, 0, 0, 0, 8, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 11, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 204, 2, 0, 0,
28, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 60, 3, 0, 0,
0, 0, 255, 255, 72, 3,
0, 0, 0, 0, 255, 255,
84, 3, 0, 0, 43, 0,
0, 0, 96, 3, 0, 0,
147, 0, 1, 0, 112, 3,
0, 0, 43, 0, 0, 0,
128, 3, 0, 0, 43, 0,
0, 0, 144, 3, 0, 0,
43, 0, 0, 0, 160, 3,
0, 0, 139, 0, 1, 0,
176, 3, 0, 0, 139, 0,
1, 0, 196, 3, 0, 0,
146, 0, 1, 0, 208, 3,
0, 0, 86, 83, 66, 97,
115, 105, 99, 84, 120, 86,
99, 78, 111, 70, 111, 103,
0, 68, 105, 102, 102, 117,
115, 101, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 84, 101,
120, 67, 111, 111, 114, 100,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 45, 1, 0, 0,
56, 1, 0, 0, 72, 1,
0, 0, 84, 1, 0, 0,
100, 1, 0, 0, 56, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 112, 1, 0, 0,
3, 0, 0, 0, 255, 255,
255, 255, 8, 0, 255, 255,
4, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
8, 0, 0, 0, 6, 0,
7, 0, 255, 255, 255, 255,
9, 0, 0, 0, 255, 255,
255, 255, 255, 255, 9, 0,
10, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
118, 105, 110, 0, 80, 111,
115, 105, 116, 105, 111, 110,
0, 67, 111, 108, 111, 114,
0, 171, 216, 1, 0, 0,
56, 1, 0, 0, 72, 1,
0, 0, 84, 1, 0, 0,
225, 1, 0, 0, 56, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 232, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
2, 0, 0, 0, 6, 0,
7, 0, 8, 0, 9, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 57, 2, 0, 0,
56, 1, 0, 0, 45, 1,
0, 0, 56, 1, 0, 0,
64, 2, 0, 0, 76, 2,
0, 0, 92, 2, 0, 0,
104, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 120, 2,
0, 0, 5, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 6, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 7, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
28, 1, 0, 0, 136, 1,
0, 0, 5, 0, 0, 0,
152, 1, 0, 0, 28, 1,
0, 0, 212, 1, 0, 0,
0, 2, 0, 0, 3, 0,
0, 0, 16, 2, 0, 0,
0, 0, 0, 0, 52, 2,
0, 0, 152, 2, 0, 0,
3, 0, 0, 0, 168, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
31, 0, 0, 2, 5, 0,
2, 128, 2, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
4, 0, 228, 160, 5, 0,
0, 3, 0, 0, 15, 224,
2, 0, 228, 144, 1, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 2, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
3, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 5, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 1, 0, 3, 224,
1, 0, 228, 144, 255, 255,
0, 0, 83, 72, 68, 82,
28, 1, 0, 0, 64, 0,
1, 0, 71, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 50, 32, 16, 0,
1, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
2, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
2, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
1, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 22, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
23, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 24, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 25, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 92, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 101, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 15, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 67, 79, 76, 79, 82,
0, 171, 79, 83, 71, 78,
108, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 12, 0, 0,
95, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 83, 86, 95,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// COLOR 0 xyzw 2 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// TEXCOORD 0 xy 1 NONE float xy
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5>
dcl_texcoord2 v2 // vin<6,7,8,9>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicTxVcNoFog<8>
#line 147 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v2, c1 // ::VSBasicTxVcNoFog<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 139 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicTxVcNoFog<6,7>
mov oPos.w, r0.z // ::VSBasicTxVcNoFog<9>
#line 146
mov oT1.xy, v1 // ::VSBasicTxVcNoFog<4,5>
// approximately 8 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xyzw
dcl_output o0.xyzw
dcl_output o1.xy
dcl_output_siv o2.xyzw, position
mul o0.xyzw, v2.xyzw, cb0[0].xyzw
mov o1.xy, v1.xyxx
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicTxVcNoFog[] =
{
68, 88, 66, 67, 221, 185,
114, 68, 133, 72, 155, 0,
203, 59, 161, 152, 65, 185,
2, 84, 1, 0, 0, 0,
100, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
88, 4, 0, 0, 124, 5,
0, 0, 240, 5, 0, 0,
65, 111, 110, 57, 32, 4,
0, 0, 32, 4, 0, 0,
0, 2, 254, 255, 224, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
205, 0, 68, 66, 85, 71,
40, 0, 0, 0, 8, 3,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 11, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 204, 2, 0, 0,
28, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 60, 3, 0, 0,
0, 0, 255, 255, 72, 3,
0, 0, 0, 0, 255, 255,
84, 3, 0, 0, 43, 0,
0, 0, 96, 3, 0, 0,
147, 0, 1, 0, 112, 3,
0, 0, 43, 0, 0, 0,
128, 3, 0, 0, 43, 0,
0, 0, 144, 3, 0, 0,
43, 0, 0, 0, 160, 3,
0, 0, 139, 0, 1, 0,
176, 3, 0, 0, 139, 0,
1, 0, 196, 3, 0, 0,
146, 0, 1, 0, 208, 3,
0, 0, 86, 83, 66, 97,
115, 105, 99, 84, 120, 86,
99, 78, 111, 70, 111, 103,
0, 68, 105, 102, 102, 117,
115, 101, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
4, 0, 1, 0, 0, 0,
0, 0, 0, 0, 84, 101,
120, 67, 111, 111, 114, 100,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 2, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 45, 1, 0, 0,
56, 1, 0, 0, 72, 1,
0, 0, 84, 1, 0, 0,
100, 1, 0, 0, 56, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 112, 1, 0, 0,
3, 0, 0, 0, 255, 255,
255, 255, 8, 0, 255, 255,
4, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
8, 0, 0, 0, 6, 0,
7, 0, 255, 255, 255, 255,
9, 0, 0, 0, 255, 255,
255, 255, 255, 255, 9, 0,
10, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
118, 105, 110, 0, 80, 111,
115, 105, 116, 105, 111, 110,
0, 67, 111, 108, 111, 114,
0, 171, 216, 1, 0, 0,
56, 1, 0, 0, 72, 1,
0, 0, 84, 1, 0, 0,
225, 1, 0, 0, 56, 1,
0, 0, 5, 0, 0, 0,
1, 0, 10, 0, 1, 0,
3, 0, 232, 1, 0, 0,
0, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
1, 0, 0, 0, 4, 0,
5, 0, 255, 255, 255, 255,
2, 0, 0, 0, 6, 0,
7, 0, 8, 0, 9, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
83, 112, 101, 99, 117, 108,
97, 114, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 57, 2, 0, 0,
56, 1, 0, 0, 45, 1,
0, 0, 56, 1, 0, 0,
64, 2, 0, 0, 76, 2,
0, 0, 92, 2, 0, 0,
104, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 120, 2,
0, 0, 5, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 6, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 7, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
28, 1, 0, 0, 136, 1,
0, 0, 5, 0, 0, 0,
152, 1, 0, 0, 28, 1,
0, 0, 212, 1, 0, 0,
0, 2, 0, 0, 3, 0,
0, 0, 16, 2, 0, 0,
0, 0, 0, 0, 52, 2,
0, 0, 152, 2, 0, 0,
3, 0, 0, 0, 168, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
31, 0, 0, 2, 5, 0,
2, 128, 2, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
4, 0, 228, 160, 5, 0,
0, 3, 0, 0, 15, 224,
2, 0, 228, 144, 1, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 2, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
3, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 5, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 1, 0, 3, 224,
1, 0, 228, 144, 255, 255,
0, 0, 83, 72, 68, 82,
28, 1, 0, 0, 64, 0,
1, 0, 71, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 50, 16, 16, 0,
1, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
2, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 50, 32, 16, 0,
1, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
2, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
2, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 54, 0,
0, 5, 50, 32, 16, 0,
1, 0, 0, 0, 70, 16,
16, 0, 1, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 22, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
23, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 24, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 25, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 108, 0,
0, 0, 3, 0, 0, 0,
8, 0, 0, 0, 80, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 92, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
3, 3, 0, 0, 101, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 2, 0, 0, 0,
15, 15, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 84, 69,
88, 67, 79, 79, 82, 68,
0, 67, 79, 76, 79, 82,
0, 171, 79, 83, 71, 78,
108, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 3, 12, 0, 0,
95, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 83, 86, 95,
80, 111, 115, 105, 116, 105,
111, 110, 0, 171
};

Просмотреть файл

@ -1,370 +1,370 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// COLOR 0 xyzw 1 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5,6,7>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasicVc<10>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasicVc<7>
#line 75 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v1, c1 // ::VSBasicVc<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 68 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicVc<8,9>
mov oPos.w, r0.z // ::VSBasicVc<11>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT1.xyz, c7.x // ::VSBasicVc<4,5,6>
// approximately 11 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output_siv o2.xyzw, position
mul o0.xyzw, v1.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicVc[] =
{
68, 88, 66, 67, 80, 215,
126, 229, 179, 232, 205, 13,
117, 161, 73, 52, 30, 175,
83, 66, 1, 0, 0, 0,
140, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
136, 4, 0, 0, 204, 5,
0, 0, 32, 6, 0, 0,
65, 111, 110, 57, 80, 4,
0, 0, 80, 4, 0, 0,
0, 2, 254, 255, 4, 4,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
199, 0, 68, 66, 85, 71,
40, 0, 0, 0, 240, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 14, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 180, 2, 0, 0,
52, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 36, 3, 0, 0,
0, 0, 255, 255, 60, 3,
0, 0, 0, 0, 255, 255,
72, 3, 0, 0, 43, 0,
0, 0, 84, 3, 0, 0,
14, 0, 0, 0, 100, 3,
0, 0, 14, 0, 0, 0,
116, 3, 0, 0, 14, 0,
0, 0, 132, 3, 0, 0,
75, 0, 1, 0, 148, 3,
0, 0, 43, 0, 0, 0,
164, 3, 0, 0, 43, 0,
0, 0, 180, 3, 0, 0,
43, 0, 0, 0, 196, 3,
0, 0, 68, 0, 1, 0,
212, 3, 0, 0, 68, 0,
1, 0, 232, 3, 0, 0,
45, 0, 0, 0, 244, 3,
0, 0, 86, 83, 66, 97,
115, 105, 99, 86, 99, 0,
68, 105, 102, 102, 117, 115,
101, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 80,
111, 115, 105, 116, 105, 111,
110, 80, 83, 0, 62, 1,
0, 0, 72, 1, 0, 0,
88, 1, 0, 0, 72, 1,
0, 0, 97, 1, 0, 0,
72, 1, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 3, 0, 108, 1,
0, 0, 3, 0, 0, 0,
255, 255, 255, 255, 10, 0,
255, 255, 6, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 7, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 11, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 12, 0, 0, 0,
255, 255, 255, 255, 255, 255,
11, 0, 13, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 67, 111, 108,
111, 114, 0, 171, 224, 1,
0, 0, 72, 1, 0, 0,
233, 1, 0, 0, 72, 1,
0, 0, 5, 0, 0, 0,
1, 0, 8, 0, 1, 0,
2, 0, 240, 1, 0, 0,
1, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
2, 0, 0, 0, 4, 0,
5, 0, 6, 0, 7, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 45, 2, 0, 0,
72, 1, 0, 0, 62, 1,
0, 0, 72, 1, 0, 0,
88, 1, 0, 0, 52, 2,
0, 0, 68, 2, 0, 0,
80, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 96, 2,
0, 0, 8, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 9, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 10, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
52, 1, 0, 0, 132, 1,
0, 0, 6, 0, 0, 0,
148, 1, 0, 0, 52, 1,
0, 0, 220, 1, 0, 0,
0, 2, 0, 0, 2, 0,
0, 0, 16, 2, 0, 0,
0, 0, 0, 0, 40, 2,
0, 0, 128, 2, 0, 0,
3, 0, 0, 0, 144, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
81, 0, 0, 5, 7, 0,
15, 160, 0, 0, 0, 0,
0, 0, 128, 63, 0, 0,
0, 0, 0, 0, 0, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
5, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 11, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 7, 0, 0, 160,
10, 0, 0, 3, 1, 0,
8, 224, 0, 0, 0, 128,
7, 0, 85, 160, 5, 0,
0, 3, 0, 0, 15, 224,
1, 0, 228, 144, 1, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 6, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 1, 0, 7, 224,
7, 0, 0, 160, 255, 255,
0, 0, 83, 72, 68, 82,
60, 1, 0, 0, 64, 0,
1, 0, 79, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
1, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
2, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
1, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 32,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
54, 0, 0, 8, 114, 32,
16, 0, 1, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
22, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 23, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 24, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
25, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
76, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
67, 79, 76, 79, 82, 0,
171, 171, 79, 83, 71, 78,
100, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 0, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// COLOR 0 xyzw 1 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// COLOR 1 xyzw 1 NONE float xyzw
// SV_Position 0 xyzw 2 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 14 1 ( FLT, FLT, FLT, FLT)
// c3 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
def c7, 0, 1, 0, 0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5,6,7>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c5 // ::VSBasicVc<10>
#line 14
dp4 r0.x, v0, c2
max r0.x, r0.x, c7.x
min oT1.w, r0.x, c7.y // ::VSBasicVc<7>
#line 75 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v1, c1 // ::VSBasicVc<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c3 // ::vout<0>
dp4 r0.y, v0, c4 // ::vout<1>
dp4 r0.z, v0, c6 // ::vout<3>
#line 68 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicVc<8,9>
mov oPos.w, r0.z // ::VSBasicVc<11>
#line 45 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
mov oT1.xyz, c7.x // ::VSBasicVc<4,5,6>
// approximately 11 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_output o0.xyzw
dcl_output o1.xyzw
dcl_output_siv o2.xyzw, position
mul o0.xyzw, v1.xyzw, cb0[0].xyzw
dp4_sat o1.w, v0.xyzw, cb0[14].xyzw
mov o1.xyz, l(0,0,0,0)
dp4 o2.x, v0.xyzw, cb0[22].xyzw
dp4 o2.y, v0.xyzw, cb0[23].xyzw
dp4 o2.z, v0.xyzw, cb0[24].xyzw
dp4 o2.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicVc[] =
{
68, 88, 66, 67, 80, 215,
126, 229, 179, 232, 205, 13,
117, 161, 73, 52, 30, 175,
83, 66, 1, 0, 0, 0,
140, 6, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
136, 4, 0, 0, 204, 5,
0, 0, 32, 6, 0, 0,
65, 111, 110, 57, 80, 4,
0, 0, 80, 4, 0, 0,
0, 2, 254, 255, 4, 4,
0, 0, 76, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 1, 0,
72, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 14, 0,
1, 0, 2, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 3, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
199, 0, 68, 66, 85, 71,
40, 0, 0, 0, 240, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 14, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 180, 2, 0, 0,
52, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 36, 3, 0, 0,
0, 0, 255, 255, 60, 3,
0, 0, 0, 0, 255, 255,
72, 3, 0, 0, 43, 0,
0, 0, 84, 3, 0, 0,
14, 0, 0, 0, 100, 3,
0, 0, 14, 0, 0, 0,
116, 3, 0, 0, 14, 0,
0, 0, 132, 3, 0, 0,
75, 0, 1, 0, 148, 3,
0, 0, 43, 0, 0, 0,
164, 3, 0, 0, 43, 0,
0, 0, 180, 3, 0, 0,
43, 0, 0, 0, 196, 3,
0, 0, 68, 0, 1, 0,
212, 3, 0, 0, 68, 0,
1, 0, 232, 3, 0, 0,
45, 0, 0, 0, 244, 3,
0, 0, 86, 83, 66, 97,
115, 105, 99, 86, 99, 0,
68, 105, 102, 102, 117, 115,
101, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 80,
111, 115, 105, 116, 105, 111,
110, 80, 83, 0, 62, 1,
0, 0, 72, 1, 0, 0,
88, 1, 0, 0, 72, 1,
0, 0, 97, 1, 0, 0,
72, 1, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 3, 0, 108, 1,
0, 0, 3, 0, 0, 0,
255, 255, 255, 255, 10, 0,
255, 255, 6, 0, 0, 0,
255, 255, 255, 255, 255, 255,
7, 0, 7, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 11, 0, 0, 0,
8, 0, 9, 0, 255, 255,
255, 255, 12, 0, 0, 0,
255, 255, 255, 255, 255, 255,
11, 0, 13, 0, 0, 0,
4, 0, 5, 0, 6, 0,
255, 255, 118, 105, 110, 0,
80, 111, 115, 105, 116, 105,
111, 110, 0, 67, 111, 108,
111, 114, 0, 171, 224, 1,
0, 0, 72, 1, 0, 0,
233, 1, 0, 0, 72, 1,
0, 0, 5, 0, 0, 0,
1, 0, 8, 0, 1, 0,
2, 0, 240, 1, 0, 0,
1, 0, 0, 0, 0, 0,
1, 0, 2, 0, 3, 0,
2, 0, 0, 0, 4, 0,
5, 0, 6, 0, 7, 0,
118, 111, 117, 116, 0, 80,
111, 115, 95, 112, 115, 0,
1, 0, 3, 0, 1, 0,
3, 0, 1, 0, 0, 0,
0, 0, 0, 0, 70, 111,
103, 70, 97, 99, 116, 111,
114, 0, 171, 171, 0, 0,
3, 0, 1, 0, 1, 0,
1, 0, 0, 0, 0, 0,
0, 0, 45, 2, 0, 0,
72, 1, 0, 0, 62, 1,
0, 0, 72, 1, 0, 0,
88, 1, 0, 0, 52, 2,
0, 0, 68, 2, 0, 0,
80, 2, 0, 0, 5, 0,
0, 0, 1, 0, 12, 0,
1, 0, 4, 0, 96, 2,
0, 0, 8, 0, 0, 0,
0, 0, 255, 255, 255, 255,
255, 255, 9, 0, 0, 0,
255, 255, 1, 0, 255, 255,
255, 255, 10, 0, 0, 0,
255, 255, 255, 255, 3, 0,
255, 255, 0, 0, 0, 0,
52, 1, 0, 0, 132, 1,
0, 0, 6, 0, 0, 0,
148, 1, 0, 0, 52, 1,
0, 0, 220, 1, 0, 0,
0, 2, 0, 0, 2, 0,
0, 0, 16, 2, 0, 0,
0, 0, 0, 0, 40, 2,
0, 0, 128, 2, 0, 0,
3, 0, 0, 0, 144, 2,
0, 0, 77, 105, 99, 114,
111, 115, 111, 102, 116, 32,
40, 82, 41, 32, 72, 76,
83, 76, 32, 83, 104, 97,
100, 101, 114, 32, 67, 111,
109, 112, 105, 108, 101, 114,
32, 49, 48, 46, 49, 0,
81, 0, 0, 5, 7, 0,
15, 160, 0, 0, 0, 0,
0, 0, 128, 63, 0, 0,
0, 0, 0, 0, 0, 0,
31, 0, 0, 2, 5, 0,
0, 128, 0, 0, 15, 144,
31, 0, 0, 2, 5, 0,
1, 128, 1, 0, 15, 144,
9, 0, 0, 3, 0, 0,
4, 192, 0, 0, 228, 144,
5, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 11, 0, 0, 3,
0, 0, 1, 128, 0, 0,
0, 128, 7, 0, 0, 160,
10, 0, 0, 3, 1, 0,
8, 224, 0, 0, 0, 128,
7, 0, 85, 160, 5, 0,
0, 3, 0, 0, 15, 224,
1, 0, 228, 144, 1, 0,
228, 160, 9, 0, 0, 3,
0, 0, 1, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
2, 128, 0, 0, 228, 144,
4, 0, 228, 160, 9, 0,
0, 3, 0, 0, 4, 128,
0, 0, 228, 144, 6, 0,
228, 160, 4, 0, 0, 4,
0, 0, 3, 192, 0, 0,
170, 128, 0, 0, 228, 160,
0, 0, 228, 128, 1, 0,
0, 2, 0, 0, 8, 192,
0, 0, 170, 128, 1, 0,
0, 2, 1, 0, 7, 224,
7, 0, 0, 160, 255, 255,
0, 0, 83, 72, 68, 82,
60, 1, 0, 0, 64, 0,
1, 0, 79, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 0, 0, 0, 0,
26, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
0, 0, 0, 0, 95, 0,
0, 3, 242, 16, 16, 0,
1, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
1, 0, 0, 0, 103, 0,
0, 4, 242, 32, 16, 0,
2, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 8,
242, 32, 16, 0, 0, 0,
0, 0, 70, 30, 16, 0,
1, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
0, 0, 0, 0, 17, 32,
0, 8, 130, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 14, 0, 0, 0,
54, 0, 0, 8, 114, 32,
16, 0, 1, 0, 0, 0,
2, 64, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 17, 0, 0, 8,
18, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
22, 0, 0, 0, 17, 0,
0, 8, 34, 32, 16, 0,
2, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 23, 0, 0, 0,
17, 0, 0, 8, 66, 32,
16, 0, 2, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 24, 0,
0, 0, 17, 0, 0, 8,
130, 32, 16, 0, 2, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
25, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
76, 0, 0, 0, 2, 0,
0, 0, 8, 0, 0, 0,
56, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 15, 0, 0,
68, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
67, 79, 76, 79, 82, 0,
171, 171, 79, 83, 71, 78,
100, 0, 0, 0, 3, 0,
0, 0, 8, 0, 0, 0,
80, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
80, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 0, 0, 0,
86, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 15, 0, 0, 0,
67, 79, 76, 79, 82, 0,
83, 86, 95, 80, 111, 115,
105, 116, 105, 111, 110, 0,
171, 171
};

Просмотреть файл

@ -1,312 +1,312 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// COLOR 0 xyzw 1 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// SV_Position 0 xyzw 1 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5,6,7>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicVcNoFog<6>
#line 89 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v1, c1 // ::VSBasicVcNoFog<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 82 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicVcNoFog<4,5>
mov oPos.w, r0.z // ::VSBasicVcNoFog<7>
// approximately 7 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_output o0.xyzw
dcl_output_siv o1.xyzw, position
mul o0.xyzw, v1.xyzw, cb0[0].xyzw
dp4 o1.x, v0.xyzw, cb0[22].xyzw
dp4 o1.y, v0.xyzw, cb0[23].xyzw
dp4 o1.z, v0.xyzw, cb0[24].xyzw
dp4 o1.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicVcNoFog[] =
{
68, 88, 66, 67, 48, 136,
3, 212, 35, 18, 173, 151,
114, 101, 218, 132, 211, 163,
107, 180, 1, 0, 0, 0,
136, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
232, 3, 0, 0, 224, 4,
0, 0, 52, 5, 0, 0,
65, 111, 110, 57, 176, 3,
0, 0, 176, 3, 0, 0,
0, 2, 254, 255, 112, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
183, 0, 68, 66, 85, 71,
40, 0, 0, 0, 176, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 9, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 116, 2, 0, 0,
12, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 228, 2, 0, 0,
0, 0, 255, 255, 240, 2,
0, 0, 43, 0, 0, 0,
252, 2, 0, 0, 89, 0,
1, 0, 12, 3, 0, 0,
43, 0, 0, 0, 28, 3,
0, 0, 43, 0, 0, 0,
44, 3, 0, 0, 43, 0,
0, 0, 60, 3, 0, 0,
82, 0, 1, 0, 76, 3,
0, 0, 82, 0, 1, 0,
96, 3, 0, 0, 86, 83,
66, 97, 115, 105, 99, 86,
99, 78, 111, 70, 111, 103,
0, 68, 105, 102, 102, 117,
115, 101, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 27, 1, 0, 0,
36, 1, 0, 0, 52, 1,
0, 0, 36, 1, 0, 0,
5, 0, 0, 0, 1, 0,
8, 0, 1, 0, 2, 0,
64, 1, 0, 0, 2, 0,
0, 0, 255, 255, 255, 255,
6, 0, 255, 255, 3, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 7, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 8, 0,
0, 0, 255, 255, 255, 255,
255, 255, 7, 0, 118, 105,
110, 0, 80, 111, 115, 105,
116, 105, 111, 110, 0, 67,
111, 108, 111, 114, 0, 171,
148, 1, 0, 0, 36, 1,
0, 0, 157, 1, 0, 0,
36, 1, 0, 0, 5, 0,
0, 0, 1, 0, 8, 0,
1, 0, 2, 0, 164, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 225, 1,
0, 0, 36, 1, 0, 0,
27, 1, 0, 0, 36, 1,
0, 0, 232, 1, 0, 0,
244, 1, 0, 0, 4, 2,
0, 0, 16, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
32, 2, 0, 0, 4, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 5, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 6, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 12, 1, 0, 0,
80, 1, 0, 0, 4, 0,
0, 0, 96, 1, 0, 0,
12, 1, 0, 0, 144, 1,
0, 0, 180, 1, 0, 0,
2, 0, 0, 0, 196, 1,
0, 0, 0, 0, 0, 0,
220, 1, 0, 0, 64, 2,
0, 0, 3, 0, 0, 0,
80, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 4, 0, 228, 160,
5, 0, 0, 3, 0, 0,
15, 224, 1, 0, 228, 144,
1, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
5, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
255, 255, 0, 0, 83, 72,
68, 82, 240, 0, 0, 0,
64, 0, 1, 0, 60, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 1, 0, 0, 0,
1, 0, 0, 0, 56, 0,
0, 8, 242, 32, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 1, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 22, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 1, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
23, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 24, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 25, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 76, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 15, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 67, 79,
76, 79, 82, 0, 171, 171,
79, 83, 71, 78, 76, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 62, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position 0 xyzw 0 NONE float xyzw
// COLOR 0 xyzw 1 NONE float xyzw
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// COLOR 0 xyzw 0 NONE float xyzw
// SV_Position 0 xyzw 1 POS float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c2 cb0 22 4 ( FLT, FLT, FLT, FLT)
//
//
// Runtime generated constant mappings:
//
// Target Reg Constant Description
// ---------- --------------------------------------------------
// c0 Vertex Shader position offset
//
//
// Level9 shader bytecode:
//
vs_2_0
dcl_texcoord v0 // vin<0,1,2,3>
dcl_texcoord1 v1 // vin<4,5,6,7>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 oPos.z, v0, c4 // ::VSBasicVcNoFog<6>
#line 89 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mul oT0, v1, c1 // ::VSBasicVcNoFog<0,1,2,3>
#line 43 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\Common.fxh"
dp4 r0.x, v0, c2 // ::vout<0>
dp4 r0.y, v0, c3 // ::vout<1>
dp4 r0.z, v0, c5 // ::vout<3>
#line 82 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\BasicEffect.fx"
mad oPos.xy, r0.z, c0, r0 // ::VSBasicVcNoFog<4,5>
mov oPos.w, r0.z // ::VSBasicVcNoFog<7>
// approximately 7 instruction slots used
vs_4_0
dcl_constantbuffer CB0[26], immediateIndexed
dcl_input v0.xyzw
dcl_input v1.xyzw
dcl_output o0.xyzw
dcl_output_siv o1.xyzw, position
mul o0.xyzw, v1.xyzw, cb0[0].xyzw
dp4 o1.x, v0.xyzw, cb0[22].xyzw
dp4 o1.y, v0.xyzw, cb0[23].xyzw
dp4 o1.z, v0.xyzw, cb0[24].xyzw
dp4 o1.w, v0.xyzw, cb0[25].xyzw
ret
// Approximately 0 instruction slots used
#endif
const BYTE BasicEffect_VSBasicVcNoFog[] =
{
68, 88, 66, 67, 48, 136,
3, 212, 35, 18, 173, 151,
114, 101, 218, 132, 211, 163,
107, 180, 1, 0, 0, 0,
136, 5, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
232, 3, 0, 0, 224, 4,
0, 0, 52, 5, 0, 0,
65, 111, 110, 57, 176, 3,
0, 0, 176, 3, 0, 0,
0, 2, 254, 255, 112, 3,
0, 0, 64, 0, 0, 0,
2, 0, 36, 0, 0, 0,
60, 0, 0, 0, 60, 0,
0, 0, 36, 0, 1, 0,
60, 0, 0, 0, 0, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 22, 0,
4, 0, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 2, 254, 255, 254, 255,
183, 0, 68, 66, 85, 71,
40, 0, 0, 0, 176, 2,
0, 0, 0, 0, 0, 0,
2, 0, 0, 0, 188, 0,
0, 0, 9, 0, 0, 0,
196, 0, 0, 0, 3, 0,
0, 0, 116, 2, 0, 0,
12, 1, 0, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 67,
111, 109, 109, 111, 110, 46,
102, 120, 104, 0, 67, 58,
92, 85, 115, 101, 114, 115,
92, 67, 104, 117, 99, 107,
87, 92, 68, 101, 115, 107,
116, 111, 112, 92, 68, 51,
68, 49, 49, 32, 80, 114,
111, 106, 101, 99, 116, 115,
92, 100, 105, 114, 101, 99,
116, 120, 116, 107, 92, 83,
114, 99, 92, 83, 104, 97,
100, 101, 114, 115, 92, 66,
97, 115, 105, 99, 69, 102,
102, 101, 99, 116, 46, 102,
120, 0, 40, 0, 0, 0,
112, 0, 0, 0, 0, 0,
255, 255, 228, 2, 0, 0,
0, 0, 255, 255, 240, 2,
0, 0, 43, 0, 0, 0,
252, 2, 0, 0, 89, 0,
1, 0, 12, 3, 0, 0,
43, 0, 0, 0, 28, 3,
0, 0, 43, 0, 0, 0,
44, 3, 0, 0, 43, 0,
0, 0, 60, 3, 0, 0,
82, 0, 1, 0, 76, 3,
0, 0, 82, 0, 1, 0,
96, 3, 0, 0, 86, 83,
66, 97, 115, 105, 99, 86,
99, 78, 111, 70, 111, 103,
0, 68, 105, 102, 102, 117,
115, 101, 0, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 80, 111, 115, 105,
116, 105, 111, 110, 80, 83,
0, 171, 27, 1, 0, 0,
36, 1, 0, 0, 52, 1,
0, 0, 36, 1, 0, 0,
5, 0, 0, 0, 1, 0,
8, 0, 1, 0, 2, 0,
64, 1, 0, 0, 2, 0,
0, 0, 255, 255, 255, 255,
6, 0, 255, 255, 3, 0,
0, 0, 0, 0, 1, 0,
2, 0, 3, 0, 7, 0,
0, 0, 4, 0, 5, 0,
255, 255, 255, 255, 8, 0,
0, 0, 255, 255, 255, 255,
255, 255, 7, 0, 118, 105,
110, 0, 80, 111, 115, 105,
116, 105, 111, 110, 0, 67,
111, 108, 111, 114, 0, 171,
148, 1, 0, 0, 36, 1,
0, 0, 157, 1, 0, 0,
36, 1, 0, 0, 5, 0,
0, 0, 1, 0, 8, 0,
1, 0, 2, 0, 164, 1,
0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 1, 0, 0, 0,
4, 0, 5, 0, 6, 0,
7, 0, 118, 111, 117, 116,
0, 80, 111, 115, 95, 112,
115, 0, 83, 112, 101, 99,
117, 108, 97, 114, 0, 171,
171, 171, 1, 0, 3, 0,
1, 0, 3, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 111, 103, 70, 97, 99,
116, 111, 114, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 225, 1,
0, 0, 36, 1, 0, 0,
27, 1, 0, 0, 36, 1,
0, 0, 232, 1, 0, 0,
244, 1, 0, 0, 4, 2,
0, 0, 16, 2, 0, 0,
5, 0, 0, 0, 1, 0,
12, 0, 1, 0, 4, 0,
32, 2, 0, 0, 4, 0,
0, 0, 0, 0, 255, 255,
255, 255, 255, 255, 5, 0,
0, 0, 255, 255, 1, 0,
255, 255, 255, 255, 6, 0,
0, 0, 255, 255, 255, 255,
3, 0, 255, 255, 0, 0,
0, 0, 12, 1, 0, 0,
80, 1, 0, 0, 4, 0,
0, 0, 96, 1, 0, 0,
12, 1, 0, 0, 144, 1,
0, 0, 180, 1, 0, 0,
2, 0, 0, 0, 196, 1,
0, 0, 0, 0, 0, 0,
220, 1, 0, 0, 64, 2,
0, 0, 3, 0, 0, 0,
80, 2, 0, 0, 77, 105,
99, 114, 111, 115, 111, 102,
116, 32, 40, 82, 41, 32,
72, 76, 83, 76, 32, 83,
104, 97, 100, 101, 114, 32,
67, 111, 109, 112, 105, 108,
101, 114, 32, 49, 48, 46,
49, 0, 31, 0, 0, 2,
5, 0, 0, 128, 0, 0,
15, 144, 31, 0, 0, 2,
5, 0, 1, 128, 1, 0,
15, 144, 9, 0, 0, 3,
0, 0, 4, 192, 0, 0,
228, 144, 4, 0, 228, 160,
5, 0, 0, 3, 0, 0,
15, 224, 1, 0, 228, 144,
1, 0, 228, 160, 9, 0,
0, 3, 0, 0, 1, 128,
0, 0, 228, 144, 2, 0,
228, 160, 9, 0, 0, 3,
0, 0, 2, 128, 0, 0,
228, 144, 3, 0, 228, 160,
9, 0, 0, 3, 0, 0,
4, 128, 0, 0, 228, 144,
5, 0, 228, 160, 4, 0,
0, 4, 0, 0, 3, 192,
0, 0, 170, 128, 0, 0,
228, 160, 0, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 192, 0, 0, 170, 128,
255, 255, 0, 0, 83, 72,
68, 82, 240, 0, 0, 0,
64, 0, 1, 0, 60, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 26, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 0, 0, 0, 0,
95, 0, 0, 3, 242, 16,
16, 0, 1, 0, 0, 0,
101, 0, 0, 3, 242, 32,
16, 0, 0, 0, 0, 0,
103, 0, 0, 4, 242, 32,
16, 0, 1, 0, 0, 0,
1, 0, 0, 0, 56, 0,
0, 8, 242, 32, 16, 0,
0, 0, 0, 0, 70, 30,
16, 0, 1, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
17, 0, 0, 8, 18, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 22, 0,
0, 0, 17, 0, 0, 8,
34, 32, 16, 0, 1, 0,
0, 0, 70, 30, 16, 0,
0, 0, 0, 0, 70, 142,
32, 0, 0, 0, 0, 0,
23, 0, 0, 0, 17, 0,
0, 8, 66, 32, 16, 0,
1, 0, 0, 0, 70, 30,
16, 0, 0, 0, 0, 0,
70, 142, 32, 0, 0, 0,
0, 0, 24, 0, 0, 0,
17, 0, 0, 8, 130, 32,
16, 0, 1, 0, 0, 0,
70, 30, 16, 0, 0, 0,
0, 0, 70, 142, 32, 0,
0, 0, 0, 0, 25, 0,
0, 0, 62, 0, 0, 1,
73, 83, 71, 78, 76, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 15, 0, 0, 68, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 15, 0, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 67, 79,
76, 79, 82, 0, 171, 171,
79, 83, 71, 78, 76, 0,
0, 0, 2, 0, 0, 0,
8, 0, 0, 0, 56, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
15, 0, 0, 0, 62, 0,
0, 0, 0, 0, 0, 0,
1, 0, 0, 0, 3, 0,
0, 0, 1, 0, 0, 0,
15, 0, 0, 0, 67, 79,
76, 79, 82, 0, 83, 86,
95, 80, 111, 115, 105, 116,
105, 111, 110, 0, 171, 171
};

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,492 +1,492 @@
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// COLOR 0 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float
// TEXCOORD 1 xyz 3 NONE float xyz
// TEXCOORD 2 xyz 4 NONE float
// TEXCOORD 3 xyz 5 NONE float
// TEXCOORD 4 xyzw 6 NONE float
// TEXCOORD 5 xyz 7 NONE float
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c1 cb1 0 5 ( FLT, FLT, FLT, FLT)
// c6 cb1 9 4 ( FLT, FLT, FLT, FLT)
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pixel<4,5,6,7>
dcl t2.xyz // pixel<10,11,12>
#line 99 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\DGSLLambert.hlsl"
nrm r0.xyz, t2 // ::worldNormal<0,1,2>
#line 82
dp3_sat r0.w, c6, r0 // ::diffuseAmount<0>
mul r1.xyz, r0.w, c2
mul r1.xyz, r1, t0 // ::diffuse<0,1,2>
#line 105
mov r2.xyz, c0 // MaterialVars::MaterialAmbient<0,1,2>
mad r1.xyz, r2, c1, r1 // ::local3<0,1,2>
#line 82
dp3_sat r0.w, c7, r0 // ::diffuseAmount<0>
mul r2.xyz, r0.w, c3
#line 105
mad r1.xyz, r2, t0, r1 // ::local3<0,1,2>
#line 82
dp3_sat r0.w, c8, r0 // ::diffuseAmount<0>
dp3_sat r1.w, c9, r0 // ::diffuseAmount<0>
mul r0.xyz, r1.w, c5
mul r2.xyz, r0.w, c4
#line 105
mad r1.xyz, r2, t0, r1 // ::local3<0,1,2>
mad_sat r0.xyz, r0, t0, r1 // ::local3<0,1,2>
#line 108
mov r0.w, t0.w
mov oC0, r0 // ::main<0,1,2,3>
// approximately 19 instruction slots used
ps_4_0
dcl_constantbuffer CB0[1], immediateIndexed
dcl_constantbuffer CB1[13], immediateIndexed
dcl_input_ps linear v1.xyzw
dcl_input_ps linear v3.xyz
dcl_output o0.xyzw
dcl_temps 3
dp3 r0.x, v3.xyzx, v3.xyzx
rsq r0.x, r0.x
mul r0.xyz, r0.xxxx, v3.xyzx
dp3_sat r0.w, cb1[9].xyzx, r0.xyzx
mul r1.xyz, r0.wwww, cb1[1].xyzx
mul r1.xyz, r1.xyzx, v1.xyzx
mad r1.xyz, cb0[0].xyzx, cb1[0].xyzx, r1.xyzx
dp3_sat r0.w, cb1[10].xyzx, r0.xyzx
mul r2.xyz, r0.wwww, cb1[2].xyzx
mad r1.xyz, r2.xyzx, v1.xyzx, r1.xyzx
dp3_sat r0.w, cb1[11].xyzx, r0.xyzx
dp3_sat r0.x, cb1[12].xyzx, r0.xyzx
mul r0.xyz, r0.xxxx, cb1[4].xyzx
mul r2.xyz, r0.wwww, cb1[3].xyzx
mad r1.xyz, r2.xyzx, v1.xyzx, r1.xyzx
mad_sat o0.xyz, r0.xyzx, v1.xyzx, r1.xyzx
mov o0.w, v1.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE DGSLLambert_main[] =
{
68, 88, 66, 67, 17, 225,
111, 201, 7, 204, 115, 195,
176, 194, 190, 140, 98, 132,
138, 151, 1, 0, 0, 0,
8, 9, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
116, 5, 0, 0, 232, 7,
0, 0, 212, 8, 0, 0,
65, 111, 110, 57, 60, 5,
0, 0, 60, 5, 0, 0,
0, 2, 255, 255, 244, 4,
0, 0, 72, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 0, 0,
72, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
5, 0, 1, 0, 0, 0,
0, 0, 1, 0, 9, 0,
4, 0, 6, 0, 0, 0,
0, 0, 0, 2, 255, 255,
254, 255, 240, 0, 68, 66,
85, 71, 40, 0, 0, 0,
148, 3, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
120, 0, 0, 0, 19, 0,
0, 0, 124, 0, 0, 0,
7, 0, 0, 0, 8, 3,
0, 0, 252, 1, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 68, 71, 83, 76, 76,
97, 109, 98, 101, 114, 116,
46, 104, 108, 115, 108, 0,
171, 171, 40, 0, 0, 0,
0, 0, 255, 255, 200, 3,
0, 0, 0, 0, 255, 255,
212, 3, 0, 0, 99, 0,
0, 0, 224, 3, 0, 0,
82, 0, 0, 0, 236, 3,
0, 0, 83, 0, 0, 0,
252, 3, 0, 0, 83, 0,
0, 0, 12, 4, 0, 0,
105, 0, 0, 0, 28, 4,
0, 0, 105, 0, 0, 0,
40, 4, 0, 0, 82, 0,
0, 0, 60, 4, 0, 0,
83, 0, 0, 0, 76, 4,
0, 0, 105, 0, 0, 0,
92, 4, 0, 0, 82, 0,
0, 0, 112, 4, 0, 0,
82, 0, 0, 0, 128, 4,
0, 0, 83, 0, 0, 0,
144, 4, 0, 0, 83, 0,
0, 0, 160, 4, 0, 0,
105, 0, 0, 0, 176, 4,
0, 0, 105, 0, 0, 0,
196, 4, 0, 0, 108, 0,
0, 0, 216, 4, 0, 0,
108, 0, 0, 0, 228, 4,
0, 0, 77, 97, 116, 101,
114, 105, 97, 108, 86, 97,
114, 115, 0, 77, 97, 116,
101, 114, 105, 97, 108, 65,
109, 98, 105, 101, 110, 116,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 100, 105, 102, 102,
117, 115, 101, 0, 1, 0,
3, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 100, 105, 102, 102,
117, 115, 101, 65, 109, 111,
117, 110, 116, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 8, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 11, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 12, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 108, 111,
99, 97, 108, 51, 0, 171,
7, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
10, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
15, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
16, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
109, 97, 105, 110, 0, 102,
114, 97, 103, 109, 101, 110,
116, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 2, 0, 0,
12, 2, 0, 0, 5, 0,
0, 0, 1, 0, 4, 0,
1, 0, 1, 0, 28, 2,
0, 0, 18, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 120, 101,
108, 0, 112, 111, 115, 0,
117, 118, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 119, 111,
114, 108, 100, 78, 111, 114,
109, 0, 119, 111, 114, 108,
100, 80, 111, 115, 0, 116,
111, 69, 121, 101, 0, 116,
97, 110, 103, 101, 110, 116,
0, 110, 111, 114, 109, 97,
108, 0, 70, 2, 0, 0,
12, 2, 0, 0, 80, 1,
0, 0, 12, 2, 0, 0,
74, 2, 0, 0, 80, 2,
0, 0, 96, 2, 0, 0,
88, 1, 0, 0, 106, 2,
0, 0, 88, 1, 0, 0,
115, 2, 0, 0, 88, 1,
0, 0, 121, 2, 0, 0,
12, 2, 0, 0, 129, 2,
0, 0, 88, 1, 0, 0,
5, 0, 0, 0, 1, 0,
26, 0, 1, 0, 8, 0,
136, 2, 0, 0, 0, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 1, 0,
0, 0, 10, 0, 11, 0,
12, 0, 255, 255, 119, 111,
114, 108, 100, 78, 111, 114,
109, 97, 108, 0, 2, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 20, 1,
0, 0, 33, 1, 0, 0,
52, 1, 0, 0, 1, 0,
0, 0, 68, 1, 0, 0,
0, 0, 0, 0, 80, 1,
0, 0, 88, 1, 0, 0,
1, 0, 0, 0, 104, 1,
0, 0, 0, 0, 0, 0,
116, 1, 0, 0, 132, 1,
0, 0, 4, 0, 0, 0,
148, 1, 0, 0, 0, 0,
0, 0, 196, 1, 0, 0,
88, 1, 0, 0, 4, 0,
0, 0, 204, 1, 0, 0,
0, 0, 0, 0, 252, 1,
0, 0, 36, 2, 0, 0,
1, 0, 0, 0, 52, 2,
0, 0, 252, 1, 0, 0,
64, 2, 0, 0, 200, 2,
0, 0, 2, 0, 0, 0,
216, 2, 0, 0, 0, 0,
0, 0, 240, 2, 0, 0,
88, 1, 0, 0, 1, 0,
0, 0, 252, 2, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
2, 0, 7, 176, 36, 0,
0, 2, 0, 0, 7, 128,
2, 0, 228, 176, 8, 0,
0, 3, 0, 0, 24, 128,
6, 0, 228, 160, 0, 0,
228, 128, 5, 0, 0, 3,
1, 0, 7, 128, 0, 0,
255, 128, 2, 0, 228, 160,
5, 0, 0, 3, 1, 0,
7, 128, 1, 0, 228, 128,
0, 0, 228, 176, 1, 0,
0, 2, 2, 0, 7, 128,
0, 0, 228, 160, 4, 0,
0, 4, 1, 0, 7, 128,
2, 0, 228, 128, 1, 0,
228, 160, 1, 0, 228, 128,
8, 0, 0, 3, 0, 0,
24, 128, 7, 0, 228, 160,
0, 0, 228, 128, 5, 0,
0, 3, 2, 0, 7, 128,
0, 0, 255, 128, 3, 0,
228, 160, 4, 0, 0, 4,
1, 0, 7, 128, 2, 0,
228, 128, 0, 0, 228, 176,
1, 0, 228, 128, 8, 0,
0, 3, 0, 0, 24, 128,
8, 0, 228, 160, 0, 0,
228, 128, 8, 0, 0, 3,
1, 0, 24, 128, 9, 0,
228, 160, 0, 0, 228, 128,
5, 0, 0, 3, 0, 0,
7, 128, 1, 0, 255, 128,
5, 0, 228, 160, 5, 0,
0, 3, 2, 0, 7, 128,
0, 0, 255, 128, 4, 0,
228, 160, 4, 0, 0, 4,
1, 0, 7, 128, 2, 0,
228, 128, 0, 0, 228, 176,
1, 0, 228, 128, 4, 0,
0, 4, 0, 0, 23, 128,
0, 0, 228, 128, 0, 0,
228, 176, 1, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 128, 0, 0, 255, 176,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 108, 2, 0, 0,
64, 0, 0, 0, 155, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 1, 0, 0, 0,
13, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
1, 0, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
3, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 3, 0, 0, 0,
16, 0, 0, 7, 18, 0,
16, 0, 0, 0, 0, 0,
70, 18, 16, 0, 3, 0,
0, 0, 70, 18, 16, 0,
3, 0, 0, 0, 68, 0,
0, 5, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 114, 0,
16, 0, 0, 0, 0, 0,
6, 0, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
3, 0, 0, 0, 16, 32,
0, 8, 130, 0, 16, 0,
0, 0, 0, 0, 70, 130,
32, 0, 1, 0, 0, 0,
9, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
56, 0, 0, 8, 114, 0,
16, 0, 1, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 7,
114, 0, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
1, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 16, 32, 0, 8,
130, 0, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 10, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 56, 0,
0, 8, 114, 0, 16, 0,
2, 0, 0, 0, 246, 15,
16, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 2, 0, 0, 0,
50, 0, 0, 9, 114, 0,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 2, 0,
0, 0, 70, 18, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
16, 32, 0, 8, 130, 0,
16, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 11, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 16, 32, 0, 8,
18, 0, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 12, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 56, 0,
0, 8, 114, 0, 16, 0,
0, 0, 0, 0, 6, 0,
16, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 4, 0, 0, 0,
56, 0, 0, 8, 114, 0,
16, 0, 2, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 3, 0,
0, 0, 50, 0, 0, 9,
114, 0, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
2, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 50, 32, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 16, 16, 0,
1, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
228, 0, 0, 0, 8, 0,
0, 0, 8, 0, 0, 0,
200, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
212, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
218, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 0, 0, 0,
218, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 3, 0,
0, 0, 7, 7, 0, 0,
218, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 4, 0,
0, 0, 7, 0, 0, 0,
218, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 5, 0,
0, 0, 7, 0, 0, 0,
218, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 6, 0,
0, 0, 15, 0, 0, 0,
218, 0, 0, 0, 5, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 7, 0,
0, 0, 7, 0, 0, 0,
83, 86, 95, 80, 79, 83,
73, 84, 73, 79, 78, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};
#if 0
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float
// COLOR 0 xyzw 1 NONE float xyzw
// TEXCOORD 0 xy 2 NONE float
// TEXCOORD 1 xyz 3 NONE float xyz
// TEXCOORD 2 xyz 4 NONE float
// TEXCOORD 3 xyz 5 NONE float
// TEXCOORD 4 xyzw 6 NONE float
// TEXCOORD 5 xyz 7 NONE float
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Target 0 xyzw 0 TARGET float xyzw
//
//
// Constant buffer to DX9 shader constant mappings:
//
// Target Reg Buffer Start Reg # of Regs Data Conversion
// ---------- ------- --------- --------- ----------------------
// c0 cb0 0 1 ( FLT, FLT, FLT, FLT)
// c1 cb1 0 5 ( FLT, FLT, FLT, FLT)
// c6 cb1 9 4 ( FLT, FLT, FLT, FLT)
//
//
// Level9 shader bytecode:
//
ps_2_0
dcl t0 // pixel<4,5,6,7>
dcl t2.xyz // pixel<10,11,12>
#line 99 "C:\Users\ChuckW\Desktop\D3D11 Projects\directxtk\Src\Shaders\DGSLLambert.hlsl"
nrm r0.xyz, t2 // ::worldNormal<0,1,2>
#line 82
dp3_sat r0.w, c6, r0 // ::diffuseAmount<0>
mul r1.xyz, r0.w, c2
mul r1.xyz, r1, t0 // ::diffuse<0,1,2>
#line 105
mov r2.xyz, c0 // MaterialVars::MaterialAmbient<0,1,2>
mad r1.xyz, r2, c1, r1 // ::local3<0,1,2>
#line 82
dp3_sat r0.w, c7, r0 // ::diffuseAmount<0>
mul r2.xyz, r0.w, c3
#line 105
mad r1.xyz, r2, t0, r1 // ::local3<0,1,2>
#line 82
dp3_sat r0.w, c8, r0 // ::diffuseAmount<0>
dp3_sat r1.w, c9, r0 // ::diffuseAmount<0>
mul r0.xyz, r1.w, c5
mul r2.xyz, r0.w, c4
#line 105
mad r1.xyz, r2, t0, r1 // ::local3<0,1,2>
mad_sat r0.xyz, r0, t0, r1 // ::local3<0,1,2>
#line 108
mov r0.w, t0.w
mov oC0, r0 // ::main<0,1,2,3>
// approximately 19 instruction slots used
ps_4_0
dcl_constantbuffer CB0[1], immediateIndexed
dcl_constantbuffer CB1[13], immediateIndexed
dcl_input_ps linear v1.xyzw
dcl_input_ps linear v3.xyz
dcl_output o0.xyzw
dcl_temps 3
dp3 r0.x, v3.xyzx, v3.xyzx
rsq r0.x, r0.x
mul r0.xyz, r0.xxxx, v3.xyzx
dp3_sat r0.w, cb1[9].xyzx, r0.xyzx
mul r1.xyz, r0.wwww, cb1[1].xyzx
mul r1.xyz, r1.xyzx, v1.xyzx
mad r1.xyz, cb0[0].xyzx, cb1[0].xyzx, r1.xyzx
dp3_sat r0.w, cb1[10].xyzx, r0.xyzx
mul r2.xyz, r0.wwww, cb1[2].xyzx
mad r1.xyz, r2.xyzx, v1.xyzx, r1.xyzx
dp3_sat r0.w, cb1[11].xyzx, r0.xyzx
dp3_sat r0.x, cb1[12].xyzx, r0.xyzx
mul r0.xyz, r0.xxxx, cb1[4].xyzx
mul r2.xyz, r0.wwww, cb1[3].xyzx
mad r1.xyz, r2.xyzx, v1.xyzx, r1.xyzx
mad_sat o0.xyz, r0.xyzx, v1.xyzx, r1.xyzx
mov o0.w, v1.w
ret
// Approximately 0 instruction slots used
#endif
const BYTE DGSLLambert_main[] =
{
68, 88, 66, 67, 17, 225,
111, 201, 7, 204, 115, 195,
176, 194, 190, 140, 98, 132,
138, 151, 1, 0, 0, 0,
8, 9, 0, 0, 4, 0,
0, 0, 48, 0, 0, 0,
116, 5, 0, 0, 232, 7,
0, 0, 212, 8, 0, 0,
65, 111, 110, 57, 60, 5,
0, 0, 60, 5, 0, 0,
0, 2, 255, 255, 244, 4,
0, 0, 72, 0, 0, 0,
3, 0, 36, 0, 0, 0,
72, 0, 0, 0, 72, 0,
0, 0, 36, 0, 0, 0,
72, 0, 0, 0, 0, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
5, 0, 1, 0, 0, 0,
0, 0, 1, 0, 9, 0,
4, 0, 6, 0, 0, 0,
0, 0, 0, 2, 255, 255,
254, 255, 240, 0, 68, 66,
85, 71, 40, 0, 0, 0,
148, 3, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
120, 0, 0, 0, 19, 0,
0, 0, 124, 0, 0, 0,
7, 0, 0, 0, 8, 3,
0, 0, 252, 1, 0, 0,
67, 58, 92, 85, 115, 101,
114, 115, 92, 67, 104, 117,
99, 107, 87, 92, 68, 101,
115, 107, 116, 111, 112, 92,
68, 51, 68, 49, 49, 32,
80, 114, 111, 106, 101, 99,
116, 115, 92, 100, 105, 114,
101, 99, 116, 120, 116, 107,
92, 83, 114, 99, 92, 83,
104, 97, 100, 101, 114, 115,
92, 68, 71, 83, 76, 76,
97, 109, 98, 101, 114, 116,
46, 104, 108, 115, 108, 0,
171, 171, 40, 0, 0, 0,
0, 0, 255, 255, 200, 3,
0, 0, 0, 0, 255, 255,
212, 3, 0, 0, 99, 0,
0, 0, 224, 3, 0, 0,
82, 0, 0, 0, 236, 3,
0, 0, 83, 0, 0, 0,
252, 3, 0, 0, 83, 0,
0, 0, 12, 4, 0, 0,
105, 0, 0, 0, 28, 4,
0, 0, 105, 0, 0, 0,
40, 4, 0, 0, 82, 0,
0, 0, 60, 4, 0, 0,
83, 0, 0, 0, 76, 4,
0, 0, 105, 0, 0, 0,
92, 4, 0, 0, 82, 0,
0, 0, 112, 4, 0, 0,
82, 0, 0, 0, 128, 4,
0, 0, 83, 0, 0, 0,
144, 4, 0, 0, 83, 0,
0, 0, 160, 4, 0, 0,
105, 0, 0, 0, 176, 4,
0, 0, 105, 0, 0, 0,
196, 4, 0, 0, 108, 0,
0, 0, 216, 4, 0, 0,
108, 0, 0, 0, 228, 4,
0, 0, 77, 97, 116, 101,
114, 105, 97, 108, 86, 97,
114, 115, 0, 77, 97, 116,
101, 114, 105, 97, 108, 65,
109, 98, 105, 101, 110, 116,
0, 171, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 6, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 100, 105, 102, 102,
117, 115, 101, 0, 1, 0,
3, 0, 1, 0, 3, 0,
1, 0, 0, 0, 0, 0,
0, 0, 5, 0, 0, 0,
0, 0, 1, 0, 2, 0,
255, 255, 100, 105, 102, 102,
117, 115, 101, 65, 109, 111,
117, 110, 116, 0, 171, 171,
0, 0, 3, 0, 1, 0,
1, 0, 1, 0, 0, 0,
0, 0, 0, 0, 3, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 8, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 11, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 12, 0,
0, 0, 255, 255, 255, 255,
255, 255, 0, 0, 108, 111,
99, 97, 108, 51, 0, 171,
7, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
10, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
15, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
16, 0, 0, 0, 0, 0,
1, 0, 2, 0, 255, 255,
109, 97, 105, 110, 0, 102,
114, 97, 103, 109, 101, 110,
116, 0, 171, 171, 1, 0,
3, 0, 1, 0, 4, 0,
1, 0, 0, 0, 0, 0,
0, 0, 1, 2, 0, 0,
12, 2, 0, 0, 5, 0,
0, 0, 1, 0, 4, 0,
1, 0, 1, 0, 28, 2,
0, 0, 18, 0, 0, 0,
0, 0, 1, 0, 2, 0,
3, 0, 112, 105, 120, 101,
108, 0, 112, 111, 115, 0,
117, 118, 0, 171, 171, 171,
1, 0, 3, 0, 1, 0,
2, 0, 1, 0, 0, 0,
0, 0, 0, 0, 119, 111,
114, 108, 100, 78, 111, 114,
109, 0, 119, 111, 114, 108,
100, 80, 111, 115, 0, 116,
111, 69, 121, 101, 0, 116,
97, 110, 103, 101, 110, 116,
0, 110, 111, 114, 109, 97,
108, 0, 70, 2, 0, 0,
12, 2, 0, 0, 80, 1,
0, 0, 12, 2, 0, 0,
74, 2, 0, 0, 80, 2,
0, 0, 96, 2, 0, 0,
88, 1, 0, 0, 106, 2,
0, 0, 88, 1, 0, 0,
115, 2, 0, 0, 88, 1,
0, 0, 121, 2, 0, 0,
12, 2, 0, 0, 129, 2,
0, 0, 88, 1, 0, 0,
5, 0, 0, 0, 1, 0,
26, 0, 1, 0, 8, 0,
136, 2, 0, 0, 0, 0,
0, 0, 4, 0, 5, 0,
6, 0, 7, 0, 1, 0,
0, 0, 10, 0, 11, 0,
12, 0, 255, 255, 119, 111,
114, 108, 100, 78, 111, 114,
109, 97, 108, 0, 2, 0,
0, 0, 0, 0, 1, 0,
2, 0, 255, 255, 20, 1,
0, 0, 33, 1, 0, 0,
52, 1, 0, 0, 1, 0,
0, 0, 68, 1, 0, 0,
0, 0, 0, 0, 80, 1,
0, 0, 88, 1, 0, 0,
1, 0, 0, 0, 104, 1,
0, 0, 0, 0, 0, 0,
116, 1, 0, 0, 132, 1,
0, 0, 4, 0, 0, 0,
148, 1, 0, 0, 0, 0,
0, 0, 196, 1, 0, 0,
88, 1, 0, 0, 4, 0,
0, 0, 204, 1, 0, 0,
0, 0, 0, 0, 252, 1,
0, 0, 36, 2, 0, 0,
1, 0, 0, 0, 52, 2,
0, 0, 252, 1, 0, 0,
64, 2, 0, 0, 200, 2,
0, 0, 2, 0, 0, 0,
216, 2, 0, 0, 0, 0,
0, 0, 240, 2, 0, 0,
88, 1, 0, 0, 1, 0,
0, 0, 252, 2, 0, 0,
77, 105, 99, 114, 111, 115,
111, 102, 116, 32, 40, 82,
41, 32, 72, 76, 83, 76,
32, 83, 104, 97, 100, 101,
114, 32, 67, 111, 109, 112,
105, 108, 101, 114, 32, 49,
48, 46, 49, 0, 31, 0,
0, 2, 0, 0, 0, 128,
0, 0, 15, 176, 31, 0,
0, 2, 0, 0, 0, 128,
2, 0, 7, 176, 36, 0,
0, 2, 0, 0, 7, 128,
2, 0, 228, 176, 8, 0,
0, 3, 0, 0, 24, 128,
6, 0, 228, 160, 0, 0,
228, 128, 5, 0, 0, 3,
1, 0, 7, 128, 0, 0,
255, 128, 2, 0, 228, 160,
5, 0, 0, 3, 1, 0,
7, 128, 1, 0, 228, 128,
0, 0, 228, 176, 1, 0,
0, 2, 2, 0, 7, 128,
0, 0, 228, 160, 4, 0,
0, 4, 1, 0, 7, 128,
2, 0, 228, 128, 1, 0,
228, 160, 1, 0, 228, 128,
8, 0, 0, 3, 0, 0,
24, 128, 7, 0, 228, 160,
0, 0, 228, 128, 5, 0,
0, 3, 2, 0, 7, 128,
0, 0, 255, 128, 3, 0,
228, 160, 4, 0, 0, 4,
1, 0, 7, 128, 2, 0,
228, 128, 0, 0, 228, 176,
1, 0, 228, 128, 8, 0,
0, 3, 0, 0, 24, 128,
8, 0, 228, 160, 0, 0,
228, 128, 8, 0, 0, 3,
1, 0, 24, 128, 9, 0,
228, 160, 0, 0, 228, 128,
5, 0, 0, 3, 0, 0,
7, 128, 1, 0, 255, 128,
5, 0, 228, 160, 5, 0,
0, 3, 2, 0, 7, 128,
0, 0, 255, 128, 4, 0,
228, 160, 4, 0, 0, 4,
1, 0, 7, 128, 2, 0,
228, 128, 0, 0, 228, 176,
1, 0, 228, 128, 4, 0,
0, 4, 0, 0, 23, 128,
0, 0, 228, 128, 0, 0,
228, 176, 1, 0, 228, 128,
1, 0, 0, 2, 0, 0,
8, 128, 0, 0, 255, 176,
1, 0, 0, 2, 0, 8,
15, 128, 0, 0, 228, 128,
255, 255, 0, 0, 83, 72,
68, 82, 108, 2, 0, 0,
64, 0, 0, 0, 155, 0,
0, 0, 89, 0, 0, 4,
70, 142, 32, 0, 0, 0,
0, 0, 1, 0, 0, 0,
89, 0, 0, 4, 70, 142,
32, 0, 1, 0, 0, 0,
13, 0, 0, 0, 98, 16,
0, 3, 242, 16, 16, 0,
1, 0, 0, 0, 98, 16,
0, 3, 114, 16, 16, 0,
3, 0, 0, 0, 101, 0,
0, 3, 242, 32, 16, 0,
0, 0, 0, 0, 104, 0,
0, 2, 3, 0, 0, 0,
16, 0, 0, 7, 18, 0,
16, 0, 0, 0, 0, 0,
70, 18, 16, 0, 3, 0,
0, 0, 70, 18, 16, 0,
3, 0, 0, 0, 68, 0,
0, 5, 18, 0, 16, 0,
0, 0, 0, 0, 10, 0,
16, 0, 0, 0, 0, 0,
56, 0, 0, 7, 114, 0,
16, 0, 0, 0, 0, 0,
6, 0, 16, 0, 0, 0,
0, 0, 70, 18, 16, 0,
3, 0, 0, 0, 16, 32,
0, 8, 130, 0, 16, 0,
0, 0, 0, 0, 70, 130,
32, 0, 1, 0, 0, 0,
9, 0, 0, 0, 70, 2,
16, 0, 0, 0, 0, 0,
56, 0, 0, 8, 114, 0,
16, 0, 1, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 1, 0,
0, 0, 56, 0, 0, 7,
114, 0, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
1, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
50, 0, 0, 11, 114, 0,
16, 0, 1, 0, 0, 0,
70, 130, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 0, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 16, 32, 0, 8,
130, 0, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 10, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 56, 0,
0, 8, 114, 0, 16, 0,
2, 0, 0, 0, 246, 15,
16, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 2, 0, 0, 0,
50, 0, 0, 9, 114, 0,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 2, 0,
0, 0, 70, 18, 16, 0,
1, 0, 0, 0, 70, 2,
16, 0, 1, 0, 0, 0,
16, 32, 0, 8, 130, 0,
16, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 11, 0, 0, 0,
70, 2, 16, 0, 0, 0,
0, 0, 16, 32, 0, 8,
18, 0, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 12, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 56, 0,
0, 8, 114, 0, 16, 0,
0, 0, 0, 0, 6, 0,
16, 0, 0, 0, 0, 0,
70, 130, 32, 0, 1, 0,
0, 0, 4, 0, 0, 0,
56, 0, 0, 8, 114, 0,
16, 0, 2, 0, 0, 0,
246, 15, 16, 0, 0, 0,
0, 0, 70, 130, 32, 0,
1, 0, 0, 0, 3, 0,
0, 0, 50, 0, 0, 9,
114, 0, 16, 0, 1, 0,
0, 0, 70, 2, 16, 0,
2, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 50, 32, 0, 9,
114, 32, 16, 0, 0, 0,
0, 0, 70, 2, 16, 0,
0, 0, 0, 0, 70, 18,
16, 0, 1, 0, 0, 0,
70, 2, 16, 0, 1, 0,
0, 0, 54, 0, 0, 5,
130, 32, 16, 0, 0, 0,
0, 0, 58, 16, 16, 0,
1, 0, 0, 0, 62, 0,
0, 1, 73, 83, 71, 78,
228, 0, 0, 0, 8, 0,
0, 0, 8, 0, 0, 0,
200, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0,
3, 0, 0, 0, 0, 0,
0, 0, 15, 0, 0, 0,
212, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 1, 0,
0, 0, 15, 15, 0, 0,
218, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 2, 0,
0, 0, 3, 0, 0, 0,
218, 0, 0, 0, 1, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 3, 0,
0, 0, 7, 7, 0, 0,
218, 0, 0, 0, 2, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 4, 0,
0, 0, 7, 0, 0, 0,
218, 0, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 5, 0,
0, 0, 7, 0, 0, 0,
218, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 6, 0,
0, 0, 15, 0, 0, 0,
218, 0, 0, 0, 5, 0,
0, 0, 0, 0, 0, 0,
3, 0, 0, 0, 7, 0,
0, 0, 7, 0, 0, 0,
83, 86, 95, 80, 79, 83,
73, 84, 73, 79, 78, 0,
67, 79, 76, 79, 82, 0,
84, 69, 88, 67, 79, 79,
82, 68, 0, 171, 79, 83,
71, 78, 44, 0, 0, 0,
1, 0, 0, 0, 8, 0,
0, 0, 32, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 3, 0, 0, 0,
0, 0, 0, 0, 15, 0,
0, 0, 83, 86, 95, 84,
97, 114, 103, 101, 116, 0,
171, 171
};

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу