diff options
author | Jerome Glisse <[email protected]> | 2012-10-26 18:59:05 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2012-10-31 10:49:15 -0400 |
commit | 470952f751d1327831c638ee369b7f0f2e20e6fb (patch) | |
tree | ecc4744c1ceb0186c12ca48297505564fb24b907 /src/gallium/drivers/llvmpipe/lp_bld_depth.c | |
parent | 183e122bdfe27f875c3c121964484dae9587c051 (diff) |
r600g: avoid shader needing too many gpr to lockup the gpu v2
On r6xx/r7xx shader resource management need to make sure that the
shader does not goes over the gpr register limit. Each specific
asic has a maxmimum register that can be split btw shader stage.
For each stage the shader must not use more register than the
limit programmed.
v2: Print an error message when discarding draw. Don't add another
boolean to context structure, but rather propagate the discard
boolean through the call chain.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_depth.c')
0 files changed, 0 insertions, 0 deletions