brw_swizzle_to_scs has been showing up in my CPU profiling, which is
rather silly - it's a tiny amount of code. It really should be inlined,
and can easily be implemented with fewer instructions.
The enum translation is as follows:
SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W, SWIZZLE_ZERO, SWIZZL
On Jan 2, 2015 7:26 PM, "Kenneth Graunke" wrote:
>
> brw_swizzle_to_scs has been showing up in my CPU profiling, which is
> rather silly - it's a tiny amount of code. It really should be inlined,
> and can easily be implemented with fewer instructions.
>
> The enum translation is as follows:
>
>
brw_swizzle_to_scs has been showing up in my CPU profiling, which is
rather silly - it's a tiny amount of code. It really should be inlined,
and can easily be implemented with fewer instructions.
The enum translation is as follows:
SWIZZLE_X, SWIZZLE_Y, SWIZZLE_Z, SWIZZLE_W, SWIZZLE_ZERO, SWIZZL