From d2686cdb2354b7cfe0e4eac3c5afab40cb947e0f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 5 Apr 2010 02:11:26 +0200 Subject: r300g: raise the number of texture units to 16 for all supported chipsets As per Radeon 9700 Opengl Programming and Optimization Guide [1], there are 16 texture units even on the first r300 chipsets. If you think I am wrong, feel free to propose a patch. [1] Here's PDF: http://people.freedesktop.org/~mareko/ --- src/gallium/drivers/r300/r300_chipset.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/r300/r300_chipset.h') diff --git a/src/gallium/drivers/r300/r300_chipset.h b/src/gallium/drivers/r300/r300_chipset.h index 2808486492..ff957b7c29 100644 --- a/src/gallium/drivers/r300/r300_chipset.h +++ b/src/gallium/drivers/r300/r300_chipset.h @@ -38,6 +38,8 @@ struct r300_capabilities { unsigned num_frag_pipes; /* The number of z pipes */ unsigned num_z_pipes; + /* The number of texture units. */ + unsigned num_tex_units; /* Whether or not TCL is physically present */ boolean has_tcl; /* Whether or not this is R400. The differences compared to their R3xx -- cgit v1.2.3