gallium: add PIPE_SHADER_CAP_SUPPORTED_IRS
This cap indicates the supported representations of programs. It should be a mask of pipe_shader_ir bits. It will allow to enable ARB_compute_shader if the underlying driver supports TGSI. Changes from v2: - improve description of PIPE_SHADER_CAP_SUPPORTED_IRS Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -415,6 +415,8 @@ to be 0.
|
||||
(also used to implement atomic counters). Having this be non-0 also
|
||||
implies support for the ``LOAD``, ``STORE``, and ``ATOM*`` TGSI
|
||||
opcodes.
|
||||
* ``PIPE_SHADER_CAP_SUPPORTED_IRS``: Supported representations of the
|
||||
program. It should be a mask of ``pipe_shader_ir`` bits.
|
||||
|
||||
|
||||
.. _pipe_compute_cap:
|
||||
|
Reference in New Issue
Block a user