16 #define SRC(...) #__VA_ARGS__ 20 RWTexture2D<float4> u0;
29 static float w[4]= {0.090845, 0.409155, 0.409155, 0.090845};
31 void CSMain(uint3 DTid : SV_DispatchThreadID)
36 for (i = 0; i < 4; i++)
37 for (
j = 0;
j < 4;
j++)
39 float4 c0 = t0.SampleLevel(s0, texel_size * (DTid.xy + 0.5f * float2(i - 0.5
f,
j - 0.5
f)), src_level);
41 c +=
w[i] *
w[
j] * c0;
GLfloat f
Definition: glext.h:8207
const GLubyte * c
Definition: glext.h:9812
unsigned int uint
Definition: wiiuse.h:191
GLint j
Definition: nx_glsym.h:307
#define SRC(...)
Definition: mimpapgen_sm5.h:16
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6742
GLuint sampler
Definition: glext.h:7950