Re: [Mesa-dev] Lowering viewport transformation in NIR

2018-05-08 Thread Eric Anholt
Alyssa Rosenzweig writes: > Hi all, > > Certain embedded GPUs do not implement coordinate transformation in > hardware. Instead, section 12.5 "Coordinate Transformation" of the ES > 3.2 specification is implemented in the vertex shader itself. Relevant > examples include Midgard and vc4. > > To h

Re: [Mesa-dev] Lowering viewport transformation in NIR

2018-05-03 Thread Rob Clark
On Thu, May 3, 2018 at 3:12 PM, Alyssa Rosenzweig wrote: > Hi all, > > Certain embedded GPUs do not implement coordinate transformation in > hardware. Instead, section 12.5 "Coordinate Transformation" of the ES > 3.2 specification is implemented in the vertex shader itself. Relevant > examples inc

[Mesa-dev] Lowering viewport transformation in NIR

2018-05-03 Thread Alyssa Rosenzweig
Hi all, Certain embedded GPUs do not implement coordinate transformation in hardware. Instead, section 12.5 "Coordinate Transformation" of the ES 3.2 specification is implemented in the vertex shader itself. Relevant examples include Midgard and vc4. To handle this, a lowering pass is needed to c