Windows Dev Center

abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize

ddx_coarse function

Computes a low precision partial derivative with respect to the screen-space x-coordinate.

Syntax

float ddx_coarse(
  in float value
);

Parameters

value [in]

Type: float

The input value.

Return value

Type: float

The low precision partial derivative of value.

Remarks

The following overloaded versions are also available:


float2 ddx_coarse(float2 value);
float3 ddx_coarse(float3 value);
float4 ddx_coarse(float4 value);

Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 5 and higher shader modelsyes

 

This function is supported in the following types of shaders:

VertexHullDomainGeometryPixelCompute
x

 

See also

Shader Model 5

 

 

Community Additions

ADD
Show:
© 2015 Microsoft