Is fragment shader run at out of screen?

Viewed 382

I use webgl 1.0.

I want to know that if I set vertices out of -1 ~ 1 range, fragment shader run at out of screen(also framebuffer) or not.

[example]
If I set like below.
draw type : gl.LINES
vertices : [-100000,-100000, 100000, 100000] <--- 1 line made by 2 point

I think display result is same when I set
vertices : [-1,-1, 1, 1]
(Both result are show 1 straight line from left bottom to right top.)

I want to know first example is slower performance caused by lot of running fragment shader.

1 Answers
Related