   error X3523: DX9-style intrinsics are disabled when not in dx9 compatibility mode.
  Hi all.the code this error is for is herefloat dmap0[4];dmap0[0] = tex2Dlod(DMapS0, float4(texC0, 0.0f, 0.0f)).r;dmap0[1] = tex2Dlod(DMapS0, float4(texC0, 0.0f, 0.0f)+float4(DMAP_DX, 0.0f, 0.0f, 0.0f)).r;dmap0[2] = tex2Dlod(DMapS0, float4(texC0, 0.0f, 0.0f)+float4(0.0f, DMAP_DX, 0.0f, 0.0f)).r;dmap0[3] = tex2Dlod(DMapS0, float4(texC0, 0.0f, 0.0f)+float4(DMAP_DX, DMAP_DX, 0.0f, 0.0f)).r;// Filter displacement map:float h0 = lerp( lerp( dmap0[0], dmap0[1], lerps.x ), lerp( dmap0[2], dmap0[3], lerps.x ), lerps.y );texelpos = DMAP_SIZE * texC1;lerps    = frac(texelpos);float dmap1[4];dmap1[0] = tex2Dlod(DMapS1, float4(texC1, 0.0f, 0.0f)).r;dmap1[1] = tex2Dlod(DMapS1, float4(texC1, 0.0f, 0.0f)+float4(DMAP_DX, 0.0f, 0.0f, 0.0f)).r;dmap1[2] = tex2Dlod(DMapS1, float4(texC1, 0.0f, 0.0f)+float4(0.0f, DMAP_DX, 0.0f, 0.0f)).r;dmap1[3] = tex2Dlod(DMapS1, float4(texC1, 0.0f, 0.0f)+float4(DMAP_DX, DMAP_DX, 0.0f, 0.0f)).r;// Filter displacement map:float h1 = lerp( lerp( dmap1[0], dmap1[1], lerps.x ), lerp( dmap1[2], dmap1[3], lerps.x ), lerps.y );How do I convert this lot to dx10 and shader model 4.I tryed using the texture and SampleLevel(DMapS0, texC0, 0);but its all black looks like no texture.ive looked in the sdk and it says it's supported.I use this as the flag to create the shader. dwShaderFlags = D3D10_SHADER_ENABLE_STRICTNESS;   