Mesa (master): nir/print: fix coverity error
Module: Mesa Branch: master Commit: b65f91dd3285ca0daee658cdf9ac41caaad2f1fb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b65f91dd3285ca0daee658cdf9ac41caaad2f1fb Author: Rob Clark Date: Sun Sep 20 14:02:29 2015 -0400 nir/print: fix coverity error Not something actually hit in real life (now state is never non-null, but only case state->syms is null is if nir_print_instr() path). But it was something I overlooked the first time, so might as well fix it. *** CID 1324642: Null pointer dereferences (REVERSE_INULL) /src/glsl/nir/nir_print.c: 299 in print_var_decl() 293 294 fprintf(fp, " (%s, %u)", loc, var->data.driver_location); 295} 296 297fprintf(fp, "\n"); 298 >>> CID 1324642: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "state" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 299if (state) { 300 _mesa_set_add(state->syms, name); 301 _mesa_hash_table_insert(state->ht, var, name); 302} 303 } 304 Signed-off-by: Rob Clark --- src/glsl/nir/nir_print.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c index 6e86140..a19aa8b 100644 --- a/src/glsl/nir/nir_print.c +++ b/src/glsl/nir/nir_print.c @@ -296,7 +296,7 @@ print_var_decl(nir_variable *var, print_state *state) fprintf(fp, "\n"); - if (state) { + if (state->syms) { _mesa_set_add(state->syms, name); _mesa_hash_table_insert(state->ht, var, name); } ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): i965/vec4/nir: Remove all "this->" snippets
Module: Mesa Branch: master Commit: 6ba291db4ba4f03ac94560eaae861bc162ac838e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ba291db4ba4f03ac94560eaae861bc162ac838e Author: Eduardo Lima Mitev Date: Fri Sep 18 10:30:12 2015 +0200 i965/vec4/nir: Remove all "this->" snippets For consistency, either we have all class members dereferenced, or none. In this case, very few are so lets get rid of them all. Reviewed-by: Timothy Arceri Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 31 ++-- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp index 482fce2..20c063d 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp @@ -58,25 +58,24 @@ vec4_visitor::nir_setup_system_value_intrinsic(nir_intrinsic_instr *instr) unreachable("should be lowered by lower_vertex_id()."); case nir_intrinsic_load_vertex_id_zero_base: - reg = &this->nir_system_values[SYSTEM_VALUE_VERTEX_ID_ZERO_BASE]; + reg = &nir_system_values[SYSTEM_VALUE_VERTEX_ID_ZERO_BASE]; if (reg->file == BAD_FILE) - *reg = -*this->make_reg_for_system_value(SYSTEM_VALUE_VERTEX_ID_ZERO_BASE, - glsl_type::int_type); + *reg = *make_reg_for_system_value(SYSTEM_VALUE_VERTEX_ID_ZERO_BASE, + glsl_type::int_type); break; case nir_intrinsic_load_base_vertex: - reg = &this->nir_system_values[SYSTEM_VALUE_BASE_VERTEX]; + reg = &nir_system_values[SYSTEM_VALUE_BASE_VERTEX]; if (reg->file == BAD_FILE) - *reg = *this->make_reg_for_system_value(SYSTEM_VALUE_BASE_VERTEX, - glsl_type::int_type); + *reg = *make_reg_for_system_value(SYSTEM_VALUE_BASE_VERTEX, + glsl_type::int_type); break; case nir_intrinsic_load_instance_id: - reg = &this->nir_system_values[SYSTEM_VALUE_INSTANCE_ID]; + reg = &nir_system_values[SYSTEM_VALUE_INSTANCE_ID]; if (reg->file == BAD_FILE) - *reg = *this->make_reg_for_system_value(SYSTEM_VALUE_INSTANCE_ID, - glsl_type::int_type); + *reg = *make_reg_for_system_value(SYSTEM_VALUE_INSTANCE_ID, + glsl_type::int_type); break; default: @@ -142,7 +141,7 @@ vec4_visitor::nir_setup_uniforms(nir_shader *shader) } assert(uniforms < uniform_array_size); - this->uniform_size[uniforms] = type_size_vec4(var->type); + uniform_size[uniforms] = type_size_vec4(var->type); if (strncmp(var->name, "gl_", 3) == 0) nir_setup_builtin_uniform(var); @@ -158,7 +157,7 @@ vec4_visitor::nir_setup_uniforms(nir_shader *shader) strcmp(var->name, "parameters") == 0); assert(uniforms < uniform_array_size); - this->uniform_size[uniforms] = type_size_vec4(var->type); + uniform_size[uniforms] = type_size_vec4(var->type); struct gl_program_parameter_list *plist = prog->Parameters; for (unsigned p = 0; p < plist->NumParameters; p++) { @@ -243,10 +242,10 @@ vec4_visitor::nir_setup_builtin_uniform(nir_variable *var) * ParameterValues directly, since unlike brw_fs.cpp, we never * add new state references during compile. */ - int index = _mesa_add_state_reference(this->prog->Parameters, + int index = _mesa_add_state_reference(prog->Parameters, (gl_state_index *)slots[i].tokens); gl_constant_value *values = - &this->prog->Parameters->ParameterValues[index][0]; + &prog->Parameters->ParameterValues[index][0]; assert(uniforms < uniform_array_size); @@ -254,7 +253,7 @@ vec4_visitor::nir_setup_builtin_uniform(nir_variable *var) stage_prog_data->param[uniforms * 4 + j] = &values[GET_SWZ(slots[i].swizzle, j)]; - this->uniform_vector_size[uniforms] = + uniform_vector_size[uniforms] = (var->type->is_scalar() || var->type->is_vector() || var->type->is_matrix() ? var->type->vector_elements : 4); @@ -344,7 +343,7 @@ vec4_visitor::nir_emit_block(nir_block *block) void vec4_visitor::nir_emit_instr(nir_instr *instr) { - this->base_ir = instr; + base_ir = instr; switch (instr->type) { case nir_instr_type_load_const: ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): dri/common: fix gbm-symbols-check regression
Module: Mesa Branch: master Commit: 8f6fd57db2275df8f86a5a173575b7d807508625 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f6fd57db2275df8f86a5a173575b7d807508625 Author: Marcin Ślusarz Date: Sun Sep 20 13:40:10 2015 +0200 dri/common: fix gbm-symbols-check regression Broken by commit c228514c72cb2fd5fb9e510808e29204fc9e7ae1 "dri/common: use sysconfdir when looking for drirc". Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92054 Signed-off-by: Marcin Ślusarz --- src/mesa/drivers/dri/common/Makefile.am |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/Makefile.am b/src/mesa/drivers/dri/common/Makefile.am index ea52cb5..2973a06 100644 --- a/src/mesa/drivers/dri/common/Makefile.am +++ b/src/mesa/drivers/dri/common/Makefile.am @@ -34,7 +34,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/src/gallium/auxiliary \ $(LIBDRM_CFLAGS) \ $(DEFINES) \ - -DSYSCONFDIR=\"$(sysconfdir)\" + -DSYSCONFDIR=\"$(sysconfdir)\" \ $(VISIBILITY_CFLAGS) noinst_LTLIBRARIES = \ ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (10.6): docs: add sha256 checksums for 10.6.8
Module: Mesa Branch: 10.6 Commit: 02387926addc62198c9b684f4f51f7cbe06b3e25 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02387926addc62198c9b684f4f51f7cbe06b3e25 Author: Emil Velikov Date: Sun Sep 20 11:55:41 2015 +0100 docs: add sha256 checksums for 10.6.8 Signed-off-by: Emil Velikov --- docs/relnotes/10.6.8.html |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/relnotes/10.6.8.html b/docs/relnotes/10.6.8.html index b016260..a5abd44 100644 --- a/docs/relnotes/10.6.8.html +++ b/docs/relnotes/10.6.8.html @@ -31,7 +31,8 @@ because compatibility contexts are not supported. SHA256 checksums -TBD +1f34dba2a8059782e3e4e0f18b9628004e253b2c69085f735b846d2e63c9e250 mesa-10.6.8.tar.gz +e36ee5ceeadb3966fb5ce5b4cf18322dbb76a4f075558ae49c3bba94f57d58fd mesa-10.6.8.tar.xz ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (10.6): Update version to 10.6.8
Module: Mesa Branch: 10.6 Commit: 9a4ebbe1ecee0cb1ee1062ba4b448a9c496c03fa URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a4ebbe1ecee0cb1ee1062ba4b448a9c496c03fa Author: Emil Velikov Date: Sun Sep 20 11:05:23 2015 +0100 Update version to 10.6.8 Signed-off-by: Emil Velikov --- VERSION |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 11ffa66..60660e0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.6.7 +10.6.8 ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa: tag mesa-10.6.8: Mesa 10.6.8 release
Module: Mesa Branch: refs/tags/mesa-10.6.8 Tag:16b2b0dac0ddf508fe5cead05a513cb119853ff7 URL: http://cgit.freedesktop.org/mesa/mesa/tag/?id=16b2b0dac0ddf508fe5cead05a513cb119853ff7 Tagger: Emil Velikov Date: Sun Sep 20 11:52:03 2015 +0100 Mesa 10.6.8 release ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): docs: add news item and link release notes for 10.6.8
Module: Mesa Branch: master Commit: 1e01db0fa990a71c3cf1434324bc88bf579c5ee3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1e01db0fa990a71c3cf1434324bc88bf579c5ee3 Author: Emil Velikov Date: Sun Sep 20 11:59:24 2015 +0100 docs: add news item and link release notes for 10.6.8 Signed-off-by: Emil Velikov --- docs/index.html|6 ++ docs/relnotes.html |1 + 2 files changed, 7 insertions(+) diff --git a/docs/index.html b/docs/index.html index b319732..b814a06 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,6 +16,12 @@ News +September 20, 2015 + +Mesa 10.6.8 is released. +This is a bug-fix release. + + September 12, 2015 Mesa 11.0.0 is released. This is a new diff --git a/docs/relnotes.html b/docs/relnotes.html index b7e4464..0a7d572 100644 --- a/docs/relnotes.html +++ b/docs/relnotes.html @@ -21,6 +21,7 @@ The release notes summarize what's new or changed in each Mesa release. +10.6.8 release notes 11.0.0 release notes 10.6.7 release notes 10.6.6 release notes ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): docs: add release notes for 10.6.8
Module: Mesa Branch: master Commit: 72d407da1028beba976beb725f92e294a5d2f256 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72d407da1028beba976beb725f92e294a5d2f256 Author: Emil Velikov Date: Sun Sep 20 11:05:07 2015 +0100 docs: add release notes for 10.6.8 Signed-off-by: Emil Velikov (cherry picked from commit 91c6302734574e91424a7ccb52b6368b712366cc) --- docs/relnotes/10.6.8.html | 135 + 1 file changed, 135 insertions(+) diff --git a/docs/relnotes/10.6.8.html b/docs/relnotes/10.6.8.html new file mode 100644 index 000..b016260 --- /dev/null +++ b/docs/relnotes/10.6.8.html @@ -0,0 +1,135 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + Mesa Release Notes + + + + + + The Mesa 3D Graphics Library + + + + + +Mesa 10.6.8 Release Notes / September 20, 2015 + + +Mesa 10.6.8 is a bug fix release which fixes bugs found since the 10.6.7 release. + + +Mesa 10.6.8 implements the OpenGL 3.3 API, but the version reported by +glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / +glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. +Some drivers don't support all the features required in OpenGL 3.3. OpenGL +3.3 is only available if requested at context creation +because compatibility contexts are not supported. + + + +SHA256 checksums + +TBD + + + +New features +None + +Bug fixes + +This list is likely incomplete. + + + +https://bugs.freedesktop.org/show_bug.cgi?id=90621";>Bug 90621 - Mesa fail to build from git + +https://bugs.freedesktop.org/show_bug.cgi?id=91526";>Bug 91526 - World of Warcraft (on Wine) has UI corruption with nouveau + +https://bugs.freedesktop.org/show_bug.cgi?id=91719";>Bug 91719 - [SNB,HSW,BYT] dEQP regressions associated with using NIR for vertex shaders + + + + +Changes + +Alejandro Piñeiro (1): + + i965/vec4: fill src_reg type using the constructor type parameter + + +Antia Puentes (1): + + i965/vec4: Fix saturation errors when coalescing registers + + +Emil Velikov (2): + + docs: add sha256 checksums for 10.6.7 + cherry-ignore: add commit non applicable for 10.6 + + +Hans de Goede (4): + + nv30: Fix creation of scanout buffers + nv30: Implement color resolve for msaa + nv30: Fix max width / height checks in nv30 sifm code + nv30: Disable msaa unless requested from the env by NV30_MAX_MSAA + + +Ian Romanick (2): + + mesa: Pass the type to _mesa_uniform_matrix as a glsl_base_type + mesa: Don't allow wrong type setters for matrix uniforms + + +Ilia Mirkin (5): + + st/mesa: don't fall back to 16F when 32F is requested + nvc0: always emit a full shader colormask + nvc0: remove BGRA4 format support + st/mesa: avoid integer overflows with buffers >= 512MB + nv50, nvc0: fix max texture buffer size to 128M elements + + +Jason Ekstrand (1): + + i965/vec4: Don't reswizzle hardware registers + + +Jose Fonseca (1): + + gallivm: Workaround LLVM PR23628. + + +Kenneth Graunke (1): + + i965: Momentarily pretend to support ARB_texture_stencil8 for blits. + + +Oded Gabbay (1): + + llvmpipe: convert double to long long instead of unsigned long long + + +Ray Strode (1): + + gbm: convert gbm bo format to fourcc format on dma-buf import + + +Ulrich Weigand (1): + + mesa: Fix texture compression on big-endian systems + + +Vinson Lee (1): + + gallivm: Do not use NoFramePointerElim with LLVM 3.7. + + + + + + ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (master): docs: add sha256 checksums for 10.6.8
Module: Mesa Branch: master Commit: 278a32374c8451129c004adcc13fe368e4f4e708 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=278a32374c8451129c004adcc13fe368e4f4e708 Author: Emil Velikov Date: Sun Sep 20 11:55:41 2015 +0100 docs: add sha256 checksums for 10.6.8 Signed-off-by: Emil Velikov (cherry picked from commit 02387926addc62198c9b684f4f51f7cbe06b3e25) --- docs/relnotes/10.6.8.html |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/relnotes/10.6.8.html b/docs/relnotes/10.6.8.html index b016260..a5abd44 100644 --- a/docs/relnotes/10.6.8.html +++ b/docs/relnotes/10.6.8.html @@ -31,7 +31,8 @@ because compatibility contexts are not supported. SHA256 checksums -TBD +1f34dba2a8059782e3e4e0f18b9628004e253b2c69085f735b846d2e63c9e250 mesa-10.6.8.tar.gz +e36ee5ceeadb3966fb5ce5b4cf18322dbb76a4f075558ae49c3bba94f57d58fd mesa-10.6.8.tar.xz ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit
Mesa (10.6): docs: add release notes for 10.6.8
Module: Mesa Branch: 10.6 Commit: 91c6302734574e91424a7ccb52b6368b712366cc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91c6302734574e91424a7ccb52b6368b712366cc Author: Emil Velikov Date: Sun Sep 20 11:05:07 2015 +0100 docs: add release notes for 10.6.8 Signed-off-by: Emil Velikov --- docs/relnotes/10.6.8.html | 135 + 1 file changed, 135 insertions(+) diff --git a/docs/relnotes/10.6.8.html b/docs/relnotes/10.6.8.html new file mode 100644 index 000..b016260 --- /dev/null +++ b/docs/relnotes/10.6.8.html @@ -0,0 +1,135 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + Mesa Release Notes + + + + + + The Mesa 3D Graphics Library + + + + + +Mesa 10.6.8 Release Notes / September 20, 2015 + + +Mesa 10.6.8 is a bug fix release which fixes bugs found since the 10.6.7 release. + + +Mesa 10.6.8 implements the OpenGL 3.3 API, but the version reported by +glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / +glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. +Some drivers don't support all the features required in OpenGL 3.3. OpenGL +3.3 is only available if requested at context creation +because compatibility contexts are not supported. + + + +SHA256 checksums + +TBD + + + +New features +None + +Bug fixes + +This list is likely incomplete. + + + +https://bugs.freedesktop.org/show_bug.cgi?id=90621";>Bug 90621 - Mesa fail to build from git + +https://bugs.freedesktop.org/show_bug.cgi?id=91526";>Bug 91526 - World of Warcraft (on Wine) has UI corruption with nouveau + +https://bugs.freedesktop.org/show_bug.cgi?id=91719";>Bug 91719 - [SNB,HSW,BYT] dEQP regressions associated with using NIR for vertex shaders + + + + +Changes + +Alejandro Piñeiro (1): + + i965/vec4: fill src_reg type using the constructor type parameter + + +Antia Puentes (1): + + i965/vec4: Fix saturation errors when coalescing registers + + +Emil Velikov (2): + + docs: add sha256 checksums for 10.6.7 + cherry-ignore: add commit non applicable for 10.6 + + +Hans de Goede (4): + + nv30: Fix creation of scanout buffers + nv30: Implement color resolve for msaa + nv30: Fix max width / height checks in nv30 sifm code + nv30: Disable msaa unless requested from the env by NV30_MAX_MSAA + + +Ian Romanick (2): + + mesa: Pass the type to _mesa_uniform_matrix as a glsl_base_type + mesa: Don't allow wrong type setters for matrix uniforms + + +Ilia Mirkin (5): + + st/mesa: don't fall back to 16F when 32F is requested + nvc0: always emit a full shader colormask + nvc0: remove BGRA4 format support + st/mesa: avoid integer overflows with buffers >= 512MB + nv50, nvc0: fix max texture buffer size to 128M elements + + +Jason Ekstrand (1): + + i965/vec4: Don't reswizzle hardware registers + + +Jose Fonseca (1): + + gallivm: Workaround LLVM PR23628. + + +Kenneth Graunke (1): + + i965: Momentarily pretend to support ARB_texture_stencil8 for blits. + + +Oded Gabbay (1): + + llvmpipe: convert double to long long instead of unsigned long long + + +Ray Strode (1): + + gbm: convert gbm bo format to fourcc format on dma-buf import + + +Ulrich Weigand (1): + + mesa: Fix texture compression on big-endian systems + + +Vinson Lee (1): + + gallivm: Do not use NoFramePointerElim with LLVM 3.7. + + + + + + ___ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit