Re: [Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-29 Thread Kenneth Graunke
On Friday, December 29, 2017 2:48:13 PM PST Eric Anholt wrote: > Kenneth Graunke writes: > > > [ Unknown signature status ] > > On Thursday, December 28, 2017 5:56:18 PM PST Eric Anholt wrote: > >> For VC5, the shader needs to have the appropriate base type for the > >>

Re: [Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-29 Thread Eric Anholt
Kenneth Graunke writes: > [ Unknown signature status ] > On Thursday, December 28, 2017 5:56:18 PM PST Eric Anholt wrote: >> For VC5, the shader needs to have the appropriate base type for the >> variable in the render target write, and gallium's >>

Re: [Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-29 Thread Kenneth Graunke
On Thursday, December 28, 2017 5:56:18 PM PST Eric Anholt wrote: > For VC5, the shader needs to have the appropriate base type for the > variable in the render target write, and gallium's > FS_COLOR0_WRITES_ALL_CBUFS (used for glClearBufferiv) doesn't give you > that information. This pass lets

[Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-28 Thread Eric Anholt
For VC5, the shader needs to have the appropriate base type for the variable in the render target write, and gallium's FS_COLOR0_WRITES_ALL_CBUFS (used for glClearBufferiv) doesn't give you that information. This pass lets the backend decide what types to explode the gl_FragColor write out to.