//map
// Generated by Microsoft (R) D3DX9 Shader Compiler 9.12.589.0000
//
// Parameters:
//
//   float4 g_elevation_constants;
//   row_major float4x4 g_projection_world_transform;
//   float4 g_u_transform_from_pos;
//   float4 g_v_transform_from_pos;
//
//
// Registers:
//
//   Name                         Reg   Size
//   ---------------------------- ----- ----
//   g_projection_world_transform c0       4
//   g_u_transform_from_pos       c4       1
//   g_v_transform_from_pos       c5       1
//   g_elevation_constants        c6       1
//
//
// Default values:
//
//   g_projection_world_transform
//     c0   = { 0, 0, 0, 0 };
//     c1   = { 0, 0, 0, 0 };
//     c2   = { 0, 0, 0, 0 };
//     c3   = { 0, 0, 0, 0 };
//
//   g_u_transform_from_pos
//     c4   = { 0, 0, 0, 0 };
//
//   g_v_transform_from_pos
//     c5   = { 0, 0, 0, 0 };
//
//   g_elevation_constants
//     c6   = { 0, 0, 0, 0 };
//

    vs_3_0
    def c7, 1, 0, 0, 0
	def c200, 0.2, 90.0, 0.0625, 0.5
    dcl_position v0
	dcl_2d s0
	dcl_position o0
	dcl_texcoord0 o1.xy
	dcl_texcoord1 o2.x
	
    mul r0, v0.y, c1
    mad r0, v0.x, c0, r0
    mad r1, v0.z, c2, r0
    mad r0, v0.xyzx, c7.xxxy, c7.yyyx
	
	texldl r11, c200.z, s0	
	mul r11.x, r11.x, c254.x
	add r1.x, r1.x, r11.x
	
	add o0, r1, c3
    dp4 o1.x, r0, c4
    dp4 o1.y, r0, c5
    add o2.x, v0.z, c6.y

// approximately 8 instruction slots used
 