shader.cc | 413 vec3 screen_pos = vec3(viewport.xy + viewport.zw * ndc_pos, 1.0); local 414 edge_dist[0] = vec4(dot(edge[0], screen_pos), 415 dot(edge[1], screen_pos), 416 dot(edge[2], screen_pos), 417 dot(edge[3], screen_pos)) * gl_Position.w; 418 edge_dist[1] = vec4(dot(edge[4], screen_pos), 419 dot(edge[5], screen_pos), 420 dot(edge[6], screen_pos), 421 dot(edge[7], screen_pos)) * gl_Position.w; 474 vec3 screen_pos = vec3(viewport.xy + viewport.zw * ndc_pos, 1.0) local 578 vec3 screen_pos = vec3(viewport.xy + viewport.zw * ndc_pos, 1.0); local [all...] |