diff options
author | Timothy Arceri <[email protected]> | 2018-08-15 19:39:27 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-08-20 13:53:59 +1000 |
commit | 5a0684d665f4cfc996f9dfc5fddbe4a117ab639f (patch) | |
tree | 8dbac1019d47f3a898635ef4df5090cd1d1234cd /src/mesa/drivers | |
parent | 8b4157d578d680d8d847acb5d8157462e4f25a15 (diff) |
mesa: move legacy dri config option texture_units
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 468cbd53595..009d7953a24 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -70,6 +70,11 @@ DRI_CONF_OPT_BEGIN_V(command_buffer_size,int,def, # min ":" # max ) \ DRI_CONF_DESC(de,"Grösse des Befehlspuffers (in KB)") \ DRI_CONF_OPT_END +#define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \ +DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \ + DRI_CONF_DESC(en,"Number of texture units used") \ +DRI_CONF_OPT_END + #if defined(RADEON_R100) /* R100 */ static const __DRIconfigOptionsExtension radeon_config_options = { .base = { __DRI_CONFIG_OPTIONS, 1 }, |