<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Yeah, already done so.<br>
<br>
Regards,<br>
Christian.<br>
<br>
Am 18.07.2016 um 19:17 schrieb Nayan Deshmukh:<br>
</div>
<blockquote
cite="mid:CAFd4ddwGpeYnK+K2y7MtCGhFeKvp6KXLCZiwVYDVaARpOMXNHQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Guys,
<div><br>
</div>
<div>I don't have the push access. Can anyone please push the
patch.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Nayan.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 14, 2016 at 10:36 AM, Nayan
Deshmukh <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nayan26deshmukh@gmail.com" target="_blank">nayan26deshmukh@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<pre style="overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:14.3px;color:rgb(51,51,51);word-wrap:break-word;border:0px;border-radius:0px"><span>Reviewed-by: Nayan Deshmukh <<a moz-do-not-send="true" href="mailto:nayan26deshmukh@gmail.com" target="_blank">nayan26deshmukh@gmail.com</a>></span></pre>
<div>
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Jul 14, 2016 at
3:20 AM, Eric Engestrom <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:eric@engestrom.ch"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:eric@engestrom.ch">eric@engestrom.ch</a></a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"><span>CovID: 1363008<br>
Signed-off-by: Eric Engestrom <<a
moz-do-not-send="true"
href="mailto:eric@engestrom.ch"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:eric@engestrom.ch">eric@engestrom.ch</a></a>><br>
---<br>
<br>
</span>v2: avoid using malloc() altogether
(Christian König)<br>
<br>
---<br>
src/gallium/auxiliary/vl/vl_bicubic_filter.c |
8 +-------<br>
1 file changed, 1 insertion(+), 7 deletions(-)<br>
<br>
diff --git
a/src/gallium/auxiliary/vl/vl_bicubic_filter.c
b/src/gallium/auxiliary/vl/vl_bicubic_filter.c<br>
index 25bc58c..51a0019 100644<br>
---
a/src/gallium/auxiliary/vl/vl_bicubic_filter.c<br>
+++
b/src/gallium/auxiliary/vl/vl_bicubic_filter.c<br>
@@ -242,7 +242,7 @@
vl_bicubic_filter_init(struct vl_bicubic_filter
*filter, struct pipe_context *pi<br>
{<br>
struct pipe_rasterizer_state rs_state;<br>
struct pipe_blend_state blend;<br>
- struct vertex2f *offsets = NULL;<br>
+ struct vertex2f offsets[16];<br>
struct pipe_sampler_state sampler;<br>
struct pipe_vertex_element ve;<br>
unsigned i;<br>
@@ -301,10 +301,6 @@
vl_bicubic_filter_init(struct vl_bicubic_filter
*filter, struct pipe_context *pi<br>
if (!filter->ves)<br>
goto error_ves;<br>
<br>
- offsets = MALLOC(sizeof(struct vertex2f) *
16);<br>
- if (!offsets)<br>
- goto error_offsets;<br>
-<br>
offsets[0].x = -1.0f; offsets[0].y = -1.0f;<br>
offsets[1].x = 0.0f; offsets[1].y = -1.0f;<br>
offsets[2].x = 1.0f; offsets[2].y = -1.0f;<br>
@@ -344,8 +340,6 @@
vl_bicubic_filter_init(struct vl_bicubic_filter
*filter, struct pipe_context *pi<br>
<span> pipe->delete_vs_state(pipe,
filter->vs);<br>
<br>
error_vs:<br>
</span>-<br>
-error_offsets:<br>
pipe->delete_vertex_elements_state(pipe,
filter->ves);<br>
<br>
error_ves:<br>
<span><font color="#888888">--<br>
2.9.0<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>