Attempt to mitigate issue T40981
Clipping border causes a software fallback on ATIs. We have disabled it in that case but from minor digging on the net seems like Intels support this, so enable.
This commit is contained in:
parent
f5caab2cf7
commit
a498d88918
|
@ -29,7 +29,7 @@ void main()
|
|||
|
||||
gl_Position = gl_ProjectionMatrix * co;
|
||||
|
||||
#ifdef GPU_NVIDIA
|
||||
#ifndef GPU_ATI
|
||||
// Setting gl_ClipVertex is necessary to get glClipPlane working on NVIDIA
|
||||
// graphic cards, while on ATI it can cause a software fallback.
|
||||
gl_ClipVertex = gl_ModelViewMatrix * gl_Vertex;
|
||||
|
|
|
@ -10,7 +10,7 @@ void main()
|
|||
varnormal = normalize(gl_NormalMatrix * gl_Normal);
|
||||
gl_Position = gl_ProjectionMatrix * co;
|
||||
|
||||
#ifdef GPU_NVIDIA
|
||||
#ifndef GPU_ATI
|
||||
// Setting gl_ClipVertex is necessary to get glClipPlane working on NVIDIA
|
||||
// graphic cards, while on ATI it can cause a software fallback.
|
||||
gl_ClipVertex = gl_ModelViewMatrix * gl_Vertex;
|
||||
|
|
Loading…
Reference in New Issue