I think I didn't tell you how I'd like the viewport and scissor states to be implemented. Here it is:
1 r600_atom for all 16 viewports 1 r600_atom for all 16 scissors Each atom should have a bitmask saying which "slots" are dirty. (same principle as resource slots) The "emit" functions should only set dirty viewports/scissors registers. Marek On Thu, Mar 26, 2015 at 10:18 PM, Alexandre Demers <[email protected]> wrote: > Update on radeonsi's GL_ARB_viewport_array: even though I don't have much > time right now, the easy part is done. I should push my changes to my git > tree soon. I'll let you know where it is. > > However, I may need some help for the last part, mostly because r600g > doesn't help a lot on that matter. Then again, I'll let you know if needed. > > Alexandre Demers > > > On 2015-03-04 21:45, Alexandre Demers wrote: >> >> Then you can count me as working on ARB_viewport_array. >> >> Alexandre Demers >> >> On 2015-02-25 14:25, Marek Olšák wrote: >>> >>> Nobody is working on ARB_gpu_shader5 for radeonsi. >>> >>> Marek >>> >>> >>> >>> On Wed, Feb 25, 2015 at 6:41 PM, Ilia Mirkin <[email protected]> >>> wrote: >>>> >>>> On Wed, Feb 25, 2015 at 11:24 AM, Alexandre Demers >>>> <[email protected]> wrote: >>>>> >>>>> Hi everyone, >>>>> >>>>> I'd like to know if someone is working on Geometry shader instancing >>>>> for radeonsi or if there is already a work in progress somewhere I >>>>> would have missed. I might be interested in giving it a try and then >>>>> on GL_ARB_viewport_array. >>>> >>>> While there's no harm in working on GS instancing on its own, note >>>> that it's only a small part of the ARB_gpu_shader5 extension, so won't >>>> be immediately useful until the other pieces are completed (which will >>>> mostly involve adding LLVM support for the ops in question if they're >>>> not there yet, and then wiring them up). >>>> >>>> ARB_viewport_array is a much more self-contained extension. Note that >>>> ARB_fragment_layer_viewport will automatically get enabled once you >>>> claim multiple viewports, so make sure to make gl_ViewportIndex work >>>> in fp as well if you decide to do it. You may have to pass it as a >>>> varying "by hand", not sure... IIRC I had to do that in r600. There >>>> are piglits that cover the various cases. >>>> >>>> [Hopefully Marek and/or some of the other AMD guys will pipe up if >>>> they've worked on any of these things and just haven't published yet.] >>>> >>>> -ilia >>>> _______________________________________________ >>>> mesa-dev mailing list >>>> [email protected] >>>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev >> >> > > > --- > This email has been checked for viruses by Avast antivirus software. > http://www.avast.com > _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
