r300/compiler: implement elimination of unused constants
authorMarek Olšák <maraeo@gmail.com>
Mon, 23 Aug 2010 03:48:39 +0000 (05:48 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 25 Aug 2010 00:44:28 +0000 (02:44 +0200)
commit574ba4b5f50bfe661427327cd792a8a200559376
treee553edcd2139cd7ff628fe8f939c46d3b55a7eda
parent4b9b2a3cdc6a809b2e583a21b888ed59e5c20aec
r300/compiler: implement elimination of unused constants

Wine likes to create a *lot* of constants, exceeding the size of the constant
file in hw.
src/mesa/drivers/dri/r300/compiler/Makefile
src/mesa/drivers/dri/r300/compiler/SConscript
src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c
src/mesa/drivers/dri/r300/compiler/r3xx_vertprog.c
src/mesa/drivers/dri/r300/compiler/radeon_code.h
src/mesa/drivers/dri/r300/compiler/radeon_compiler.h
src/mesa/drivers/dri/r300/compiler/radeon_remove_constants.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/radeon_remove_constants.h [new file with mode: 0644]