gallium: add PIPE_COMPUTE_CAP_MAX_VARIABLE_THREADS_PER_BLOCK

v3: - use a new case statement in r600_pipe_common.c
    - fix compilation of softpipe...

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Samuel Pitoiset
2016-09-10 16:31:27 +02:00
parent 48de9aaa72
commit 07bb4513c6
7 changed files with 15 additions and 1 deletions

View File

@@ -498,6 +498,10 @@ pipe_screen::get_compute_param.
threads. Also known as wavefront size, warp size or SIMD width.
* ``PIPE_COMPUTE_CAP_ADDRESS_BITS``: The default compute device address space
size specified as an unsigned integer value in bits.
* ``PIPE_COMPUTE_CAP_MAX_VARIABLE_THREADS_PER_BLOCK``: Maximum variable number
of threads that a single block can contain. This is similar to
PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK, except that the variable size is not
known a compile-time but at dispatch-time.
.. _pipe_bind: