gallium: new shader cap bit for the amount of sampler views
Ever since introducing separate sampler and sampler view max this was really missing. Every driver but llvmpipe reports the same number as number of samplers for now, so nothing should break. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
@@ -247,10 +247,12 @@ to be 0.
|
||||
BGNSUB, ENDSUB, CAL, and RET, including RET in the main block.
|
||||
* ``PIPE_SHADER_CAP_INTEGERS``: Whether integer opcodes are supported.
|
||||
If unsupported, only float opcodes are supported.
|
||||
* ``PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS``: THe maximum number of texture
|
||||
* ``PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS``: The maximum number of texture
|
||||
samplers.
|
||||
* ``PIPE_SHADER_CAP_PREFERRED_IR``: Preferred representation of the
|
||||
program. It should be one of the ``pipe_shader_ir`` enum values.
|
||||
* ``PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS``: The maximum number of texture
|
||||
sampler views. Must not be lower than PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS.
|
||||
|
||||
|
||||
.. _pipe_compute_cap:
|
||||
|
Reference in New Issue
Block a user