These declarations will help the code start compiling
once we wire up the makefiles for gen10. Later patches
will start using these functions for gen10.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/isl/isl_priv.h | 12
src/mesa/drivers/dr
Note: This patch is untested.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/Android.genxml.mk | 5 +
src/intel/Android.isl.mk | 20
src/intel/Android.vulkan.mk | 21 +
src/mesa/drivers/dr
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/genxml/genX_pack.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/intel/genxml/genX_pack.h b/src/intel/genxml/genX_pack.h
index 2ec2226..187e75c 100644
--- a/src/intel/genxml/genX_pack.h
+++ b/src/intel/genxml/genX_
intel.com>
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/common/gen_device_info.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/intel/common/gen_device_info.c
b/src/intel/common/gen_device_info.c
index 209b293..47aed9d 1
fields to match gen9.xml
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/genxml/gen10.xml | 3563
1 file changed, 3563 insertions(+)
create mode 100644 src/intel/genxml/gen10.xml
diff --git a/src/intel/genxml/gen10.xml b/src/intel/genx
From: Ben Widawsky <benjamin.widaw...@intel.com>
v2 (Anuj):
Rebased on master and updated pci ids
Remove redundant initialization of max_wm_threads to 64 * 12.
For gen9+ max_wm_threads are initialized in gen_get_device_info().
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
Signed
patches, dropped few and created new patches.
What's remaining:
- Add missing gen10 bits in Vulkan driver.
- Fix failing piglit, cts tests for GL and Vulkan.
You can also find this series at:
https://github.com/aphogat/mesa.git
branch: reviews
Anuj Phogat (18):
i965/cnl: Define genX(x) and GENX
We are still using some gen9 functions for gen10 in this patch.
They will be replaced by gen10 functions in later patches.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/common/gen_l3_config.c| 1 +
src/intel/compiler/brw_eu.c | 2 ++
src
but I'm
> admittedly stumbling my way through some of the l3 programming.
>
> Anuj Phogat <anuj.pho...@gmail.com> writes:
>>
>> From: Ben Widawsky <benjamin.widaw...@intel.com>
>>>
>>> V2: Squash the changes in one patch and rebased on master (Anuj)
On Mon, Apr 24, 2017 at 10:57 PM, Ben Widawsky <b...@bwidawsk.net> wrote:
> On 17-04-15 18:27:33, Jason Ekstrand wrote:
>
>> On April 14, 2017 5:37:55 PM Anuj Phogat <anuj.pho...@gmail.com> wrote:
>>
>> From: Ben Widawsky <b...@bwidawsk.net>
>>&
but I'm
> admittedly stumbling my way through some of the l3 programming.
Yes, unrelated changes are due to bad rebase. I'll fix them in V2.
>
>
> Anuj Phogat <anuj.pho...@gmail.com> writes:
>>
>> From: Ben Widawsky <benjamin.widaw...@intel.com>
>>>
&
On Thu, Apr 20, 2017 at 9:55 AM, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> Hi Anuj,
>
> On 15 April 2017 at 01:35, Anuj Phogat <anuj.pho...@gmail.com> wrote:
>> From: Jason Ekstrand <jason.ekstr...@intel.com>
>>
>> Signed-off-by: Anuj Phogat
On Sun, Apr 16, 2017 at 8:32 PM, Jason Ekstrand <ja...@jlekstrand.net> wrote:
> On Fri, Apr 14, 2017 at 5:35 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote:
>>
>> From: Jason Ekstrand <jason.ekstr...@intel.com>
>>
>> Signed-off-by: Anuj Phogat
From: Ben Widawsky
Signed-off-by: Ben Widawsky
---
src/mesa/drivers/dri/i965/brw_defines.h | 1 +
src/mesa/drivers/dri/i965/gen8_vs_state.c | 6 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git
From: Ben Widawsky <benjamin.widaw...@intel.com>
V2: Squash the changes in one patch and rebased on master (Anuj).
Signed-off-by: Ben Widawsky <b...@bwidawsk.net>
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/common/ge
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_program.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri/i965/brw_program.c
index e1f9896..ab719ad 100644
--- a/sr
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_blorp.c| 7 ++-
src/mesa/drivers/dri/i965/brw_defines.h | 8
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 ++
3 files changed, 16 insertions(+), 1 deletion(-)
diff
v1: By Ben Widawsky <benjamin.widaw...@intel.com>
v2: Add the restriction for GS, HS and DS and make sure
the allocated sizes are not multiple of 3.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
Cc: Ben Widawsky <benjamin.widaw...@intel.com>
---
src/mesa/drivers/dri/i9
From: Ben Widawsky
Signed-off-by: Ben Widawsky
---
src/mesa/drivers/dri/i965/brw_queryobj.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c
b/src/mesa/drivers/dri/i965/brw_queryobj.c
From: Ben Widawsky
This support was removed on gen9 (it worked before then) and was brought back
for gen10.
Signed-off-by: Ben Widawsky
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
ed-off-by: Ben Widawsky <benjamin.widaw...@intel.com>
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
include/pci_ids/i965_pci_ids.h | 12 ++
src/intel/common/gen_device_info.c | 59 +
src/intel/common/gen_device_info.h
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/genxml/gen_bits_header.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/intel/genxml/gen_bits_header.py
b/src/intel/genxml/gen_bits_header.py
index 808e6cf..77cd966 100644
--- a/src/intel/
This series adds a preliminary support for Cannonlake. We
still end up using gen9 paths in many cases. My upcoming
patches will change it by creating new functions, headers
for gen10. You can also find this series at:
https://github.com/aphogat/mesa.git
branch: reviews
Anuj Phogat (4):
i965
From: Ben Widawsky
GEN10 requires flushing all previous pipe controls before issuing a render
target cache flush. The docs seem to fairly explicitly say this is gen10 only.
v2: Rebased on
commit 04f74d66293222d5e1905cfb930bfa083e30463c
Author: Francisco Jerez
intel.com>
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/intel/common/gen_device_info.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/intel/common/gen_device_info.c
b/src/intel/common/gen_device_info.c
index 209b293..47aed9d 1
NULL && rb !=
> }
>
>
> --
> 2.12.2
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
&&
> + srcs[TEX_LOGICAL_SRC_LOD].file == BAD_FILE) {
> + srcs[TEX_LOGICAL_SRC_LOD] = brw_imm_ud(0u);
> + }
> +
> if (instr->op == nir_texop_tg4) {
>if (instr->component == 1 &&
>key_tex->gather_channel_quirk_mask & (1 << te
Hi,
The default branch is 'master' when you clone the Mesa git repository
and that's what we use for development. Branches other than master
are for stable releases, proof of concept and developer's choice.
-Anuj
On Wed, Mar 22, 2017 at 10:44 AM, swapnil wrote:
> Hi,
>
> I
Yf/Ys tiling never got used in i965 due to not delivering
the expected performance benefits. So, this patch is deleting
this dead code in favor of adding it later in ISL when we
actually find it useful. ISL can then share this code between
vulkan and GL.
Signed-off-by: Anuj Phogat <anuj.
"start pixel for
Fast Copy blit should be on an OWord boundary". This restriction
causes many blit operations to skip fast copy blit and use legacy
blits. So, this patch is deleting this dead code in favor of
adding it later when we actually find it useful.
Signed-off-by: Anuj Phogat
rn surf;
> }
>
> --
> 2.12.0
>
> _______
> mesa-stable mailing list
> mesa-sta...@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
__
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
LGTM. Series is:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_blorp.c| 2 +-
src/mesa/drivers/dri/i965/brw_context.c | 2 +-
src/mesa/drivers/dri/i965/brw_meta_util.c| 2 +-
src/mesa/drivers/dri/i965/brw_state.h| 2 +-
sr
if (brw_format == 0 && format != MESA_FORMAT_RGBA_FLOAT32) {
>_mesa_problem(NULL, "bad format %s for texture buffer\n",
> _mesa_get_format_name(format));
> --
> 2.11.1
>
> ___
> mesa-dev ma
char *caller)
> {
> const struct gl_renderbuffer_attachment *att;
> - bool is_color_attachment;
> + bool is_color_attachment = false;
> GLenum err;
>
> /* The error code for an attachment type of GL_NONE differs between APIs.
> --
> 2.11.0.453.g787f75f05
>
Review
ENTRY_READ_OFFSET 1
> -
> -
> struct brw_clip_prog_data {
> GLuint curb_read_length;/* user planes? */
> GLuint clip_mode;
> --
> 2.5.0.400.gff86faf
>
> ___
> mesa-dev mailing list
&g
On Tue, Feb 28, 2017 at 9:03 PM, Jason Ekstrand wrote:
> This isn't used by Vulkan and is specific to the way the GL driver
> works. There's no reason to have it in common compiler code. Also, it
> relies on BRW_MAX_* defines which are defined in brw_context.h
> ---
>
p
> +++ b/src/mesa/drivers/dri/i965/brw_vec4_tes.cpp
> @@ -29,7 +29,7 @@
>
> #include "brw_vec4_tes.h"
> #include "brw_cfg.h"
> -#include "intel_debug.h"
> +#include "common/gen_debug.h"
>
> namespace brw {
>
> diff --git a
0);
> + }
> +
> void process_version_directive(YYLTYPE *locp, int version,
> const char *ident);
>
> --
> 2.11.1
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
&
ed(ctx)) {
>_mesa_error(ctx, GL_INVALID_OPERATION,
>"%s(transform feedback active)", caller);
> --
> 2.11.0.483.g087da7b7c-goog
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freed
Passes the newly added piglit test for this extension on i965.
V2: Fix comments by Ilia.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/compiler/glsl/builtin_variables.cpp | 3 +++
src/compiler/glsl/glsl_parser_extras.cpp | 1 +
src/compiler/glsl/glsl_parser_extras.h | 2 +
On Fri, Feb 10, 2017 at 1:38 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Fri, Feb 10, 2017 at 4:36 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote:
>> On Fri, Feb 10, 2017 at 1:21 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
>>> On Fri, Feb 10, 20
On Fri, Feb 10, 2017 at 1:21 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Fri, Feb 10, 2017 at 4:15 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote:
>> Passes the newly added piglit test for this extension on i965.
>>
>> Signed-off-by: Anuj Phogat <anuj.pho.
Passes the newly added piglit test for this extension on i965.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
A quick look at other drivers didn't show any issues with
this new extension. Let me know if you think it won't work
for any driver.
---
docs/featur
goto fail;
> }
>
> - ralloc_free(filename);
> + free(filename);
> close(fd);
>
> if (size)
> @@ -776,7 +775,7 @@ disk_cache_get(struct disk_cache *cache, cache_key key,
> size_t *size)
> if (data)
>free(dat
>
> _mesa_clear_shader_program_data(ctx, prog);
>
> - prog->data->LinkStatus = GL_TRUE;
> + prog->data->LinkStatus = linking_success;
>
> for (i = 0; i < prog->NumShaders; i++) {
>if (!prog->Shaders[i]->CompileStatus) {
> @@ -3110,7 +3110,7 @@ _mesa_glsl_link_shader(struct gl_context *ctx, struct
> gl_shader_program *prog)
>
> if (prog->data->LinkStatus) {
>if (!ctx->Driver.LinkShader(ctx, prog)) {
> - prog->data->LinkStatus = GL_FALSE;
> + prog->data->LinkStatus = linking_failure;
>}
> }
>
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> index 77a51d5..5a65f32 100644
> --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> @@ -588,7 +588,7 @@ fail_link(struct gl_shader_program *prog, const char
> *fmt, ...)
> ralloc_vasprintf_append(>data->InfoLog, fmt, args);
> va_end(args);
>
> - prog->data->LinkStatus = GL_FALSE;
> + prog->data->LinkStatus = linking_failure;
> }
>
> static int
> --
> 2.9.3
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Patches 1-4 are:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Mon, Feb 6, 2017 at 7:42 PM, Timothy Arceri wrote:
> From: Timothy Arceri
>
> This uses disk_cache.c to write out a serialization of various
> state that's required in order to successfully load and use a
> binary written out by a drivers
On Mon, Feb 6, 2017 at 7:42 PM, Timothy Arceri wrote:
> From: Timothy Arceri
>
> This initially adds support for simple uniforms and varyings.
> ---
> src/compiler/glsl/shader_cache.cpp | 121
> +
> 1 file
On Mon, Feb 6, 2017 at 7:42 PM, Timothy Arceri wrote:
> From: Carl Worth
>
> The three additional tables are AttributeBindings, FragDataBindings,
> and FragDataIndexBindings.
>
> The first table (AttributeBindings) was identified as missing by
> trying
On Mon, Feb 6, 2017 at 7:42 PM, Timothy Arceri wrote:
> From: Timothy Arceri
>
> This uses disk_cache.c to write out a serialization of various
> state that's required in order to successfully load and use a
> binary written out by a drivers
T_MATRIX_STACK_DEPTH_ARB:
> diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c
> index 1cb06c7..2582323 100644
> --- a/src/mesa/main/readpix.c
> +++ b/src/mesa/main/readpix.c
> @@ -1033,8 +1033,8 @@ _mesa_ReadnPixelsARB( GLint x, GLint y, GLsizei width,
> GLsizei height,
_memory_barrier("__intrinsic_memory_barrier_shared",
> --
> 2.9.3
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Cross checked the GLSL 4.5 spec. Please add:
Cc: 17.0 <mesa-sta...@lists.freedesktop.org>
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Thu, Feb 2, 2017 at 9:52 AM, Jason Ekstrand <ja...@jlekstrand.net> wrote:
> Cc: Anuj Phogat <anuj.pho...@gmail.com>
> ---
> src/intel/isl/isl_format.c | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_for
GE_CCS_E;
> }
> }
>}
> --
> 2.5.0.400.gff86faf
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Patch v2 3/5] and rest of the series is:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Thu, Feb 2, 2017 at 9:03 AM, Jason Ekstrand <ja...@jlekstrand.net> wrote:
> On Wed, Feb 1, 2017 at 4:07 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote:
>>
>> On Wed, Feb 1, 2017 at 2:40 PM, Jason Ekstrand <ja...@jlekstrand.net>
>> wrote:
>> > N
On Wed, Feb 1, 2017 at 2:40 PM, Jason Ekstrand wrote:
> Nothing uses this yet but it serves as a nice bit of documentation
> that's relatively easy to find.
> ---
> src/intel/isl/isl.h| 2 ++
> src/intel/isl/isl_format.c | 15 +++
> 2 files changed, 17
docs. While
> we haven't been getting hangs or anything, we should probably obey the
> docs. This commit just sanitizes all render swizzles so that the alpha
> channel maps to ALPHA.
>
> Cc: Anuj Phogat <anuj.pho...@gmail.com>
> ---
> src/intel/vulkan/anv_blo
get, this field MUST be programmed to
> + *value = SCS_ALPHA."
> + */
> + assert(info->view->swizzle.a == ISL_CHANNEL_SELECT_ALPHA);
> + }
> s.ShaderChannelSelectRed = info->view->swizzle.r;
> s.ShaderChannelSelectGreen = info-&
;.tessellation = true,
> + .draw_parameters = true,
> };
>
> nir_function *entry_point =
> --
> 2.11.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Series is doing wha
ab5..66a954f 100644
> --- a/src/compiler/glsl/glsl_parser_extras.h
> +++ b/src/compiler/glsl/glsl_parser_extras.h
> @@ -348,6 +348,7 @@ struct _mesa_glsl_parse_state {
> } supported_versions[16];
>
> bool es_shader;
> + bool compat_shader;
> unsigned language_version;
> unsigned forced_language_version;
> bool zero_init;
> --
> 2.10.2
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
LGTM.
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
t struct gen_device_info
> *devinfo,
> return 0;
>}
> } else {
> + assert(desc->nsrc < 4);
>return desc->nsrc;
> }
>
> --
> 2.11.0.453.g787f75f05
>
> ___
> mesa-dev mailing
t get here.");
> --
> 2.11.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Verified the restriction from PRM. Patch looks good to me.
Reviewed-by: Anu
;
> + }
>break;
> case SpvBuiltInFragDepth:
>*location = FRAG_RESULT_DEPTH;
> --
> 2.7.4
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/l
invalid buffer %s)",
> + caller, _mesa_enum_to_string(buffers[output]));
> +return;
> + }
>}
>
>/* Section 4.2 (Whole Framebuffer Operations) of the OpenGL ES 3.0
> --
> 2.9.3
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
With above comments fixed, both patches are:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c
b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index bf8c338..2f4837e
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 3 ++-
1 file changed, 2 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 768f8a8..bf8c338 100644
---
It's harmless to use ALIGN_NPOT() for uncompressed formats
because they have block width/height = 1.
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/sr
__
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Looks reasonable to me.
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Mon, Jan 2, 2017 at 12:45 AM, Pohjolainen, Topi
<topi.pohjolai...@gmail.com> wrote:
> On Thu, Dec 29, 2016 at 11:55:37AM -0800, Anuj Phogat wrote:
>> On Tue, Dec 20, 2016 at 6:45 AM, Topi Pohjolainen
>> <topi.pohjolai...@gmail.com> wrote:
>> > Signed-off
n false;
> --
> 2.11.0
>
> _______
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Tue, Dec 20, 2016 at 6:45 AM, Topi Pohjolainen
wrote:
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_tex.h | 8 +
> src/mesa/drivers/dri/i965/intel_tex_subimage.c | 194
> +
eFamilyProperties = (VkQueueFamilyProperties) {
>.queueFlags = VK_QUEUE_GRAPHICS_BIT |
> --
> 2.11.0
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-
xt *ctx,
> + GLenum gl_format, GLenum type);
> +
> extern bool
> _mesa_is_es3_color_renderable(GLenum internal_format);
>
> --
> 2.5.5
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
wm_prog_key(_key);
> wm_key.tex.compressed_multisample_layout_mask =
> --
> 2.5.5
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Patches 1-3 are:
Reviewed-by: Anuj Phogat <anuj.pho...
On Tue, Dec 20, 2016 at 6:45 AM, Topi Pohjolainen
wrote:
>
> Signed-off-by: Topi Pohjolainen
> ---
> src/mesa/drivers/dri/i965/intel_tex_image.c| 24 +++-
> src/mesa/drivers/dri/i965/intel_tex_subimage.c | 19
return true;
> }
> --
> 2.10.2
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
}
>
>
> --
> 2.11.0.rc2
>
> ___
> mesa-stable mailing list
> mesa-sta...@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
For both patches:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.co
On Wed, Dec 7, 2016 at 3:38 AM, Alejandro Piñeiro <apinhe...@igalia.com> wrote:
>
>
> On 07/12/16 09:36, Alejandro Piñeiro wrote:
>> On 06/12/16 22:26, Anuj Phogat wrote:
>>> On Tue, Dec 6, 2016 at 10:58 AM, Alejandro Piñeiro <apinhe...@igalia.com>
>>>
On Tue, Dec 6, 2016 at 4:26 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote:
> On Tue, Dec 6, 2016 at 10:58 AM, Alejandro Piñeiro <apinhe...@igalia.com>
> wrote:
>> The FIXME suggest that the check should be removed.
>>
> Only if we see any performance or feature
On Tue, Dec 6, 2016 at 10:58 AM, Alejandro Piñeiro wrote:
> The FIXME suggest that the check should be removed.
>
Only if we see any performance or feature benefits in doing that.
Last I checked I didn't see any performance benefits on Skylake.
I also couldn't figure out the
nsigned max_output_size_bytes = GEN7_MAX_GS_URB_ENTRY_SIZE_BYTES;
> if (compiler->devinfo->gen == 6)
>max_output_size_bytes = GEN6_MAX_GS_URB_ENTRY_SIZE_BYTES;
> --
> 2.10.2
>
> ___
> mesa-dev mailing list
&g
a_end(ctx);
> -
> -cleanup:
> - _mesa_DeleteTextures(1, _view_texture);
> -
> - /* If we got a renderbuffer source, delete the temporary texture */
> - if (src_renderbuffer && src_tex_image)
> - ctx->Driver.DeleteTexture(ctx, src_tex_image->TexObject);
> -
> - return success;
> -}
> diff --git a/src/mesa/drivers/dri/i965/intel_copy_image.c
> b/src/mesa/drivers/dri/i965/intel_copy_image.c
> index 56eaed6..85585c7 100644
> --- a/src/mesa/drivers/dri/i965/intel_copy_image.c
> +++ b/src/mesa/drivers/dri/i965/intel_copy_image.c
> @@ -183,16 +183,6 @@ intel_copy_image_sub_data(struct gl_context *ctx,
> struct intel_mipmap_tree *src_mt, *dst_mt;
> unsigned src_level, dst_level;
>
> - if (brw->gen < 6 &&
> - _mesa_meta_CopyImageSubData_uncompressed(ctx,
> -src_image, src_renderbuffer,
> -src_x, src_y, src_z,
> -dst_image, dst_renderbuffer,
> -dst_x, dst_y, dst_z,
> -src_width, src_height)) {
> - return;
> - }
> -
> if (src_image) {
>src_mt = intel_texture_image(src_image)->mt;
>src_level = src_image->Level + src_image->TexObject->MinLevel;
> --
> 2.5.0.400.gff86faf
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Series is:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE],
> cp, );
>(void) success;
>assert(success);
> --
> 2.10.2
>
> ___
> mesa-stable mailing list
> mesa-sta.
tencil.c
> index e49103c..9a6c9e0 100644
> --- a/src/mesa/drivers/dri/i965/gen8_wm_depth_stencil.c
> +++ b/src/mesa/drivers/dri/i965/gen8_wm_depth_stencil.c
> @@ -90,7 +90,7 @@ gen8_upload_wm_depth_stencil(struct brw_context *brw)
> GEN8_WM_DS_DEPTH_TEST_ENABLE |
> FUNC(ctx->Depth.Func) << GEN8_WM_DS_DEPTH_FUNC_SHIFT;
>
> - if (ctx->Depth.Mask)
> + if (brw_depth_writes_enabled(brw))
> dw1 |= GEN8_WM_DS_DEPTH_BUFFER_WRITE_ENABLE;
> }
>
> --
> 2.10.2
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Awesome. The changes look good to me.
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
tel(R) HD Graphics 620 (Kabylake GT2)")
>
>
>> CHIPSET(0x591A, kbl_gt2, "Intel(R) Kabylake GT2")
>> CHIPSET(0x591B, kbl_gt2, "Intel(R) Kabylake GT2")
>> CHIPSET(0x591D, kbl_gt2, "Intel(R) Kabylake GT2")
>> --
>> 2.10.2
>>
>
(dev) || \
> --
> 2.10.2
>
> ___
> Intel-gfx mailing list
> intel-...@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
IDs cross checked in graphics specs.
Reviewed-by: Anuj Phogat <anuj.pho...@gmai
On Tue, Nov 8, 2016 at 1:21 PM, Jason Ekstrand wrote:
> The precision of our trig instructions instructions appears to have been
>
s/instructions instructions/instructions
> fixed on Kaby Lake. Neither Ben nor I can find any documentation for this.
> However, the dEQP
S; i++) {
>struct gl_program_constants *prog = >Const.Program[i];
> --
> 2.10.2
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Both patches are:
Revi
pped vertically
> with respect to the value expected by the GL, so we need to give it
> the same treatment as gl_FragCoord. Fixes the following CTS tests on
> i965:
Makes sense.
Reviewed-by: Anuj Phogat <anuj.pho.
buf2 failed: %m");
> + return vk_errorf(VK_ERROR_DEVICE_LOST, "execbuf2 failed: %m");
>}
> }
>
> --
> 2.5.0.400.gff86faf
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
p.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Series is:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
CH(0);
> - OUT_BATCH(0);
> - OUT_BATCH(0);
> - OUT_BATCH(0);
> - ADVANCE_BATCH();
> -
> - BEGIN_BATCH(2);
> - OUT_BATCH(_3DSTATE_WM_CHROMAKEY << 16 | (2 - 2));
> - OUT_BATCH(0);
> - ADVANCE_BATCH();
> -}
> -
> -const struct brw_tracked_state gen8_disable_stages = {
> -
@@ static const struct brw_tracked_state
> *gen7_render_atoms[] =
> _polygon_stipple_offset,
>
> _line_stipple,
> - _aa_line_parameters,
>
> _drawing_rect,
>
> @@ -360,7 +357,6 @@ static const struct brw_tracked_state
> *gen8_render_atoms[] =
>
+ }
> + OUT_BATCH(0x); /* white, but only alpha gets written */
> + ADVANCE_BATCH_TILED(dst_y_tiled, false);
> + }
> }
> - OUT_BATCH(0x); /* white, but only alpha gets written */
> - ADVANCE_BATCH_TILED(dst_y_tiled, false);
>
> brw_emit_mi_flush(brw);
> }
> --
> 2.5.0.400.gff86faf
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Series is:
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
ray->Size * _mesa_sizeof_type(array->Type);
> }
> @@ -140,7 +140,7 @@ check_flush( struct copy_context *copy )
> */
> static void
> dump_draw_info(struct gl_context *ctx,
> - const struct gl_client_array **arrays,
> +
On Tue, Oct 25, 2016 at 4:36 PM, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> On Tue, Oct 25, 2016 at 7:09 PM, Anuj Phogat <anuj.pho...@gmail.com> wrote:
>> Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
>> ---
>> src/mesa/drivers/dri/i965/brw_wm.c
On Tue, Oct 25, 2016 at 5:14 PM, Brian Paul <bri...@vmware.com> wrote:
> On 10/25/2016 04:09 PM, Anuj Phogat wrote:
>>
>> Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
>> ---
>> src/mesa/main/framebuffer.c | 7 +++
>> src/mesa/main/f
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/main/framebuffer.c | 9 +
src/mesa/main/framebuffer.h | 3 +++
2 files changed, 12 insertions(+)
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index f19f3af..3aff102 100644
--- a/src/mes
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/main/framebuffer.c | 7 +++
src/mesa/main/framebuffer.h | 3 +++
2 files changed, 10 insertions(+)
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index e1505fa..f19f3af 100644
--- a/src/mes
Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
---
src/mesa/drivers/dri/i965/brw_wm.c | 4 ++--
src/mesa/drivers/dri/i965/gen6_wm_state.c| 5 +++--
src/mesa/drivers/dri/i965/gen7_wm_state.c| 5 +++--
src/mesa/drivers/dri/i965/gen8_depth_state.c | 4 ++--
4 files chang
301 - 400 of 1770 matches
Mail list logo