Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_image.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index c84fc8ddea..df505ce8f0 100644
--- a/src/intel/vulkan/anv_image.c
+++
://bugzilla.freedesktop.org/show_bug.cgi?id=101677
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/isl/isl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index bbbdb19df2..ba56d86c17 100644
--- a/src/intel/isl/isl.c
+++ b/src/int
The lifespan of the fast-clear data will surpass the render pass scope.
We need CCS_D to be enabled in order to invalidate blocks previously
marked as cleared and to sample cleared data correctly.
v2: Avoid refactoring.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/
Use the performance warning infrastructure to provide helpful
information when testing applications.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/intel/
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/blorp/blorp.h | 3 +++
src/intel/blorp/blorp_genX_exec.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h
index d5226c2248..1e96fb42b0 100644
--- a/src
Image layouts only let us know that an image *may* be fast-cleared. For
this reason we can end up with redundant resolves. Testing has shown
that such resolves can measurably hurt performance and that predicating
them can avoid the penalty.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.
v2: Rewrite functions, change location of synchronization.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 114 +
1 file changed, 114 insertions(+)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c
b/src
With an earlier patch from this series, resolves are additionally
performed on layout transitions. Remove the now unnecessary implicit
resolves within render passes.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_blorp.c
For readability, bring the assignment of CCS closer to the assignment of
NONE and MCS.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 62 ++
1 file changed, 30 insertions(+), 32 deletions(-)
diff --git
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 31 ++-
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/vulkan/genX_cmd_buffer.c
index d71c3c92c9..62a2
v2: Update comments, function signatures, and add assertions.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_image.c | 78 ++
src/intel/vulkan/anv_private.h | 12 +++
2 files changed, 90 insertions(+)
diff
The next patch enables the use of CCS_D even when the color attachment
will not be fast-cleared. Catch the gen7 case early to simplify the
changes required.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 16 +---
1 file chan
v2: Expound on comment for the pipe controls (Jason Ekstrand).
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_blorp.c | 4 +-
src/intel/vulkan/genX_cmd_buffer.c | 183 +
2 files changed, 167 insertions(+), 20 del
v2: Remove ::first_subpass_layout assertion (Jason Ekstrand).
v3: Allow some fast clears in the GENERAL layout.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_pass.c| 22 ++
src/intel/vulkan/anv_private.h | 2 ++
src/intel/
We'll be performing a GPU memcpy in more places to copy small amounts of
data. Add an alternate function that thrashes less state.
v2:
- Make a new function (Jason Ekstrand).
- Move the #define into the function.
v3:
- Update the function name (Jason).
- Update comments.
Signed-off-by: Nanley
v2: Rewrite functions.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 93 ++
1 file changed, 84 insertions(+), 9 deletions(-)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/
A quick test shows that this change still improves frame rates on a
Dota 2 benchmark by about 3% at 1080p.
Cc: Jason Ekstrand <ja...@jlekstrand.net>
Nanley Chery (16):
intel/isl: Add surface state clear value information
anv/image: Append CCS/MCS with a fast-clear state buffer
v2: Don't pass in the command buffer (Jason Ekstrand).
v3: Remove an incorrect assertion and an if condition for gen7.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 31 +++
1 file changed, 23 insertions(+), 8 del
This will be used to load and store clear values from surface state
objects.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/isl/isl.c | 9 +
src/intel/isl/isl.h | 4
2 files changed, 13 insertions(+)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
On Thu, Jun 22, 2017 at 10:32:42AM -0700, Jason Ekstrand wrote:
> On Thu, Jun 22, 2017 at 10:02 AM, Nanley Chery <nanleych...@gmail.com>
> wrote:
>
> > On Thu, Jun 22, 2017 at 09:59:44AM -0700, Nanley Chery wrote:
> > > On Thu, Jun 22, 2017 at 09:55:50AM -0700, Nanl
On Mon, Jun 26, 2017 at 09:07:12PM +0300, Topi Pohjolainen wrote:
> CID: 1413018
> Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
> ---
> src/intel/vulkan/anv_device.c | 1 +
> 1 file changed, 1 insertion(+)
>
This patch is
Reviewed-by: Nanley Chery &
...@jlekstrand.net>
>
> Given that you're changing core blorp, please make sure you run this
> through Jenkins on GL. :-)
>
> --Jason
>
Thanks! I made the modification to patch 1 and I'll re-run jenkins for GL.
-Nanley
> On Wed, Jun 21, 2017 at 5:15 PM, Nanley Chery <nanl
On Thu, Jun 22, 2017 at 09:59:44AM -0700, Nanley Chery wrote:
> On Thu, Jun 22, 2017 at 09:55:50AM -0700, Nanley Chery wrote:
> > On Wed, Jun 21, 2017 at 06:07:29PM -0700, Jason Ekstrand wrote:
> > > On Wed, Jun 21, 2017 at 5:15 PM, Nanley Chery <nanleych...@gm
On Thu, Jun 22, 2017 at 09:55:50AM -0700, Nanley Chery wrote:
> On Wed, Jun 21, 2017 at 06:07:29PM -0700, Jason Ekstrand wrote:
> > On Wed, Jun 21, 2017 at 5:15 PM, Nanley Chery <nanleych...@gmail.com> wrote:
> >
> > > v2 (Jason Ekstrand):
> > > - Upda
On Wed, Jun 21, 2017 at 06:07:29PM -0700, Jason Ekstrand wrote:
> On Wed, Jun 21, 2017 at 5:15 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > v2 (Jason Ekstrand):
> > - Update commit title
> > - Check aux level and layer as well
> >
> > Signed-off-
On Wed, Jun 21, 2017 at 06:19:57PM -0700, Jason Ekstrand wrote:
> On Wed, Jun 21, 2017 at 5:15 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > In the future, we plan on using this method to resolve images whose
> > surface state fast-clear value is dynamicall
).
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> (v1)
Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (v1)
---
src/intel/vulkan/anv_blorp.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
This will be used in the next patch.
v2:
- Omit BLORP_BATCH_NO_EMIT_DEPTH_STENCIL (Jason Ekstrand)
- Update commit message.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
---
src/intel/vulkan/anv_bl
Splitting out these fields will make the color buffer transitioning
function simpler when it gains more features.
v2: Remove unintended blank line (Iago Toral)
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
---
src/
Make the function take in an image instead of an image view. This
enables us to record relocations for surfaces states created outside of
the anv_CreateImageView path.
v2 (Jason Ekstrand):
- Use image->offset instead of surf_offset in aux_offset calculation.
Signed-off-by: Nanley Ch
In the future, we plan on using this method to resolve images whose
surface state fast-clear value is dynamically updated during command
buffer execution. Start using it now for testing and to reduce churn
later on.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago
v2:
- Do layered resolves.
(Jason Ekstrand):
- Replace "bt" suffix with "attachment".
- Rename helper function to prepare_ccs_resolve.
- Move blorp_params_init() into helper function.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago Toral
v2:
- Check for aux levels in layer helper (Jason Ekstrand)
- Don't assert aux is present, return 0 if it isn't.
- Use the helpers.
v3:
- Make the helpers aspect-agnostic (Jason Ekstrand)
- Drop anv_image_has_color_aux()
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by
-by: Jason Ekstrand <ja...@jlekstrand.net>
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> (v2)
---
src/intel/vulkan/anv_genX.h| 8
src/intel/vulkan/genX_cmd_buffer.c | 6 +++---
src/intel/vulkan/gen
v2: Omit the commit message.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (v1)
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com>
---
src/intel/isl/isl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
v2: Update commit title (Jason Ekstrand)
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Reviewed-by: Iago Toral Quiroga <ito...@igalia.com> (v1)
---
src/intel/blorp/blorp_clear.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/intel/blorp/blorp_clear.c b/src
On Wed, Jun 21, 2017 at 09:04:01AM +0200, Iago Toral wrote:
> On Tue, 2017-06-20 at 12:21 -0700, Nanley Chery wrote:
> > On Mon, Jun 19, 2017 at 04:19:36PM -0700, Jason Ekstrand wrote:
> > > On Wed, Jun 14, 2017 at 3:06 PM, Nanley Chery <nanleych...@gmail.co
> > > m
On Tue, Jun 20, 2017 at 02:50:33PM -0700, Jason Ekstrand wrote:
> On Tue, Jun 20, 2017 at 2:43 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > On Mon, Jun 19, 2017 at 04:06:34PM -0700, Jason Ekstrand wrote:
> > > On Tue, Jun 13, 2017 at 11:41 AM, Nanley C
On Mon, Jun 19, 2017 at 04:06:34PM -0700, Jason Ekstrand wrote:
> On Tue, Jun 13, 2017 at 11:41 AM, Nanley Chery <nanleych...@gmail.com>
> wrote:
>
> > Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
> > ---
> > src/intel/blorp/blorp_clear.c | 4
l have to send out a V2, so I'll update the 3 uses of that
term.
> On Tue, Jun 13, 2017 at 11:41 AM, Nanley Chery <nanleych...@gmail.com>
> wrote:
>
> > Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
> > ---
> > src/intel/blorp/blorp.c | 4
&g
On Mon, Jun 19, 2017 at 05:03:51PM -0700, Jason Ekstrand wrote:
> On Mon, Jun 19, 2017 at 4:46 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > On Mon, Jun 19, 2017 at 04:16:32PM -0700, Jason Ekstrand wrote:
> > > On Tue, Jun 13, 2017 at 11:41 AM, Nanley C
On Mon, Jun 19, 2017 at 04:19:36PM -0700, Jason Ekstrand wrote:
> On Wed, Jun 14, 2017 at 3:06 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > On Wed, Jun 14, 2017 at 09:32:22AM +0200, Iago Toral wrote:
> > > On Tue, 2017-06-13 at 11:41 -0700, Nanley Chery
On Mon, Jun 19, 2017 at 04:33:29PM -0700, Jason Ekstrand wrote:
> On Tue, Jun 13, 2017 at 11:41 AM, Nanley Chery <nanleych...@gmail.com>
> wrote:
>
> > Splitting out these fields will make the color buffer transitioning
> > function simpler when it gains more f
On Mon, Jun 19, 2017 at 04:16:32PM -0700, Jason Ekstrand wrote:
> On Tue, Jun 13, 2017 at 11:41 AM, Nanley Chery <nanleych...@gmail.com>
> wrote:
>
> > v2:
> > - Check for aux levels in layer helper (Jason Ekstrand)
> > - Don't assert aux is present, return 0 i
t you still need to wait until Vulkan issue #849 is
> resolved before merging some of these too.
>
> Iago
>
Thank you for the review! I plan to merge parts of this series soon.
-Nanley
> > On Tue, 2017-06-13 at 11:41 -0700, Nanley Chery wrote:
> > > This series implem
ags = 1u << isl_tiling
> + };
> +
> + if (!isl_surf_init_s(>isl_dev, >surf, _info))
> + goto fail;
> +
> + assert(mt->surf.size % mt->surf.row_pitch == 0);
> +
> + if (!bo) {
> + unsigned pitch = mt->surf.row_pitch;
^
MAYBE_UNUSED for
ng that using these intermediate variables avoids casting
warnings?
With or without the code comment, this patch is
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> + return;
> + }
> +
> assert(slice < mt->level[level].depth);
>
> *x
_level);
> > > +
> > > + const unsigned level_depth = src_mt->surf.dim == ISL_SURF_DIM_3D ?
> > >
> >
> > This needs a MAYBE_UNUSED or else we'll get warnings in release builds.
> > Another option would be to do
> >
&
On Fri, Jun 16, 2017 at 07:58:02AM +0300, Pohjolainen, Topi wrote:
> On Thu, Jun 15, 2017 at 05:18:22PM -0700, Nanley Chery wrote:
> > On Tue, Jun 13, 2017 at 05:50:00PM +0300, Topi Pohjolainen wrote:
> > > Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
&
On Thu, Jun 15, 2017 at 06:23:24PM -0700, Jason Ekstrand wrote:
> On Thu, Jun 15, 2017 at 5:18 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > On Tue, Jun 13, 2017 at 05:50:00PM +0300, Topi Pohjolainen wrote:
> > > Signed-off-by: Topi Pohjolainen
On Tue, Jun 13, 2017 at 05:50:03PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 15 +++
> 1 file changed, 15 insertions(+)
>
> diff --git
On Tue, Jun 13, 2017 at 05:50:00PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_blit.h | 13 +
> 1 file changed, 13 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_blit.h
>
tricted to a maximum size in bytes. This
> + * maximum is 2 GB for all products and all surface types.
This block and the following are missing closing quotations. I think we
can omit the opening quotes since you're doing a block quote. It's up to
you though.
With those t
On Wed, Jun 14, 2017 at 10:13:41AM +0200, Iago Toral wrote:
> On Tue, 2017-06-13 at 11:41 -0700, Nanley Chery wrote:
> > Splitting out these fields will make the color buffer transitioning
> > function simpler when it gains more features.
> >
> > Signed-off-by
ons(-)
>
Patches 2-4 are
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
> index 78a223a7f3..061860cdf6 100644
> --- a/src/mesa/drivers/dri/i965/intel_mipma
On Tue, Jun 13, 2017 at 05:50:04PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 8 +++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git
On Wed, Jun 14, 2017 at 09:45:46PM +0300, Pohjolainen, Topi wrote:
> On Tue, Jun 13, 2017 at 04:31:26PM -0700, Nanley Chery wrote:
> > On Tue, Jun 13, 2017 at 05:49:59PM +0300, Topi Pohjolainen wrote:
> > > Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
&
On Wed, Jun 14, 2017 at 09:32:22AM +0200, Iago Toral wrote:
> On Tue, 2017-06-13 at 11:41 -0700, Nanley Chery wrote:
> > For 3D image subresources undergoing a layout transition via
> > PipelineBarrier, we increase the number of fast-cleared layers to
> > match
>
On Wed, Jun 14, 2017 at 10:36:16AM +0300, Pohjolainen, Topi wrote:
> On Tue, Jun 13, 2017 at 05:26:52PM -0700, Nanley Chery wrote:
> > On Tue, Jun 13, 2017 at 05:50:04PM +0300, Topi Pohjolainen wrote:
> > > Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
&
On Tue, Jun 13, 2017 at 05:50:04PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 8 +++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git
On Tue, Jun 13, 2017 at 05:49:59PM +0300, Topi Pohjolainen wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 29
> +--
> 1 file changed, 27 insertions(+), 2 deletions(-)
>
> diff --git
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/blorp/blorp_clear.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c
index 3d5c41cc71..f43d05ad19 100644
--- a/src/intel/blorp/blorp_clear.c
+++ b/src
In the future, we plan on using this method to resolve images whose
surface state fast-clear value is dynamically updated during command
buffer execution. Start using it now for testing and to reduce churn
later on.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/
A GPU memcpy function could alternatively be implemented using MI_*
commands. Provide more detail into how this one operates in case another
memcpy function is created.
v2: Update the commit message.
Suggested-by: Jason Ekstrand <ja...@jlekstrand.net>
Signed-off-by: Nanley Chery <na
Reflect the fact that an image view or subresource range with the color
aspect cannot have any other aspect.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/genX_cmd_buffer.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/intel/
This will be used in the next patch.
v2:
- Omit BLORP_BATCH_NO_EMIT_DEPTH_STENCIL (Jason Ekstrand)
- Update commit message.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_blorp.c | 41 +
src/intel/vulkan/anv_pri
Splitting out these fields will make the color buffer transitioning
function simpler when it gains more features.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_blorp.c | 33
src/intel/vulkan/anv_private.h | 4 ++-
tests. Instead, unify the behaviour in both
scenarios, and wait for the CTS tests to catch up. See CL for the
test fix.
On SKL+, this causes 3 test failures under:
dEQP-VK.pipeline.render_to_image.3d.*
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_blorp
This series implements refactors and behavioral changes to make the
follow-on series which implements layout-based CCS resolves a lot
clearer.
Cc: Jason Ekstrand <ja...@jlekstrand.net>
Nanley Chery (13):
intel/blorp: Assert on subresource in surface_info_init
intel/blorp: Assert on gen
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/blorp/blorp.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/intel/blorp/blorp.c b/src/intel/blorp/blorp.c
index 9c88658e8a..993b42fa85 100644
--- a/src/intel/blorp/blorp.c
+++ b/src/intel/blorp/blorp.c
@@
v2:
- Do layered resolves.
(Jason Ekstrand):
- Replace "bt" suffix with "attachment".
- Rename helper function to prepare_ccs_resolve.
- Move blorp_params_init() into helper function.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
Looks like layered CCS re
v2: Omit the commit message.
Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (v1)
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/isl/isl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
inde
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/isl/isl.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 860fc28b27..b593e153dc 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -1
Make the function take in an image instead of an image view. This
enables us to record relocations for surfaces states created outside of
the anv_CreateImageView path.
v2 (Jason Ekstrand):
- Use image->offset instead of surf_offset in aux_offset calculation.
Signed-off-by: Nanley Ch
v2:
- Check for aux levels in layer helper (Jason Ekstrand)
- Don't assert aux is present, return 0 if it isn't.
- Use the helpers.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/intel/vulkan/anv_blorp.c | 4
src/intel/vulkan/anv_private.
On Fri, May 26, 2017 at 04:30:19PM -0700, Jason Ekstrand wrote:
> This commit adds a new unified interface for doing resolves. The basic
> format is that, prior to any surface access such as texturing or
> rendering, you call intel_miptree_prepare_access. If the surface was
> written, you call
On Fri, Jun 02, 2017 at 01:05:47PM -0700, Jason Ekstrand wrote:
> On Fri, Jun 2, 2017 at 12:57 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > On Fri, May 26, 2017 at 04:30:18PM -0700, Jason Ekstrand wrote:
> > > This enum describes all of the states
On Fri, May 26, 2017 at 04:30:18PM -0700, Jason Ekstrand wrote:
> This enum describes all of the states that a auxiliary compressed
^
an
> surface can have. All of the states as well as normative language
On Fri, May 12, 2017 at 04:38:09PM -0700, Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
> ---
> src/intel/genxml/genX_pack.h | 2 ++
> 1 file changed, 2 insertions(+)
>
Patches 4-5 are
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
tel/vulkan/anv_image.c | 28
> 1 file changed, 28 deletions(-)
>
I'm glad that we're fixing this. This patch is
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
> index d65ef47..351018
ws what
> will
> +* happen to caching at that point. It's probably best if we don't let
> +* this happen at the same time as other rendering. Flush the render
> cache
> +* and stall prior to this operation.
> +*/
Stale comment?
This patch is
Reviewed-by: N
On Thu, May 18, 2017 at 02:01:02PM -0700, Jason Ekstrand wrote:
> ---
> src/intel/vulkan/anv_device.c | 12
> 1 file changed, 12 insertions(+)
>
Patches 9 and 15 are
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> diff --git a/src/intel/vulkan/anv
On Thu, May 18, 2017 at 02:00:59PM -0700, Jason Ekstrand wrote:
> ---
> src/intel/vulkan/anv_device.c | 6 --
> src/intel/vulkan/anv_private.h | 11 ++-
> 2 files changed, 14 insertions(+), 3 deletions(-)
>
This patch is
Reviewed-by: Nanley Chery <nanley.g.ch...@
arger than 3GiB which most likely means they have 8 GiB
> > of
> > > + * video memory and so carving off 2 GiB for the 32-bit heap
> > should be
> > > + * reasonable.
> > > + */
> > > + const uint32_t heap_size_32bit = 2ull * (1ull
On Fri, May 19, 2017 at 10:53:12AM -0700, Jason Ekstrand wrote:
> On Thu, May 18, 2017 at 2:01 PM, Jason Ekstrand
> wrote:
>
> > ---
> > src/intel/vulkan/anv_device.c | 42 ++
> > ++--
> > 1 file changed, 36 insertions(+), 6 deletions(-)
insertions(+), 36 deletions(-)
>
This patch is
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index bb02378..6ea8dfe 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/
On Thu, May 18, 2017 at 02:00:58PM -0700, Jason Ekstrand wrote:
> The idea behind doing this was to make it easier to set various flags.
> However, we have enough custom flag settings floating around the driver
> that this is more of a nuisance than a help.
> ---
>
On Thu, May 18, 2017 at 02:00:57PM -0700, Jason Ekstrand wrote:
> ---
> src/intel/vulkan/anv_device.c | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
This patch is
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> diff --git a/src/intel/vulkan/anv
_device.c | 12 ++--
> src/intel/vulkan/anv_private.h | 2 +-
> 2 files changed, 7 insertions(+), 7 deletions(-)
>
Patches 7 and 8 are
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index
7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
This patch is
Reviewed-by: Nanley Chery <nanley.g.ch...@intel.com>
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index 50486b6..b80715f 100644
> --- a/src/intel/vulkan/a
On Fri, May 19, 2017 at 04:29:16PM -0700, Ian Romanick wrote:
> On 05/19/2017 10:28 AM, Nanley Chery wrote:
> > On Fri, May 19, 2017 at 06:38:03AM -0700, Ian Romanick wrote:
> >> From: Ian Romanick <ian.d.roman...@intel.com>
> >>
> >> The previous code ha
On Fri, May 19, 2017 at 06:09:49PM -0700, Nanley Chery wrote:
> On Fri, May 19, 2017 at 05:18:12PM -0700, Jason Ekstrand wrote:
> > On Fri, May 19, 2017 at 4:51 PM, Nanley Chery <nanleych...@gmail.com> wrote:
> >
> > > On Thu, May 18, 2017 at 02:00:51
On Fri, May 19, 2017 at 05:18:12PM -0700, Jason Ekstrand wrote:
> On Fri, May 19, 2017 at 4:51 PM, Nanley Chery <nanleych...@gmail.com> wrote:
>
> > On Thu, May 18, 2017 at 02:00:51PM -0700, Jason Ekstrand wrote:
> > > ---
> > > src/intel/vulkan/anv_image.
On Fri, May 19, 2017 at 05:32:07PM -0700, Ian Romanick wrote:
> On 05/19/2017 05:07 PM, Ilia Mirkin wrote:
> > On Fri, May 19, 2017 at 7:29 PM, Ian Romanick wrote:
> >> I missed that glsl_parser_extras.cpp has its own implementation of the
> >> has_XXX_foo() functions that
On Thu, May 18, 2017 at 02:00:51PM -0700, Jason Ekstrand wrote:
> ---
> src/intel/vulkan/anv_image.c | 12 ++--
> src/intel/vulkan/genX_cmd_buffer.c | 9 +
> 2 files changed, 11 insertions(+), 10 deletions(-)
>
> diff --git a/src/intel/vulkan/anv_image.c
On Thu, May 18, 2017 at 02:00:50PM -0700, Jason Ekstrand wrote:
> This causes dEQP-VK.api.copy_and_blit.resolve_image.partial.* to start
> failing due to test bugs. See CL 1031 for a test fix.
> ---
> src/intel/vulkan/anv_blorp.c | 40
> ++
>
Cc: Anuj Phogat <anuj.pho...@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
docs/features.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/features.txt b/docs/features.txt
index e18bf54a48..05d776be08 100644
--- a/docs/features.tx
On Fri, May 19, 2017 at 10:41:22AM -0700, Anuj Phogat wrote:
> On Thu, May 18, 2017 at 3:53 PM, Nanley Chery <nanleych...@gmail.com> wrote:
> > This platform passes the following GLES3 tests:
> > ES3-CTS.functional.texture.compressed.astc.endpoint_value_hdr_cem_*
> >
On Fri, May 19, 2017 at 06:38:03AM -0700, Ian Romanick wrote:
> From: Ian Romanick
>
> The previous code handled everything with the general case. I noticed
> that every time I converted an open-coded check to use a
> _mesa_has_EXT_foo() function, the text size of the
This platform passes the following GLES3 tests:
ES3-CTS.functional.texture.compressed.astc.endpoint_value_hdr_cem_*
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
---
src/mesa/drivers/dri/i965/intel_extensions.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drive
501 - 600 of 1405 matches
Mail list logo