[Mesa-dev] [PATCH 1/3] gallium: add and use PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS

Marek Olšák maraeo at gmail.com
Thu Sep 29 08:08:44 PDT 2011


On Thu, Sep 29, 2011 at 4:37 PM, Brian Paul <brianp at vmware.com> wrote:
> On 09/28/2011 05:39 PM, Marek Olšák wrote:
>>
>> This removes:
>> - PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS
>> - PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS
>> in favor of the that new per-shader cap.
>> ---
>>  src/gallium/auxiliary/tgsi/tgsi_exec.h             |    2 +
>>  src/gallium/drivers/cell/ppu/cell_screen.c         |    9 ++++--
>>  src/gallium/drivers/i915/i915_screen.c             |   12 ++++++---
>>  src/gallium/drivers/i965/brw_screen.c              |    6 +---
>>  src/gallium/drivers/llvmpipe/lp_screen.c           |   25
>> ++++++++++---------
>>  src/gallium/drivers/nv50/nv50_screen.c             |    5 +--
>>  src/gallium/drivers/nvc0/nvc0_screen.c             |    5 +--
>>  src/gallium/drivers/nvfx/nvfx_screen.c             |    8 +++---
>>  src/gallium/drivers/r300/r300_screen.c             |    5 ++-
>>  src/gallium/drivers/r600/r600_pipe.c               |    5 +--
>>  src/gallium/drivers/softpipe/sp_screen.c           |   21
>> ++++++++--------
>>  src/gallium/drivers/svga/svga_screen.c             |    4 +-
>>  src/gallium/include/pipe/p_defines.h               |    5 +--
>>  .../state_trackers/d3d1x/gd3d11/d3d11_screen.h     |    2 +-
>>  src/mesa/state_tracker/st_extensions.c             |    9 ++++--
>>  15 files changed, 66 insertions(+), 57 deletions(-)
>
> Do we need to update the gallium/docs/ with the new caps?

Yes, our caps documentation is quite outdated anyway. I'll do that in
a follow-up.

Marek


More information about the mesa-dev mailing list