| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_code.c | 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); 55 free(c->Constants); 71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); 73 free(c->Constants); 74 c->Constants = newlist; 77 c->Constants[index] = *constant; 93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { 94 if (c->Constants[inde [all...] |
| H A D | radeon_remove_constants.c | 70 struct rc_constant *constants = c->Program.Constants.Constants; 74 if (!c->Program.Constants.Count) { 79 const_used = malloc(c->Program.Constants.Count); 80 memset(const_used, 0, c->Program.Constants.Count); 94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) 101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); 102 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); 105 for (unsigned i = 0; i < c->Program.Constants.Count; i++) { 123 assert( is_identity || new_count < c->Program.Constants [all...] |
| H A D | radeon_inline_literals.c | 118 &c->Program.Constants.Constants[src_reg->Index];
|
| H A D | radeon_program.h | 165 struct rc_constant_list Constants; member in struct:rc_program
|
| H A D | radeon_compiler.c | 49 rc_constants_destroy(&c->Program.Constants); 294 inst_mad->U.I.SrcReg[1].Index = rc_constants_add_state(&c->Program.Constants, RC_STATE_R300_VIEWPORT_SCALE, 0); 295 inst_mad->U.I.SrcReg[2].Index = rc_constants_add_state(&c->Program.Constants, RC_STATE_R300_VIEWPORT_OFFSET, 0); 298 inst_mad->U.I.SrcReg[2].Index = rc_constants_add_state(&c->Program.Constants, RC_STATE_R300_WINDOW_DIMENSION, 0); 500 if (c->Program.Constants.Count > c->max_constants) { 502 c->max_constants, c->Program.Constants.Count);
|
| H A D | radeon_dataflow_swizzles.c | 411 reg->Index = rc_constants_add_immediate_vec4(&c->Program.Constants, 439 c->Program.Constants.Count < R300_PFS_NUM_CONST_REGS && 447 rc_constants_print(&c->Program.Constants);
|
| H A D | radeon_code.h | 88 struct rc_constant * Constants; member in struct:rc_constant_list
|
| H A D | radeon_compiler_util.c | 711 c->Program.Constants.Constants[index].Type == RC_CONSTANT_IMMEDIATE; 726 if(swz >= 4 || index >= c->Program.Constants.Count ){ 734 c->Program.Constants.Constants[index].u.Immediate[swz];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_code.c | 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); 55 free(c->Constants); 71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); 73 free(c->Constants); 74 c->Constants = newlist; 77 c->Constants[index] = *constant; 93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { 94 if (c->Constants[inde [all...] |
| H A D | radeon_remove_constants.c | 70 struct rc_constant *constants = c->Program.Constants.Constants; 74 if (!c->Program.Constants.Count) { 79 const_used = malloc(c->Program.Constants.Count); 80 memset(const_used, 0, c->Program.Constants.Count); 94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) 101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); 102 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); 105 for (unsigned i = 0; i < c->Program.Constants.Count; i++) { 123 assert( is_identity || new_count < c->Program.Constants [all...] |
| H A D | radeon_inline_literals.c | 118 &c->Program.Constants.Constants[src_reg->Index];
|
| H A D | radeon_program.h | 165 struct rc_constant_list Constants; member in struct:rc_program
|
| H A D | radeon_compiler.c | 49 rc_constants_destroy(&c->Program.Constants); 294 inst_mad->U.I.SrcReg[1].Index = rc_constants_add_state(&c->Program.Constants, RC_STATE_R300_VIEWPORT_SCALE, 0); 295 inst_mad->U.I.SrcReg[2].Index = rc_constants_add_state(&c->Program.Constants, RC_STATE_R300_VIEWPORT_OFFSET, 0); 298 inst_mad->U.I.SrcReg[2].Index = rc_constants_add_state(&c->Program.Constants, RC_STATE_R300_WINDOW_DIMENSION, 0); 500 if (c->Program.Constants.Count > c->max_constants) { 502 c->max_constants, c->Program.Constants.Count);
|
| H A D | radeon_dataflow_swizzles.c | 411 reg->Index = rc_constants_add_immediate_vec4(&c->Program.Constants, 439 c->Program.Constants.Count < R300_PFS_NUM_CONST_REGS && 447 rc_constants_print(&c->Program.Constants);
|
| H A D | radeon_code.h | 88 struct rc_constant * Constants; member in struct:rc_constant_list
|
| H A D | radeon_compiler_util.c | 711 c->Program.Constants.Constants[index].Type == RC_CONSTANT_IMMEDIATE; 726 if(swz >= 4 || index >= c->Program.Constants.Count ){ 734 c->Program.Constants.Constants[index].u.Immediate[swz];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | radeon_compiler_optimize_tests.c | 63 rc_constants_add_immediate_vec4(&c.Program.Constants, const0);
|
| H A D | rc_test_helpers.c | 478 constants = &c->Program.Constants; 485 if (constants->Constants) { 486 memcpy(newlist, constants->Constants, 489 free(constants->Constants); 492 constants->Constants = newlist; 499 constants->Constants[index] = constant;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/tests/ |
| H A D | radeon_compiler_optimize_tests.c | 63 rc_constants_add_immediate_vec4(&c.Program.Constants, const0);
|
| H A D | rc_test_helpers.c | 478 constants = &c->Program.Constants; 485 if (constants->Constants) { 486 memcpy(newlist, constants->Constants, 489 free(constants->Constants); 492 constants->Constants = newlist; 499 constants->Constants[index] = constant;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_vs.c | 248 if (compiler.Base.Program.Constants.Count > 200) { 279 vs->code.constants.Constants[i].Type == RC_CONSTANT_EXTERNAL; i++) { 283 assert(vs->code.constants.Constants[i].Type == RC_CONSTANT_IMMEDIATE);
|
| H A D | r300_tgsi_to_rc.c | 298 rc_constants_add(&ttr->compiler->Program.Constants, &constant); 321 rc_constants_add(&ttr->compiler->Program.Constants, &constant); 324 ttr->immediate_offset = ttr->compiler->Program.Constants.Count;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| H A D | d3d12_root_signature.cpp | 67 param->Constants.RegisterSpace = 0; 68 param->Constants.ShaderRegister = reg; 69 param->Constants.Num32BitValues = size;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| H A D | r300_vs.c | 248 if (compiler.Base.Program.Constants.Count > 200) { 279 vs->code.constants.Constants[i].Type == RC_CONSTANT_EXTERNAL; i++) { 283 assert(vs->code.constants.Constants[i].Type == RC_CONSTANT_IMMEDIATE);
|
| H A D | r300_tgsi_to_rc.c | 321 rc_constants_add(&ttr->compiler->Program.Constants, &constant); 344 rc_constants_add(&ttr->compiler->Program.Constants, &constant); 347 ttr->immediate_offset = ttr->compiler->Program.Constants.Count;
|