The "gen_group_get_length" function can return a negative value
and it can lead to the out of bounds group_iter.
Signed-off-by: Andrii Simiklit
---
src/intel/common/gen_decoder.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/intel/common/gen_decoder.c b
the difference between GL_TEXTURE_2D and GL_TEXTURE_RECTANGLE
doesn't matter as far as the miptree is concerned;
genX(update_sampler_state) only looks at the
gl_texture_object and not the miptree when determining whether or
not to use normalized coordinates.
Signed-off-by: Andrii Sim
.
Signed-off-by: Andrii Simiklit
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105399
---
src/intel/compiler/gen6_gs_visitor.cpp | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/intel/compiler/gen6_gs_visitor.cpp
b/src/intel
but according to the specification
SNB Volume 2 Part 1: 1.6.5.3, 1.6.5.6
the ILK must behave itself in the similar way)
v2: Approach to fix this issue was changed.
Instead of different EOT flags in the program end
we will create VUE every time even if GS produces no output.
Signed-off-by: Andrii
://bugs.freedesktop.org/show_bug.cgi?id=105399
Signed-off-by: Andrii Simiklit
---
src/intel/compiler/gen6_gs_visitor.cpp | 88 +-
1 file changed, 23 insertions(+), 65 deletions(-)
diff --git a/src/intel/compiler/gen6_gs_visitor.cpp
b/src/intel/compiler
but according to the specification
SNB Volume 2 Part 1: 1.6.5.3, 1.6.5.6
the ILK must behave itself in the similar way)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105399
Signed-off-by: Andrii Simiklit
---
src/intel/compiler/gen6_gs_visitor.cpp | 56
but according to specification
https://01.org/sites/default/files/documentation/snb_ihd_os_vol2_part1_0.pdf
sections: 1.6.5.3, 1.6.5.6
the ILK must behave itself in the similar way)
Signed-off-by: Andrii Simiklit
---
src/intel/compiler/gen6_gs_visitor.cpp | 53