On Fri, 2014-12-12 at 09:36 -0800, Matt Turner wrote:
> On Thu, Dec 11, 2014 at 2:34 PM, Eduardo Lima Mitev wrote:
> > From: Iago Toral Quiroga
> >
> > For code such as this in a vertex or fragment shader:
> >
> > uniform float in0;
> > flat out float out0;
> > ...
> > out0 = ceil(in0)
> >
> > We
On Thu, Dec 11, 2014 at 2:34 PM, Eduardo Lima Mitev wrote:
> From: Iago Toral Quiroga
>
> For code such as this in a vertex or fragment shader:
>
> uniform float in0;
> flat out float out0;
> ...
> out0 = ceil(in0)
>
> We generate this IR:
>
> (assign (x) (var_ref packed:out0)
>(expression i
On Thu, 2014-12-11 at 16:52 -0800, Kenneth Graunke wrote:
> On Thursday, December 11, 2014 11:34:11 PM Eduardo Lima Mitev wrote:
> > From: Iago Toral Quiroga
> >
> > For code such as this in a vertex or fragment shader:
> >
> > uniform float in0;
> > flat out float out0;
> > ...
> > out0 = ceil(
On Thursday, December 11, 2014 11:34:11 PM Eduardo Lima Mitev wrote:
> From: Iago Toral Quiroga
>
> For code such as this in a vertex or fragment shader:
>
> uniform float in0;
> flat out float out0;
> ...
> out0 = ceil(in0)
>
> We generate this IR:
>
> (assign (x) (var_ref packed:out0)
>
From: Iago Toral Quiroga
For code such as this in a vertex or fragment shader:
uniform float in0;
flat out float out0;
...
out0 = ceil(in0)
We generate this IR:
(assign (x) (var_ref packed:out0)
(expression int bitcast_f2i
(expression float ceil (var_ref in0) ) ) )
In i965, this wo