nv50: add texture, constbuf, image, buffer validation

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 11 April 2021 16:31 UTC

This makes compute mostly work. For now we're laying out images/buffers in a fixed offset from each other in the globals "array", but this should be done dynamically. We're also missing passing image info to shaders, as well as adding image formats to a shader key.

Heavily inspired by nvc0 variants of these.

c3e9be9b5a5 nv50: add texture, constbuf, image, buffer validation
src/gallium/drivers/nouveau/nv50/nv50_compute.c | 280 ++++++++++++++++++++++++
src/gallium/drivers/nouveau/nv50/nv50_context.c | 1 +
2 files changed, 281 insertions(+)

Upstream: cgit.freedesktop.org


  • Share