Re: [Mesa-dev] [PATCH 1/4] intel/blorp: Fix compiler warning about num_layers.

2018-03-16 Thread Eric Anholt
Lionel Landwerlin writes: > On 13/03/18 17:38, Eric Anholt wrote: >> The compiler doesn't notice that the condition for num_layers to be >> undefined already defined it above (as our assert checked in a debug >> build). >> >> Cc: Jason Ekstrand >> --- >> src/mesa/drivers/dri/i965/brw_blorp.c |

Re: [Mesa-dev] [PATCH 1/4] intel/blorp: Fix compiler warning about num_layers.

2018-03-13 Thread Lionel Landwerlin
On 13/03/18 17:38, Eric Anholt wrote: The compiler doesn't notice that the condition for num_layers to be undefined already defined it above (as our assert checked in a debug build). Cc: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_blorp.c | 1 + 1 file changed, 1 insertion(+) diff --gi

[Mesa-dev] [PATCH 1/4] intel/blorp: Fix compiler warning about num_layers.

2018-03-13 Thread Eric Anholt
The compiler doesn't notice that the condition for num_layers to be undefined already defined it above (as our assert checked in a debug build). Cc: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_blorp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c