Iago Toral

Ourense (Spain)

Iago has been a member of Igalia since 2003 and became a partner of the company in 2006.

Latest Updates

Iago Toral 02/10/2017

Working with lights and shadows – Part III: rendering the shadows

In the previous post in this series I introduced how to render the shadow map image, which is simply the depth information for the scene from the view point of the light. In this post I will cover how to … Continue reading →

Iago Toral 30/07/2017

Working with lights and shadows – Part II: The shadow map

In the previous post we talked about the Phong lighting model as a means to represent light in a scene. Once we have light, we can think about implementing shadows, which are the parts of the scene that are not … Continue reading →

Iago Toral 21/06/2017

Working with lights and shadows – Part I: Phong reflection model

Some time ago I promised to write a bit more about how shadow mapping works. It has taken me a while to bring myself to actually deliver on that front, but I have finally decided to put together some posts … Continue reading →

Iago Toral 06/01/2017

GL_ARB_gpu_shader_fp64 / OpenGL 4.0 lands for Intel/Haswell. More gen7 support coming soon!

2017 starts with good news for Intel Haswell users: it has been a long time coming, but we have finally landed GL_ARB_gpu_shader_fp64 for this platform. Thanks to Matt Turner for reviewing the huge patch series! Maybe you are not particularly …...

Iago Toral 15/11/2016

OpenGL terrain renderer update: Motion Blur

As usual, it can be turned on and off at build-time and there is some configuration available as well to control how the effect works. Here are some screen-shots: Motion Blur Off Motion Blur Off Motion Blur On, intensity 12.5% … Continue reading...


By Type:


glsl: report correct number of allowed vertex inputs and fragment outputs

Before we would always report 16 for both and we would only fail if either one exceeded 16. Now we fail if the maximum for each is exceeded, even if it is smaller than 16 and we report the correct maximum. Also, expand the size of to_assign[] to 32....

Iago Toral09/03/2016

shaders: add test for recursive variable indexing into arrays

v2: - Move to tests/spec/glsl-1.30 (Timothy) - Fix code style and rename some variables (Iago) Reviewed-by: Timothy Arceri

Iago Toral03/03/2016

glsl/opt_array_splitting: Fix indentation

Reviewed-by: Timothy Arceri

Iago Toral03/03/2016

glsl/opt_array_splitting: Fix crash when doing array indexing into other arrays

When we find indirect indexing into an array, the current implementation of the array spliiting optimization pass does not look further into the expression tree. However, if the variable expression involves variable indexing into other arrays, we can...

Iago Toral03/03/2016

glsl: Mark float constants as such

So we don't generate double to float conversion code Reviewed-by: Kenneth Graunke

Iago Toral19/02/2016