Re: [Mesa-dev] [PATCH 3/5] st/mesa: add support for ARB_sample_locations

2018-05-09 Thread Marek Olšák
Your idea of renaming ST_NEW_SAMPLE_MASK and using that sounds good. (we already have 64 flags) Marek On Wed, May 9, 2018 at 12:21 AM, Marek Olšák wrote: > I'd like a separate state for this, because set_framebuffer_state is a > memory and execution barrier, so it decreases

Re: [Mesa-dev] [PATCH 3/5] st/mesa: add support for ARB_sample_locations

2018-05-08 Thread Marek Olšák
I'd like a separate state for this, because set_framebuffer_state is a memory and execution barrier, so it decreases performance, thus there is a high incentive not to couple other states with it. Since cso_context won't be used for setting the state (as I suggested on patch 2), st/mesa will have

Re: [Mesa-dev] [PATCH 3/5] st/mesa: add support for ARB_sample_locations

2018-05-08 Thread Ian Romanick
On 05/04/2018 05:09 AM, Rhys Perry wrote: > Signed-off-by: Rhys Perry > --- > src/mesa/state_tracker/st_atom_framebuffer.c | 64 > > src/mesa/state_tracker/st_cb_msaa.c | 22 ++ > src/mesa/state_tracker/st_extensions.c

Re: [Mesa-dev] [PATCH 3/5] st/mesa: add support for ARB_sample_locations

2018-05-08 Thread Rhys Perry
I can't remember why I memset them to 0x88. I don't think it's necessary, so I'll remove it. I think I will memset the pipe_sample_locations_state to zero though so cso_set_sample_locations() works better. On Mon, May 7, 2018 at 4:30 PM, Brian Paul wrote: > More nit-picks

Re: [Mesa-dev] [PATCH 3/5] st/mesa: add support for ARB_sample_locations

2018-05-07 Thread Brian Paul
More nit-picks below. On 05/04/2018 06:09 AM, Rhys Perry wrote: Signed-off-by: Rhys Perry --- src/mesa/state_tracker/st_atom_framebuffer.c | 64 src/mesa/state_tracker/st_cb_msaa.c | 22 ++

[Mesa-dev] [PATCH 3/5] st/mesa: add support for ARB_sample_locations

2018-05-04 Thread Rhys Perry
Signed-off-by: Rhys Perry --- src/mesa/state_tracker/st_atom_framebuffer.c | 64 src/mesa/state_tracker/st_cb_msaa.c | 22 ++ src/mesa/state_tracker/st_extensions.c | 1 + 3 files changed, 87 insertions(+) diff --git