On Wed, Jun 11, 2014 at 2:12 PM, Kristian Høgsberg wrote:
> On Tue, Jun 10, 2014 at 09:57:20PM -0700, Matt Turner wrote:
>> From: Kenneth Graunke
>>
>> This allows GCC (at least with LTO) to eliminate more unused code, such
>> as brw_clip* on Gen6+.
>
> If we compile with STATIC_GEN, then the if-
On Tue, Jun 10, 2014 at 09:57:20PM -0700, Matt Turner wrote:
> From: Kenneth Graunke
>
> This allows GCC (at least with LTO) to eliminate more unused code, such
> as brw_clip* on Gen6+.
If we compile with STATIC_GEN, then the if-else ladder in brw_init_state()
turns into just the one case that m
From: Kenneth Graunke
This allows GCC (at least with LTO) to eliminate more unused code, such
as brw_clip* on Gen6+.
---
src/mesa/drivers/dri/i965/brw_state_upload.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c
b/src/mesa/drivers/dri/i96