+ _mesa_meta_begin(ctx, MESA_META_SCISSOR);
>
> _mesa_GenFramebuffers(2, fbos);
> _mesa_BindFramebuffer(GL_READ_FRAMEBUFFER, fbos[0]);
> --
> 2.4.3
>
> ___
> mesa-dev mailing list
> mes
brw_cs.cpp:386:27: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_cs.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_cs.cpp
b/src/mesa
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/common/meta_blit.c | 6 +++---
src/mesa/drivers/dri/i915/i915_texstate.c | 2 +-
src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp | 2 +-
src/mesa/drivers/dri/i965/brw_reg.h | 2 +-
src/mesa
> Reviewed-by: Iago Toral Quiroga
>
> On Tue, 2015-07-28 at 16:48 -0700, Anuj Phogat wrote:
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/common/meta_blit.c | 6 +++---
>> src/mesa/drivers/dri/i915/i915_texstate
it would probably make sense to do that in a separate patch.
>
Right. It doesn't make sense to make changes in format_parser.py. It
was a 'sed' job. I'll remove these changes before pushing. I'll remove the
unused functions in format_parser.py in a separate patch.
Thanks.
On Wed, Jul 29, 2015 at 9:45 AM, Matt Turner wrote:
> On Tue, Jul 28, 2015 at 4:45 PM, Anuj Phogat wrote:
>> brw_cs.cpp:386:27: warning: comparison between signed and unsigned
>> integer expressions [-Wsign-compare]
>>
>> Signed-off-by: Anuj Phogat
>>
Fixes following compiler warning:
brw_cs.cpp:386:27: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
Signed-off-by: Anuj Phogat
Cc: Matt Turner
---
src/mesa/drivers/dri/i965/brw_context.h | 12 ++--
src/mesa/drivers/dri/i965/brw_cs.cpp| 2 +-
2
Signed-off-by: Anuj Phogat
Cc: Neil Roberts
---
src/mesa/main/format_parser.py | 7 ---
1 file changed, 7 deletions(-)
diff --git a/src/mesa/main/format_parser.py b/src/mesa/main/format_parser.py
index 11184f7..799b14f 100755
--- a/src/mesa/main/format_parser.py
+++ b/src/mesa/main
s by
> 4 (versus the current 8bpp pixels). We also have to be more careful
> doing the last line just in case it may exceed the coordinate limit.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90734
> Signed-off-by: Chris Wilson
> Cc: Kenneth Graunke
&g
Many piglit tests (if using fast copy blit in Mesa) failed earlier
because I missed adding this condition. Fast copy blit is currently
enabled for use only with Yf/Ys tiling.
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 6 --
1 file changed, 4 insertions(+), 2
.
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index bab7d90..bb8fc66 100644
--- a/src/mesa/drivers/dri/i965
On Mon, Aug 10, 2015 at 11:17 AM, Anuj Phogat wrote:
> Many piglit tests (if using fast copy blit in Mesa) failed earlier
> because I missed adding this condition. Fast copy blit is currently
> enabled for use only with Yf/Ys tiling.
>
> Signed-off-by: Anuj Phogat
> ---
>
:
> commit cbe24ff7c8d69a6d378d9c2cce2bc117517f4302
> Author: Kenneth Graunke
> Date: Wed Apr 10 13:49:16 2013 -0700
>
> intel: Fall back to X-tiling when larger than estimated aperture size.
>
> v2: This was rebased on a recent commit than Anuj pushed
below) uses a signed
> * 16-bit integer to represent buffer pitch, so it can only handle buffer
> * pitches < 32k.
> --
> 2.5.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
If gen9_use_linear_1d_layout() returns true, we discards the align_w
computed earlier and use fixed align_w = 64 in gen9_miptree_layout_1d().
So, avoid computing align_w when not required.
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 2 +-
1 file changed, 1
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index edd7518..6ac4024 100644
--- a/src/mesa/drivers/dri
Patch just does some refactoring to make the code look better. No
functional changes in here.
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 46 ++
1 file changed, 22 insertions(+), 24 deletions(-)
diff --git a/src/mesa
Vertical alignment is not applicable to 1D textures.
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 53f7698..9a3c844 100644
--- a/src/mesa
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 01516d1..f914cf8 100644
--- a/src/mesa
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 26 +-
1 file changed, 9 insertions(+), 17 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 9a3c844..01516d1 100644
--- a
+ return true;
> + return false;
> +}
> +
> /*@}*/
>
> /**
> --
> 2.1.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
With or without suggested change:
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Mon, Aug 10, 2015 at 1:06 AM, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli
> ---
> src/mesa/main/teximage.c | 28
> 1 file changed, 28 insertions(+)
>
> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
> index fc69387..3ea7b2a 100644
> --- a/s
to_string(internalformat));
> + } else {
> + _mesa_error(ctx, GL_INVALID_OPERATION, "%s(internalformat=%s)",
> func,
> + _mesa_enum_to_string(internalformat));
> + }
>return;
> }
>
> --
> 2.1.0
>
Reviewed-by: Anuj Ph
On Fri, Aug 14, 2015 at 10:30 AM, Anuj Phogat wrote:
> On Mon, Aug 10, 2015 at 1:06 AM, Tapani Pälli wrote:
>> Signed-off-by: Tapani Pälli
>> ---
>> src/mesa/main/teximage.c | 28
>> 1 file changed, 28 insertions(+)
>>
>> diff
Marta landed a similar patch in master.
On Mon, Aug 10, 2015 at 1:06 AM, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli
> ---
> src/mesa/main/multisample.c | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c
"internalformat = %s)",
> +callerName, _mesa_enum_to_string(format),
> +_mesa_enum_to_string(type),
> +_mesa_enum_to_string(internalFormat));
> +return true;
> + }
> + }
mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target,
> --
> 2.4.6
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat
On Fri, Aug 14, 2015 at 11:03 AM, Emil Velikov wrote:
> Hi Anuj,
>
> On 13 August 2015 at 22:51, Anuj Phogat wrote:
> ...
>> + if (mt->tr_mode == INTEL_MIPTREE_TRMODE_YS)
>> + ret_align *= multiplier;
> Out of curiosity, have you noticed if the compiler is c
On Fri, Aug 14, 2015 at 3:21 PM, Timothy Arceri wrote:
> On Fri, 2015-08-14 at 10:43 -0700, Anuj Phogat wrote:
>> On Fri, Aug 14, 2015 at 10:30 AM, Anuj Phogat wrote:
>> > On Mon, Aug 10, 2015 at 1:06 AM, Tapani Pälli
>> > wrote:
>> > > Signed-off-by: Ta
A later patch in this series uses it to compute tile dimensions.
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_blorp.cpp | 3 ++-
src/mesa/drivers/dri/i965/brw_misc_state.c| 10 ---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 39
.
Cc: Ben Widawsky
Cc:
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index d15a64d..729ffb0 100644
--- a/src/mesa/d
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index f8606b8..c177eec 100644
--- a/src/mesa/drivers/dri/i965
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 67 ++-
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 5 ++
2 files changed, 50 insertions(+), 22 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c
This change is required by the later patches.
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_blorp.cpp | 3 ++-
src/mesa/drivers/dri/i965/brw_misc_state.c| 8 +---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 7 ++-
src/mesa/drivers/dri/i965
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 25 +
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index c177eec..d15a64d 100644
--- a/src/mesa
It takes care of using the correct tile width if we later use other tiling
patterns (e.g. Yf) for aux miptree.
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/gen8_surface_state.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src
I misinterpreted the alignmnet restriction in XY_FAST_COPY_BLT earlier.
Instead of checking pitch for 64KB alignmnet we need to check it for
tile widh alignment.
Signed-off-by: Anuj Phogat
Cc: Ben Widawsky
---
src/mesa/drivers/dri/i965/intel_blit.c | 18 +++---
1 file changed, 7
On Sun, Aug 16, 2015 at 11:48 PM, Pohjolainen, Topi
wrote:
> On Fri, Aug 14, 2015 at 04:51:52PM -0700, Anuj Phogat wrote:
>> This change is required by the later patches.
>>
>> Cc: Ben Widawsky
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/d
On Mon, Aug 17, 2015 at 11:03 AM, Ben Widawsky wrote:
> On Fri, Aug 14, 2015 at 04:51:52PM -0700, Anuj Phogat wrote:
>> This change is required by the later patches.
>>
>> Cc: Ben Widawsky
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/dri/i
x_samples
error is changed from invalid_value to invalid_operation. But, still
keeps invalid_value for samples < 0.
Both patches are:
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Mon, Aug 17, 2015 at 12:19 PM, Ben Widawsky wrote:
> On Fri, Aug 14, 2015 at 04:51:55PM -0700, Anuj Phogat wrote:
>> It takes care of using the correct tile width if we later use other tiling
>> patterns (e.g. Yf) for aux miptree.
>>
>> Cc: Ben Widawsky
&g
On Mon, Aug 17, 2015 at 12:06 PM, Ben Widawsky wrote:
> On Fri, Aug 14, 2015 at 04:51:54PM -0700, Anuj Phogat wrote:
>> Cc: Ben Widawsky
>> Signed-off-by: Anuj Phogat
>> ---
>> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 67
>> ++--
On Mon, Aug 17, 2015 at 12:24 PM, Ben Widawsky wrote:
> On Fri, Aug 14, 2015 at 04:51:58PM -0700, Anuj Phogat wrote:
>> Current code checks the alignment restrictions only for Y tiling.
>> From Broadwell PRM vol 10:
>>
>> "pitch is of 512Byte granularity fo
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index f8606b8..c177eec 100644
--- a/src/mesa/drivers/dri/i965
V2:
- Do the tile width/height computations in the new helper
function and use it later in intel_miptree_get_tile_masks().
- Change the name to intel_get_tile_dims().
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 81
ned-off-by: Anuj Phogat
Reviewed-by: Ben Widawsky
---
src/mesa/drivers/dri/i965/intel_blit.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index d15a64d..df53e85 100644
--- a/src/mesa/d
This function isn't specific to miptrees. So, drop the "miptree"
from function name.
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_fbo.c | 2 +-
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 6 +++---
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 4
I misinterpreted the alignmnet restriction in XY_FAST_COPY_BLT earlier.
Instead of checking pitch for 64KB alignmnet we need to check it for
tile widh alignment.
Signed-off-by: Anuj Phogat
Cc: Ben Widawsky
---
src/mesa/drivers/dri/i965/intel_blit.c | 18 +++---
1 file changed, 7
It takes care of using the correct tile width if we later use other
tiling patterns for aux miptree.
V2: Remove the comment about using Yf for aux miptree.
Cc: Ben Widawsky
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/gen8_surface_state.c | 14 --
1 file changed, 12
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_blit.c | 25 +
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c
b/src/mesa/drivers/dri/i965/intel_blit.c
index c177eec..d15a64d 100644
--- a/src/mesa
This will require change in the parameters passed to
intel_miptree_get_tile_masks().
V2: Rearrange the order of parameters. (Ben)
Change the name to intel_get_tile_masks(). (Topi)
Cc: Ben Widawsky
Cc: Topi Pohjolainen
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/brw_blorp.cpp
e_fbo_texture(ctx, texObj);
> }
> }
>
> --
> 2.1.0
>
> ___
> mesa-stable mailing list
> mesa-sta...@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-stable
LGTM. It'll be nice to have a piglit test for this bug.
IXED_SAMPLE_LOCATIONS:
> - if (!ctx->Extensions.ARB_texture_multisample)
> + if (!_mesa_is_gles31(ctx) &&
> !ctx->Extensions.ARB_texture_multisample)
> goto invalid_pname;
> *params = img->FixedSampleLocations;
> break;
> --
> 2.1.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
We have a similar check in meta pbo path.
Cc:
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_pixel_read.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_pixel_read.c
b/src/mesa/drivers/dri/i965/intel_pixel_read.c
index 3fe506e..55f6852
See similar fix for Readpixels in mesa commit 0d20790. Jason suggested
we need that for TexSubImage as well.
Cc:
Cc: Jason Ekstrand
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/common/meta_tex_subimage.c | 43 +
1 file changed, 25 insertions(+), 18 deletions
We have a similar check in meta pbo path.
Cc:
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/intel_tex_subimage.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c
b/src/mesa/drivers/dri/i965/intel_tex_subimage.c
index 31e511f
> 2.1.4
>
> _______
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
init_device_state)(struct anv_device *device)
> * VkPhysicalDeviceFeatures::standardSampleLocations.
> */
> anv_batch_emit(&batch, GENX(3DSTATE_SAMPLE_PATTERN), sp) {
> - SAMPLE_POS_1X(sp._1xSample);
> - SAMPLE_POS_2X(sp._2
t;x1, params->x0) - 1;
> + rect.ClippedDrawingRectangleYMax = MAX2(params->y1, params->y0) - 1;
> + }
> +
> blorp_exec(batch, params);
>
> /* Make sure we didn't wrap the batch unintentionally, and make sure we
> --
> 2.5.0.400.gff86faf
>
>
On Wed, Sep 14, 2016 at 10:45 AM, Jason Ekstrand wrote:
> From the ARB_gpu_shader5 spec:
>
>The built-in functions interpolateAtCentroid() and interpolateAtSample()
>will sample variables as though they were declared with the "centroid"
>or "sample" qualifiers, respectively.
>
> When r
On Wed, Sep 14, 2016 at 1:31 PM, Jason Ekstrand wrote:
>
>
> On Wed, Sep 14, 2016 at 1:29 PM, Anuj Phogat wrote:
>>
>> On Wed, Sep 14, 2016 at 10:45 AM, Jason Ekstrand
>> wrote:
>> > From the ARB_gpu_shader5 spec:
>> >
>> >
esa/main/viewport.h
> +++ b/src/mesa/main/viewport.h
> @@ -58,8 +58,14 @@ extern void GLAPIENTRY
> _mesa_DepthRangeArrayv(GLuint first, GLsizei count, const GLclampd * v);
>
> extern void GLAPIENTRY
> +_mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat * v);
> +
> +extern void GLAPIENTRY
> _mesa_DepthRangeIndexed(GLuint index, GLclampd n, GLclampd f);
>
> +extern void GLAPIENTRY
> +_mesa_DepthRangeIndexedfOES(GLuint index, GLfloat n, GLfloat f);
> +
> extern void
> _mesa_set_depth_range(struct gl_context *ctx, unsigned idx,
>GLclampd nearval, GLclampd farval);
> --
> 2.7.3
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Patches 1-5 are: Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
signed attachment, unsigned format,
> int width, int height)
> {
> struct intel_buffer *intelBuffer;
> - struct intel_screen *intelScreen = screen->driverPrivate;
> + struct intel_screen *intelScreen = dri_screen->driverPrivate;
>
> assert(at
+ v.dw = ((uint64_t) iter->p[index+1] << 32 ) | iter->p[index];
Omit the white space after 32.
> + else
> + v.dw = iter->p[index];
> +
> switch (f->type.kind) {
> case GEN_TYPE_UNKNOWN:
> case GEN_TYPE_INT:
> --
> 2.7.4
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
With above comments fixed:
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Tue, Sep 20, 2016 at 3:31 PM, Sirisha Gandikota
wrote:
> From: Sirisha Gandikota
>
> Fixed the way the values that span two Dwords are decoded.
> Based on the start and end indices of the field, the Dwords
> are fetched and decoded accordingly.
>
> v2: rename dw to qw in gen_field_iterator_nex
e, sizeof(iter->value),
> - "0x%08lx", field_address(v.dw, f->start, f->end));
> + "0x%08lx", field_address(v.qw, f->start, f->end));
>break;
> case GEN_TYPE_STRUCT:
>
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index 878308b..5150ef9 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan
Signed-off-by: Anuj Phogat
---
This patch requires below series:
https://patchwork.freedesktop.org/series/12594/
---
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c
b/src/mesa/drivers/dri/i965
Signed-off-by: Anuj Phogat
---
src/intel/isl/isl_surface_state.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/intel/isl/isl_surface_state.c
b/src/intel/isl/isl_surface_state.c
index 1a1a819..b20f767 100644
--- a/src/intel/isl/isl_surface_state.c
+++ b/src/intel/isl
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/anv_blorp.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index cb61070..de33dce 100644
--- a/src/intel/vulkan/anv_blorp.c
+++ b/src/intel/vulkan/anv_blorp.c
@@ -273,6 +273,10
ics spec
for gen7. Also look at gen7_wm_state.c.
>
> On Sep 21, 2016 9:14 PM, "Anuj Phogat" wrote:
>>
>> Signed-off-by: Anuj Phogat
>> ---
>> src/intel/vulkan/gen7_pipeline.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
&
>
> On Wed, Sep 21, 2016 at 11:17:08AM -0700, Anuj Phogat wrote:
>> Signed-off-by: Anuj Phogat
>> ---
>> src/intel/vulkan/anv_blorp.c | 4
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.
V2: Move the check from copy_buffer_to_image() to blorp_copy(). (Nanley)
Signed-off-by: Anuj Phogat
Cc: Nanley Chery
---
src/intel/blorp/blorp_blit.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index
8_viewport_state.c
> b/src/mesa/drivers/dri/i965/gen8_viewport_state.c
> index acaee1a..84000e3 100644
> --- a/src/mesa/drivers/dri/i965/gen8_viewport_state.c
> +++ b/src/mesa/drivers/dri/i965/gen8_viewport_state.c
> @@ -37,8 +37,11 @@ gen8_upload_sf_clip_viewport(struct brw_context *brw)
> const
assert(brw->gen >= 6 && brw->gen <= 9);
> + assert(brw->gen >= 6);
>
> /* Starting on BDW, these pipe controls are unnecessary.
> *
> --
> 2.10.0
>
> ___
> mesa-dev mailing
On Wed, Sep 21, 2016 at 12:49 PM, Anuj Phogat wrote:
> On Wed, Sep 21, 2016 at 11:49 AM, Jason Ekstrand wrote:
>> This seems odd... When can it even happen that we have persample_dispatch
>> set in wm_surface_state and have only one sample? Does this fix a test
>> case?
>
On Thu, Sep 22, 2016 at 5:59 PM, Ilia Mirkin wrote:
> On Wed, Sep 21, 2016 at 2:15 PM, Anuj Phogat wrote:
>> Signed-off-by: Anuj Phogat
>>
>> ---
>> This patch requires below series:
>> https://patchwork.freedesktop.org/series/12594/
>
> FYI, this is n
iewport bounds range [min, max] tuple may be determined by
calling GetFloatv with the symbolic constant VIEWPORT_BOUNDS_RANGE_OES"
I will open a khronos CTS bug to get the test fixed.
V2: Initialize the relevant variables for GL_OES_viewport_array on hsw+
Signed-off-by: Anuj Phogat
Cc: Ilia
Signed-off-by: Anuj Phogat
Cc: Ilia Mirkin
---
src/mesa/main/viewport.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c
index f59723f..bd58044 100644
--- a/src/mesa/main/viewport.c
+++ b/src/mesa/main/viewport.c
@@ -52,7
Signed-off-by: Anuj Phogat
Cc: Ilia Mirkin
---
src/mesa/main/get.c | 6 ++
src/mesa/main/get_hash_params.py | 8
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index e7ebc7f..64a4b0e 100644
--- a/src/mesa/main
On Thu, Sep 29, 2016 at 11:45 AM, Ilia Mirkin wrote:
> 2016-09-29 14:42 GMT-04:00 Anuj Phogat :
>> Signed-off-by: Anuj Phogat
>> Cc: Ilia Mirkin
>> ---
>> src/mesa/main/get.c | 6 ++
>> src/mesa/main/get_hash_params.py | 8
>>
(!_mesa_sampler_uniforms_are_valid(ctx->_Shader->ActiveProgram,
> -errMsg, 100)) {
> - _mesa_error(ctx, GL_INVALID_OPERATION, "%s", errMsg);
> - return GL_FALSE;
> - }
> - }
> -
> - if (ctx->DrawBuffer->_Status != GL_FRAME
Signed-off-by: Anuj Phogat
---
src/intel/genxml/gen75.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 8e18007..b8f5a14 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -1365,7
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen8_pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c
index 030f71e..1abb97c 100644
--- a/src/intel/vulkan/gen8_pipeline.c
+++ b/src/intel/vulkan
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index 8d133b6..f98aef5 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan
Signed-off-by: Anuj Phogat
---
src/mesa/drivers/dri/i965/gen7_vs_state.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen7_vs_state.c
b/src/mesa/drivers/dri/i965/gen7_vs_state.c
index 57e0419..d3bd9fd 100644
--- a/src/mesa/drivers/dri/i965
Signed-off-by: Anuj Phogat
---
src/intel/genxml/gen75.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 1debc3a..8e18007 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -1571,7 +1571,7
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index 9411631..4bab0bc 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan/gen7_pipeline.c
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index 4bab0bc..e804002 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index f98aef5..9411631 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen8_pipeline.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c
index 1abb97c..7a9a3cf 100644
--- a/src/intel/vulkan/gen8_pipeline.c
+++ b/src/intel/vulkan
struct gl_buffer_object *bufObj,
> - GLintptr offset, GLsizeiptr size,
> - const char *caller);
> -
> bool
> _mesa_is_cube_map_texture(GLenum target);
>
> --
> 1.9.1
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Series is:
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Sun, Oct 2, 2016 at 1:59 PM, Kenneth Graunke wrote:
> On Friday, September 30, 2016 3:33:12 PM PDT Anuj Phogat wrote:
>> Signed-off-by: Anuj Phogat
>> ---
>> src/intel/vulkan/gen8_pipeline.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index 9411631..bafee28 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan/gen7_pipeline.c
On Fri, Sep 30, 2016 at 5:03 PM, Jason Ekstrand wrote:
> On Sep 30, 2016 3:34 PM, "Anuj Phogat" wrote:
>>
>> Signed-off-by: Anuj Phogat
>> ---
>> src/intel/vulkan/gen7_pipeline.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>
On Fri, Sep 30, 2016 at 5:02 PM, Jason Ekstrand
wrote:
> On Sep 30, 2016 3:34 PM, "Anuj Phogat" wrote:
>>
>> Signed-off-by: Anuj Phogat
>> ---
>> src/intel/vulkan/gen7_pipeline.c | 4
>> 1 file changed, 4 insertions(+)
>>
>> diff
Signed-off-by: Anuj Phogat
---
src/intel/vulkan/gen7_pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index bafee28..c9d1f64 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan
gt;
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
t == 1)
> + /* XXX: Cherryview and Broxton are always gt1 */
> + else if (devinfo->gt == 1)
>return 4;
>
> else
> --
> 2.10.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lis
201 - 300 of 1807 matches
Mail list logo