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