Re: [PATCH 2/7] wined3d: Store vs_clipping in the adapter

2013-04-19 Thread Henri Verbeet
On 19 April 2013 17:39, Stefan Dösinger wrote: > The tricky bit is the lowest_disabled_stage because we have two pieces > of code that use it. One is wined3d_device_set_texture_stage_state, > which uses it to find nop state changes. The other one are the state > application function and device_map

Re: [PATCH 2/7] wined3d: Store vs_clipping in the adapter

2013-04-19 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-04-19 16:26, schrieb Henri Verbeet: > I think we'll want a separate structure for this. Note that you > essentially have two different kinds of data you're concerned with > here though. One is derived state like e.g. the texture unit map, > t

Re: [PATCH 2/7] wined3d: Store vs_clipping in the adapter

2013-04-19 Thread Henri Verbeet
On 19 April 2013 11:20, Stefan Dösinger wrote: > Potential alternatives include keeping the status quo or introducing a > separate structure that holds these derived limits that is owned by the > device and linked in the contexts. We could also put it into gl_info, > but I dislike this idea becaus