mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 09:50:08 +01:00
i965: Move BRW_MAX_DRAW_BUFFERS to brw_compiler.h
It does sort-of go with MAX_UBO and friends but MAX_DRAW_BUFFERS is an actual hardware constant based on the number of things we can blend rather than an arbitrary "number of things allowed in GL" like some of the other maximums are. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
2523241660
commit
4e274bcf66
2 changed files with 3 additions and 3 deletions
|
|
@ -344,6 +344,9 @@ struct brw_image_param {
|
|||
uint32_t swizzling[2];
|
||||
};
|
||||
|
||||
/** Max number of render targets in a shader */
|
||||
#define BRW_MAX_DRAW_BUFFERS 8
|
||||
|
||||
/**
|
||||
* Max number of binding table entries used for stream output.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -363,9 +363,6 @@ struct brw_ff_gs_prog_data {
|
|||
/** Number of texture sampler units */
|
||||
#define BRW_MAX_TEX_UNIT 32
|
||||
|
||||
/** Max number of render targets in a shader */
|
||||
#define BRW_MAX_DRAW_BUFFERS 8
|
||||
|
||||
/** Max number of UBOs in a shader */
|
||||
#define BRW_MAX_UBO 14
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue