Displaying 6 results from an estimated 6 matches for "set_vertex_buffers".
2016 Apr 19
2
more one question regarding gl and nouveau
Hi Ilia, you were straight to the point for me in:
"src/mesa/vbo will upload it to a vbo. The driver then points the
hardware at the vbo and tells it to read from there."
But where is it the function that implements this? Is it in
nv30_draw_vbo(...)? Please, give me a function name or
at least a file name?
2016-04-19 10:04 GMT-04:00 Ilia Mirkin <imirkin at alum.mit.edu>:
>
2016 Apr 19
0
more one question regarding gl and nouveau
...ls it to read from there."
>
> But where is it the function that implements this? Is it in
> nv30_draw_vbo(...)? Please, give me a function name or
> at least a file name?
Before draw_vbo is called, the vbo will have been set up via
pipe->bind_vertex_elements_state and pipe->set_vertex_buffers. The
draw call will then validate those, by calling nv30_state_validate (or
something along those lines) which will look at all the dirtied state
and write that out to hw.
There are also funny interactions with translate... for formats that
aren't directly supported.
-ilia
2015 Nov 19
7
[Bug 93004] New: Guild Wars 2 crash on nouveau DX11 cards
https://bugs.freedesktop.org/show_bug.cgi?id=93004
Bug ID: 93004
Summary: Guild Wars 2 crash on nouveau DX11 cards
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at
2014 Nov 27
0
[Mesa-dev] [RFC] tegra: Initial support
..._surface **resources)
> +{
> + struct tegra_context *context = to_tegra_context(pcontext);
> +
> + context->gpu->set_shader_resources(context->gpu, start, count,
> + resources);
> +}
> +
> +static void
> +tegra_set_vertex_buffers(struct pipe_context *pcontext,
> + unsigned start_slot,
> + unsigned num_buffers,
> + const struct pipe_vertex_buffer *buffers)
> +{
> + struct tegra_context *context = to_tegra_context(pcontext);
> +...
2014 Nov 27
7
[RFC] tegra: Initial support
...ct pipe_context *pcontext,
+ unsigned start,
+ unsigned count,
+ struct pipe_surface **resources)
+{
+ struct tegra_context *context = to_tegra_context(pcontext);
+
+ context->gpu->set_shader_resources(context->gpu, start, count,
+ resources);
+}
+
+static void
+tegra_set_vertex_buffers(struct pipe_context *pcontext,
+ unsigned start_slot,
+ unsigned num_buffers,
+ const struct pipe_vertex_buffer *buffers)
+{
+ struct tegra_context *context = to_tegra_context(pcontext);
+ struct pipe_vertex_buffer buf[PIPE_MAX_SHADER_INPUTS];
+ unsigned i;
+
+ if (num_buffers && b...
2010 Aug 06
4
nv vpe video decoder
Hello,
I have my work on the nv vpe video decoder in a functional
state. In case you didn't know this decoder accelerates mpeg2
video at the idct/mc level. I have verified that it works on
nv40 hardware. I believe it works on nv30 hardware (and
maybe some earlier hardware), but I cannot verify since I have
none.
I will reply with patches against the kernel, drm, ddx
and mesa for