[Mesa-dev] [PATCH] i965: Use vec4 vs shader path in spill cases.

Eero Tamminen eero.t.tamminen at intel.com
Fri Jun 5 07:49:16 PDT 2015


Hi,

On 06/05/2015 02:35 AM, Ben Widawsky wrote:
> On Wed, Jun 03, 2015 at 05:42:10PM -0700, Matt Turner wrote:
>> I ran the patch through shader-db, and there were no changes, but
>> that's because we have no vertex shaders that spill. Until we have
>> vertex shaders that spill, I don't think figuring out how to fall back
>> to vec4 and generate reasonable code is particularly compelling.
>
> What about geometry shaders when Ken gets those hooked up?

Geometry shaders are really rare.

None of the games or public benchmarks I've looked at uses them.

Unreal Engine v4 demos use couple of them (among over hundred FS & VS 
shaders).   I remember that shaders in these demos spill quite a bit, 
but I think spilling ones were all fragment shaders.


	- Eero



More information about the mesa-dev mailing list