compiler: add shader_info.vs.blit_sgprs_amd

for internal radeonsi shaders
This commit is contained in:
Marek Olšák
2019-07-31 16:55:33 -04:00
parent e300365197
commit 028dbd35ba
3 changed files with 12 additions and 0 deletions

View File

@@ -158,6 +158,13 @@ typedef struct shader_info {
/* Which inputs are doubles */
uint64_t double_inputs;
/* For AMD-specific driver-internal shaders. It replaces vertex
* buffer loads with code generating VS inputs from scalar registers.
*
* Valid values: SI_VS_BLIT_SGPRS_POS_*
*/
unsigned blit_sgprs_amd;
/* True if the shader writes position in window space coordinates pre-transform */
bool window_space_position;
} vs;