Tom Stellard <tstel...@gmail.com> writes: > From: Francisco Jerez <curroje...@riseup.net> > > --- > src/gallium/docs/source/screen.rst | 5 +++++ > src/gallium/include/pipe/p_defines.h | 1 + > 2 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/src/gallium/docs/source/screen.rst > b/src/gallium/docs/source/screen.rst > index 2bddf1b..6e727ef 100644 > --- a/src/gallium/docs/source/screen.rst > +++ b/src/gallium/docs/source/screen.rst > @@ -206,6 +206,11 @@ PIPE_COMPUTE_CAP_* > Compute-specific capabilities. They can be queried using > pipe_screen::get_compute_param. > > +* ``PIPE_COMPUTE_CAP_IR_TARGET``: Desired representation of the > + compute program. Its value should be a target triple specification > + of the form ``processor-manufacturer-os`` that will be passed on to > + the compiler, or ``tgsi`` if the driver accepts compute programs in > + the common TGSI representation. Value type: null-terminated string.
This documentation seems wrong now, the CAP isn't used to determine the representation of the compute program anymore, and it has nothing to do with TGSI being used or not. > * ``PIPE_COMPUTE_CAP_GRID_DIMENSION``: Number of supported dimensions > for grid and block coordinates. Value type: ``uint64_t``. > * ``PIPE_COMPUTE_CAP_MAX_GRID_SIZE``: Maximum grid size in block > diff --git a/src/gallium/include/pipe/p_defines.h > b/src/gallium/include/pipe/p_defines.h > index d0819e2..585cab2 100644 > --- a/src/gallium/include/pipe/p_defines.h > +++ b/src/gallium/include/pipe/p_defines.h > @@ -546,6 +546,7 @@ enum pipe_shader_ir > */ > enum pipe_compute_cap > { > + PIPE_COMPUTE_CAP_IR_TARGET, > PIPE_COMPUTE_CAP_GRID_DIMENSION, > PIPE_COMPUTE_CAP_MAX_GRID_SIZE, > PIPE_COMPUTE_CAP_MAX_BLOCK_SIZE,
pgpPLqncQxedy.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev