osy dd0652b13e neptune: bound guest calls by what the API and the wire describe
Regenerated from neptune-protocol at b0152e5 (and 89a538a).  Only the
host decoders change, and the wire stays version 2:

- The D3D11 and D3D12 calls that bind a run of slots (constant buffers,
  shader resources, samplers, vertex buffers, UAVs, render targets,
  stream output, viewports, scissor rects, descriptor heaps, sample
  positions) check that StartSlot plus the count stays inside the table
  the API fixes, summed in 64 bits, as soon as both are decoded; a
  D3D11_KEEP_* count is exempt.  OM UAVs must start at or past NumRTVs.
  D3D12 root parameter indices and root-constant runs stay inside the
  64-DWORD root signature.
- A reply encodes no more of an output array than the host allocated
  for it, whatever count the callee wrote back, and nothing when the
  call failed (GetPrivateData and 18 other replies).
- A call carrying a field the wire cannot represent -- inline initial
  data for the D3D11 Create* calls, present or empty, the source or
  destination buffer of UpdateSubresource, UpdateTiles and
  Write/ReadFromSubresource, a destruction callback or a heap address --
  is rejected instead of reaching the backend with that field unset.
  No guest sends one.
- Count products such as MipLevels * ArraySize saturate instead of
  wrapping, and a present but empty array reaches the backend as a
  zeroed slot.

Reported-by: Xusheng Li at Vector 35 Inc
Assisted-by: Claude:claude-opus-5-5
2026-11-10 10:41:40 -08:00
2021-07-30 10:40:09 -07:00
2015-03-20 14:09:15 +10:00
2021-12-13 10:41:39 +00:00
2021-10-18 13:22:09 -07:00
2015-04-20 11:10:35 +10:00
2026-07-26 17:00:35 -07:00
2026-07-26 17:00:35 -07:00
2021-09-01 09:28:52 +02:00

`Virglrenderer <https://virgil3d.github.io/>`_ - The VirGL virtual OpenGL renderer
==================================================================================


Source
------

This repository lives at https://gitlab.freedesktop.org/virgl/virglrenderer.
Other repositories are likely forks, and code found there is not supported.


Build & install
---------------

This project uses the meson build system:

.. code-block:: sh

  $ meson build
  $ cd build
  $ ninja install


Support
-------

Many Virglrenderer devs hang on IRC; if you're not sure which channel is
appropriate, you should ask your question on `OFTC's #virgil3d
<irc://irc.oftc.net/virgil3d>`_, someone will redirect you if
necessary.
Remember that not everyone is in the same timezone as you, so it might
take a while before someone qualified sees your question.

The next best option is to ask your question in an email to the
mailing lists: `virglrenderer-devel\@lists.freedesktop.org
<https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel>`_


Bug reports
-----------

If you think something isn't working properly, please file a bug report in
`GitLab <https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues>`_.


Contributing
------------

Contributions are welcome, note that Virglrenderer uses GitLab for patches
submission, review and discussions.
Languages
C 98.7%
Python 0.5%
Meson 0.3%
Shell 0.2%
C++ 0.1%
Other 0.1%