/third_party/libjpeg-turbo/simd/arm/aarch64/ |
D | jccolext-neon.c | 58 const uint16x8_t consts = vld1q_u16(jsimd_rgb_ycc_neon_consts); in jsimd_rgb_ycc_convert_neon() local 84 uint32x4_t y_ll = vmull_laneq_u16(vget_low_u16(r_l), consts, 0); in jsimd_rgb_ycc_convert_neon() 85 y_ll = vmlal_laneq_u16(y_ll, vget_low_u16(g_l), consts, 1); in jsimd_rgb_ycc_convert_neon() 86 y_ll = vmlal_laneq_u16(y_ll, vget_low_u16(b_l), consts, 2); in jsimd_rgb_ycc_convert_neon() 87 uint32x4_t y_lh = vmull_laneq_u16(vget_high_u16(r_l), consts, 0); in jsimd_rgb_ycc_convert_neon() 88 y_lh = vmlal_laneq_u16(y_lh, vget_high_u16(g_l), consts, 1); in jsimd_rgb_ycc_convert_neon() 89 y_lh = vmlal_laneq_u16(y_lh, vget_high_u16(b_l), consts, 2); in jsimd_rgb_ycc_convert_neon() 90 uint32x4_t y_hl = vmull_laneq_u16(vget_low_u16(r_h), consts, 0); in jsimd_rgb_ycc_convert_neon() 91 y_hl = vmlal_laneq_u16(y_hl, vget_low_u16(g_h), consts, 1); in jsimd_rgb_ycc_convert_neon() 92 y_hl = vmlal_laneq_u16(y_hl, vget_low_u16(b_h), consts, 2); in jsimd_rgb_ycc_convert_neon() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/ |
D | jccolext-neon.c | 58 const uint16x8_t consts = vld1q_u16(jsimd_rgb_ycc_neon_consts); in jsimd_rgb_ycc_convert_neon() local 84 uint32x4_t y_ll = vmull_laneq_u16(vget_low_u16(r_l), consts, 0); in jsimd_rgb_ycc_convert_neon() 85 y_ll = vmlal_laneq_u16(y_ll, vget_low_u16(g_l), consts, 1); in jsimd_rgb_ycc_convert_neon() 86 y_ll = vmlal_laneq_u16(y_ll, vget_low_u16(b_l), consts, 2); in jsimd_rgb_ycc_convert_neon() 87 uint32x4_t y_lh = vmull_laneq_u16(vget_high_u16(r_l), consts, 0); in jsimd_rgb_ycc_convert_neon() 88 y_lh = vmlal_laneq_u16(y_lh, vget_high_u16(g_l), consts, 1); in jsimd_rgb_ycc_convert_neon() 89 y_lh = vmlal_laneq_u16(y_lh, vget_high_u16(b_l), consts, 2); in jsimd_rgb_ycc_convert_neon() 90 uint32x4_t y_hl = vmull_laneq_u16(vget_low_u16(r_h), consts, 0); in jsimd_rgb_ycc_convert_neon() 91 y_hl = vmlal_laneq_u16(y_hl, vget_low_u16(g_h), consts, 1); in jsimd_rgb_ycc_convert_neon() 92 y_hl = vmlal_laneq_u16(y_hl, vget_low_u16(b_h), consts, 2); in jsimd_rgb_ycc_convert_neon() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | context.c | 303 init_program_limits(struct gl_constants *consts, gl_shader_stage stage, in init_program_limits() argument 387 consts->MaxUniformBlockSize / 4 * in init_program_limits() 403 _mesa_init_constants(struct gl_constants *consts, gl_api api) in _mesa_init_constants() argument 406 assert(consts); in _mesa_init_constants() 409 consts->MaxTextureMbytes = MAX_TEXTURE_MBYTES; in _mesa_init_constants() 410 consts->MaxTextureSize = 1 << (MAX_TEXTURE_LEVELS - 1); in _mesa_init_constants() 411 consts->Max3DTextureLevels = MAX_TEXTURE_LEVELS; in _mesa_init_constants() 412 consts->MaxCubeTextureLevels = MAX_TEXTURE_LEVELS; in _mesa_init_constants() 413 consts->MaxTextureRectSize = MAX_TEXTURE_RECT_SIZE; in _mesa_init_constants() 414 consts->MaxArrayTextureLayers = MAX_ARRAY_TEXTURE_LAYERS; in _mesa_init_constants() [all …]
|
D | version.c | 169 _mesa_override_gl_version_contextless(struct gl_constants *consts, in _mesa_override_gl_version_contextless() argument 184 consts->ContextFlags |= GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT; in _mesa_override_gl_version_contextless() 227 _mesa_override_glsl_version(struct gl_constants *consts) in _mesa_override_glsl_version() argument 238 n = sscanf(version, "%u", &consts->GLSLVersion); in _mesa_override_glsl_version() 250 const struct gl_constants *consts, gl_api api) in compute_version() argument 273 consts->GLSLVersion >= 130 && in compute_version() 274 consts->MaxColorAttachments >= 4 && in compute_version() 275 (consts->MaxSamples >= 4 || consts->FakeSWMSAA) && in compute_version() 294 consts->GLSLVersion >= 140 && in compute_version() 301 consts->Program[MESA_SHADER_VERTEX].MaxTextureImageUnits >= 16); in compute_version() [all …]
|
/third_party/libjpeg-turbo/simd/arm/ |
D | jidctred-neon.c | 103 const int16x4_t consts = vld1_s16(jsimd_idct_2x2_neon_consts); in jsimd_idct_2x2_neon() local 114 int32x4_t tmp0_l = vmull_lane_s16(vget_low_s16(row1), consts, 3); in jsimd_idct_2x2_neon() 115 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(row3), consts, 2); in jsimd_idct_2x2_neon() 116 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(row5), consts, 1); in jsimd_idct_2x2_neon() 117 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(row7), consts, 0); in jsimd_idct_2x2_neon() 118 int32x4_t tmp0_h = vmull_lane_s16(vget_high_s16(row1), consts, 3); in jsimd_idct_2x2_neon() 119 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(row3), consts, 2); in jsimd_idct_2x2_neon() 120 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(row5), consts, 1); in jsimd_idct_2x2_neon() 121 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(row7), consts, 0); in jsimd_idct_2x2_neon() 147 int32x4_t tmp0 = vmull_lane_s16(vget_low_s16(cols_1155), consts, 3); in jsimd_idct_2x2_neon() [all …]
|
D | jfdctint-neon.c | 91 const int16x4x3_t consts = vld1_s16_x3(jsimd_fdct_islow_neon_consts); in jsimd_fdct_islow_neon() local 97 const int16x4x3_t consts = { { consts1, consts2, consts3 } }; in jsimd_fdct_islow_neon() 143 vmull_lane_s16(vget_low_s16(tmp12_add_tmp13), consts.val[0], 2); in jsimd_fdct_islow_neon() 145 vmull_lane_s16(vget_high_s16(tmp12_add_tmp13), consts.val[0], 2); in jsimd_fdct_islow_neon() 148 vmlal_lane_s16(z1_l, vget_low_s16(tmp13), consts.val[0], 3); in jsimd_fdct_islow_neon() 150 vmlal_lane_s16(z1_h, vget_high_s16(tmp13), consts.val[0], 3); in jsimd_fdct_islow_neon() 155 vmlal_lane_s16(z1_l, vget_low_s16(tmp12), consts.val[1], 3); in jsimd_fdct_islow_neon() 157 vmlal_lane_s16(z1_h, vget_high_s16(tmp12), consts.val[1], 3); in jsimd_fdct_islow_neon() 167 int32x4_t z5_l = vmull_lane_s16(vget_low_s16(z3), consts.val[1], 1); in jsimd_fdct_islow_neon() 168 int32x4_t z5_h = vmull_lane_s16(vget_high_s16(z3), consts.val[1], 1); in jsimd_fdct_islow_neon() [all …]
|
D | jidctint-neon.c | 359 const int16x4x3_t consts = vld1_s16_x3(jsimd_idct_islow_neon_consts); in jsimd_idct_islow_pass1_regular() local 364 const int16x4x3_t consts = { { consts1, consts2, consts3 } }; in jsimd_idct_islow_pass1_regular() 371 int32x4_t tmp2 = vmull_lane_s16(z2_s16, consts.val[0], 1); in jsimd_idct_islow_pass1_regular() 372 int32x4_t tmp3 = vmull_lane_s16(z2_s16, consts.val[1], 2); in jsimd_idct_islow_pass1_regular() 373 tmp2 = vmlal_lane_s16(tmp2, z3_s16, consts.val[2], 1); in jsimd_idct_islow_pass1_regular() 374 tmp3 = vmlal_lane_s16(tmp3, z3_s16, consts.val[0], 1); in jsimd_idct_islow_pass1_regular() 406 int32x4_t z3 = vmull_lane_s16(z3_s16, consts.val[2], 3); in jsimd_idct_islow_pass1_regular() 407 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_regular() 408 z3 = vmlal_lane_s16(z3, z4_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_regular() 409 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass1_regular() [all …]
|
D | jdcolext-neon.c | 61 const int16x4_t consts = vld1_s16(jsimd_ycc_rgb_convert_neon_consts); in jsimd_ycc_rgb_convert_neon() local 89 int32x4_t g_sub_y_ll = vmull_lane_s16(vget_low_s16(cb_128_l), consts, 0); in jsimd_ycc_rgb_convert_neon() 91 consts, 0); in jsimd_ycc_rgb_convert_neon() 92 int32x4_t g_sub_y_hl = vmull_lane_s16(vget_low_s16(cb_128_h), consts, 0); in jsimd_ycc_rgb_convert_neon() 94 consts, 0); in jsimd_ycc_rgb_convert_neon() 96 consts, 1); in jsimd_ycc_rgb_convert_neon() 98 consts, 1); in jsimd_ycc_rgb_convert_neon() 100 consts, 1); in jsimd_ycc_rgb_convert_neon() 102 consts, 1); in jsimd_ycc_rgb_convert_neon() 110 consts, 2); in jsimd_ycc_rgb_convert_neon() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/ |
D | jidctred-neon.c | 103 const int16x4_t consts = vld1_s16(jsimd_idct_2x2_neon_consts); in jsimd_idct_2x2_neon() local 114 int32x4_t tmp0_l = vmull_lane_s16(vget_low_s16(row1), consts, 3); in jsimd_idct_2x2_neon() 115 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(row3), consts, 2); in jsimd_idct_2x2_neon() 116 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(row5), consts, 1); in jsimd_idct_2x2_neon() 117 tmp0_l = vmlal_lane_s16(tmp0_l, vget_low_s16(row7), consts, 0); in jsimd_idct_2x2_neon() 118 int32x4_t tmp0_h = vmull_lane_s16(vget_high_s16(row1), consts, 3); in jsimd_idct_2x2_neon() 119 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(row3), consts, 2); in jsimd_idct_2x2_neon() 120 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(row5), consts, 1); in jsimd_idct_2x2_neon() 121 tmp0_h = vmlal_lane_s16(tmp0_h, vget_high_s16(row7), consts, 0); in jsimd_idct_2x2_neon() 147 int32x4_t tmp0 = vmull_lane_s16(vget_low_s16(cols_1155), consts, 3); in jsimd_idct_2x2_neon() [all …]
|
D | jfdctint-neon.c | 91 const int16x4x3_t consts = vld1_s16_x3(jsimd_fdct_islow_neon_consts); in jsimd_fdct_islow_neon() local 97 const int16x4x3_t consts = { { consts1, consts2, consts3 } }; in jsimd_fdct_islow_neon() 143 vmull_lane_s16(vget_low_s16(tmp12_add_tmp13), consts.val[0], 2); in jsimd_fdct_islow_neon() 145 vmull_lane_s16(vget_high_s16(tmp12_add_tmp13), consts.val[0], 2); in jsimd_fdct_islow_neon() 148 vmlal_lane_s16(z1_l, vget_low_s16(tmp13), consts.val[0], 3); in jsimd_fdct_islow_neon() 150 vmlal_lane_s16(z1_h, vget_high_s16(tmp13), consts.val[0], 3); in jsimd_fdct_islow_neon() 155 vmlal_lane_s16(z1_l, vget_low_s16(tmp12), consts.val[1], 3); in jsimd_fdct_islow_neon() 157 vmlal_lane_s16(z1_h, vget_high_s16(tmp12), consts.val[1], 3); in jsimd_fdct_islow_neon() 167 int32x4_t z5_l = vmull_lane_s16(vget_low_s16(z3), consts.val[1], 1); in jsimd_fdct_islow_neon() 168 int32x4_t z5_h = vmull_lane_s16(vget_high_s16(z3), consts.val[1], 1); in jsimd_fdct_islow_neon() [all …]
|
D | jidctint-neon.c | 359 const int16x4x3_t consts = vld1_s16_x3(jsimd_idct_islow_neon_consts); in jsimd_idct_islow_pass1_regular() local 364 const int16x4x3_t consts = { { consts1, consts2, consts3 } }; in jsimd_idct_islow_pass1_regular() 371 int32x4_t tmp2 = vmull_lane_s16(z2_s16, consts.val[0], 1); in jsimd_idct_islow_pass1_regular() 372 int32x4_t tmp3 = vmull_lane_s16(z2_s16, consts.val[1], 2); in jsimd_idct_islow_pass1_regular() 373 tmp2 = vmlal_lane_s16(tmp2, z3_s16, consts.val[2], 1); in jsimd_idct_islow_pass1_regular() 374 tmp3 = vmlal_lane_s16(tmp3, z3_s16, consts.val[0], 1); in jsimd_idct_islow_pass1_regular() 406 int32x4_t z3 = vmull_lane_s16(z3_s16, consts.val[2], 3); in jsimd_idct_islow_pass1_regular() 407 int32x4_t z4 = vmull_lane_s16(z3_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_regular() 408 z3 = vmlal_lane_s16(z3, z4_s16, consts.val[1], 3); in jsimd_idct_islow_pass1_regular() 409 z4 = vmlal_lane_s16(z4, z4_s16, consts.val[2], 0); in jsimd_idct_islow_pass1_regular() [all …]
|
D | jdcolext-neon.c | 61 const int16x4_t consts = vld1_s16(jsimd_ycc_rgb_convert_neon_consts); in jsimd_ycc_rgb_convert_neon() local 89 int32x4_t g_sub_y_ll = vmull_lane_s16(vget_low_s16(cb_128_l), consts, 0); in jsimd_ycc_rgb_convert_neon() 91 consts, 0); in jsimd_ycc_rgb_convert_neon() 92 int32x4_t g_sub_y_hl = vmull_lane_s16(vget_low_s16(cb_128_h), consts, 0); in jsimd_ycc_rgb_convert_neon() 94 consts, 0); in jsimd_ycc_rgb_convert_neon() 96 consts, 1); in jsimd_ycc_rgb_convert_neon() 98 consts, 1); in jsimd_ycc_rgb_convert_neon() 100 consts, 1); in jsimd_ycc_rgb_convert_neon() 102 consts, 1); in jsimd_ycc_rgb_convert_neon() 110 consts, 2); in jsimd_ycc_rgb_convert_neon() [all …]
|
D | jdmrgext-neon.c | 70 const int16x4_t consts = vld1_s16(jsimd_ycc_rgb_convert_neon_consts); in jsimd_h2v1_merged_upsample_neon() local 93 int32x4_t g_sub_y_l = vmull_lane_s16(vget_low_s16(cb_128), consts, 0); in jsimd_h2v1_merged_upsample_neon() 94 int32x4_t g_sub_y_h = vmull_lane_s16(vget_high_s16(cb_128), consts, 0); in jsimd_h2v1_merged_upsample_neon() 95 g_sub_y_l = vmlsl_lane_s16(g_sub_y_l, vget_low_s16(cr_128), consts, 1); in jsimd_h2v1_merged_upsample_neon() 96 g_sub_y_h = vmlsl_lane_s16(g_sub_y_h, vget_high_s16(cr_128), consts, 1); in jsimd_h2v1_merged_upsample_neon() 101 int16x8_t r_sub_y = vqrdmulhq_lane_s16(vshlq_n_s16(cr_128, 1), consts, 2); in jsimd_h2v1_merged_upsample_neon() 103 int16x8_t b_sub_y = vqrdmulhq_lane_s16(vshlq_n_s16(cb_128, 1), consts, 3); in jsimd_h2v1_merged_upsample_neon() 172 int32x4_t g_sub_y_l = vmull_lane_s16(vget_low_s16(cb_128), consts, 0); in jsimd_h2v1_merged_upsample_neon() 173 int32x4_t g_sub_y_h = vmull_lane_s16(vget_high_s16(cb_128), consts, 0); in jsimd_h2v1_merged_upsample_neon() 174 g_sub_y_l = vmlsl_lane_s16(g_sub_y_l, vget_low_s16(cr_128), consts, 1); in jsimd_h2v1_merged_upsample_neon() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/ |
D | jccolext-neon.c | 60 const uint16x4x2_t consts = vld1_u16_x2(jsimd_rgb_ycc_neon_consts); in jsimd_rgb_ycc_convert_neon() local 65 const uint16x4x2_t consts = { { consts1, consts2 } }; in jsimd_rgb_ycc_convert_neon() local 98 uint32x4_t y_low = vmull_lane_u16(vget_low_u16(r), consts.val[0], 0); in jsimd_rgb_ycc_convert_neon() 99 y_low = vmlal_lane_u16(y_low, vget_low_u16(g), consts.val[0], 1); in jsimd_rgb_ycc_convert_neon() 100 y_low = vmlal_lane_u16(y_low, vget_low_u16(b), consts.val[0], 2); in jsimd_rgb_ycc_convert_neon() 101 uint32x4_t y_high = vmull_lane_u16(vget_high_u16(r), consts.val[0], 0); in jsimd_rgb_ycc_convert_neon() 102 y_high = vmlal_lane_u16(y_high, vget_high_u16(g), consts.val[0], 1); in jsimd_rgb_ycc_convert_neon() 103 y_high = vmlal_lane_u16(y_high, vget_high_u16(b), consts.val[0], 2); in jsimd_rgb_ycc_convert_neon() 107 cb_low = vmlsl_lane_u16(cb_low, vget_low_u16(r), consts.val[0], 3); in jsimd_rgb_ycc_convert_neon() 108 cb_low = vmlsl_lane_u16(cb_low, vget_low_u16(g), consts.val[1], 0); in jsimd_rgb_ycc_convert_neon() [all …]
|
/third_party/libjpeg-turbo/simd/arm/aarch32/ |
D | jccolext-neon.c | 60 const uint16x4x2_t consts = vld1_u16_x2(jsimd_rgb_ycc_neon_consts); in jsimd_rgb_ycc_convert_neon() local 65 const uint16x4x2_t consts = { { consts1, consts2 } }; in jsimd_rgb_ycc_convert_neon() local 98 uint32x4_t y_low = vmull_lane_u16(vget_low_u16(r), consts.val[0], 0); in jsimd_rgb_ycc_convert_neon() 99 y_low = vmlal_lane_u16(y_low, vget_low_u16(g), consts.val[0], 1); in jsimd_rgb_ycc_convert_neon() 100 y_low = vmlal_lane_u16(y_low, vget_low_u16(b), consts.val[0], 2); in jsimd_rgb_ycc_convert_neon() 101 uint32x4_t y_high = vmull_lane_u16(vget_high_u16(r), consts.val[0], 0); in jsimd_rgb_ycc_convert_neon() 102 y_high = vmlal_lane_u16(y_high, vget_high_u16(g), consts.val[0], 1); in jsimd_rgb_ycc_convert_neon() 103 y_high = vmlal_lane_u16(y_high, vget_high_u16(b), consts.val[0], 2); in jsimd_rgb_ycc_convert_neon() 107 cb_low = vmlsl_lane_u16(cb_low, vget_low_u16(r), consts.val[0], 3); in jsimd_rgb_ycc_convert_neon() 108 cb_low = vmlsl_lane_u16(cb_low, vget_low_u16(g), consts.val[1], 0); in jsimd_rgb_ycc_convert_neon() [all …]
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_print_constant.c | 33 mir_print_constant_component(FILE *fp, const midgard_constants *consts, unsigned c, in mir_print_constant_component() argument 69 fprintf(fp, "%"PRIi64, consts->i64[c]); in mir_print_constant_component() 71 fprintf(fp, "%"PRIu64, consts->u64[c]); in mir_print_constant_component() 73 fprintf(fp, "0x%"PRIX64, consts->u64[c]); in mir_print_constant_component() 75 double v = consts->f64[c]; in mir_print_constant_component() 89 v = consts->u32[c]; in mir_print_constant_component() 91 v = (uint64_t)consts->u32[c] << 32; in mir_print_constant_component() 93 v = consts->i32[c]; in mir_print_constant_component() 100 v = (uint64_t)consts->u32[c] << 32; in mir_print_constant_component() 102 v = consts->u32[c]; in mir_print_constant_component() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_extensions.c | 754 struct gl_constants *consts, in st_init_extensions() argument 1124 consts->GLSLVersion = screen->get_param(screen, PIPE_CAP_GLSL_FEATURE_LEVEL); in st_init_extensions() 1125 consts->GLSLVersionCompat = in st_init_extensions() 1131 api == API_OPENGL_COMPAT ? consts->GLSLVersionCompat : in st_init_extensions() 1132 consts->GLSLVersion; in st_init_extensions() 1134 _mesa_override_glsl_version(consts); in st_init_extensions() 1138 consts->ForceGLSLVersion = options->force_glsl_version; in st_init_extensions() 1141 consts->ForceCompatShaders = options->force_compat_shaders; in st_init_extensions() 1143 consts->AllowExtraPPTokens = options->allow_extra_pp_tokens; in st_init_extensions() 1145 consts->AllowHigherCompatVersion = options->allow_higher_compat_version; in st_init_extensions() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_linker.h | 57 bool gl_nir_link_spirv(const struct gl_constants *consts, 61 bool gl_nir_link_glsl(const struct gl_constants *consts, 66 bool gl_nir_link_uniforms(const struct gl_constants *consts, 70 bool gl_nir_link_varyings(const struct gl_constants *consts, 81 void gl_nir_opt_dead_builtin_varyings(const struct gl_constants *consts, 89 void gl_nir_set_uniform_initializers(const struct gl_constants *consts, 92 bool nir_add_packed_var_to_resource_list(const struct gl_constants *consts, 101 void nir_build_program_resource_list(const struct gl_constants *consts, 105 void gl_nir_link_assign_atomic_counter_resources(const struct gl_constants *consts, 108 void gl_nir_link_check_atomic_counter_resources(const struct gl_constants *consts, [all …]
|
D | gl_nir_linker.c | 301 add_shader_variable(const struct gl_constants *consts, in add_shader_variable() argument 371 if (!add_shader_variable(consts, shProg, resource_set, in add_shader_variable() 407 if (!add_shader_variable(consts, shProg, resource_set, in add_shader_variable() 441 add_vars_with_modes(const struct gl_constants *consts, in add_vars_with_modes() argument 507 if (!add_shader_variable(consts, prog, resource_set, in add_vars_with_modes() 522 add_interface_variables(const struct gl_constants *consts, in add_interface_variables() argument 536 return add_vars_with_modes(consts, prog, resource_set, in add_interface_variables() 541 return add_vars_with_modes(consts, prog, resource_set, in add_interface_variables() 553 nir_add_packed_var_to_resource_list(const struct gl_constants *consts, in nir_add_packed_var_to_resource_list() argument 559 if (!add_shader_variable(consts, shProg, resource_set, 1 << stage, in nir_add_packed_var_to_resource_list() [all …]
|
D | linker_util.cpp | 243 link_util_check_uniform_resources(const struct gl_constants *consts, in link_util_check_uniform_resources() argument 256 consts->Program[i].MaxUniformComponents) { in link_util_check_uniform_resources() 257 if (consts->GLSLSkipStrictMaxUniformLimitCheck) { in link_util_check_uniform_resources() 271 consts->Program[i].MaxCombinedUniformComponents) { in link_util_check_uniform_resources() 272 if (consts->GLSLSkipStrictMaxUniformLimitCheck) { in link_util_check_uniform_resources() 287 if (total_uniform_blocks > consts->MaxCombinedUniformBlocks) { in link_util_check_uniform_resources() 289 total_uniform_blocks, consts->MaxCombinedUniformBlocks); in link_util_check_uniform_resources() 292 if (total_shader_storage_blocks > consts->MaxCombinedShaderStorageBlocks) { in link_util_check_uniform_resources() 295 consts->MaxCombinedShaderStorageBlocks); in link_util_check_uniform_resources() 300 consts->MaxUniformBlockSize) { in link_util_check_uniform_resources() [all …]
|
D | gl_nir_link_atomics.c | 136 find_active_atomic_counters(const struct gl_constants *consts, in find_active_atomic_counters() argument 143 consts->MaxAtomicBufferBindings); in find_active_atomic_counters() 195 gl_nir_link_assign_atomic_counter_resources(const struct gl_constants *consts, in gl_nir_link_assign_atomic_counter_resources() argument 201 find_active_atomic_counters(consts, prog, &num_buffers); in gl_nir_link_assign_atomic_counter_resources() 209 binding < consts->MaxAtomicBufferBindings; in gl_nir_link_assign_atomic_counter_resources() 306 gl_nir_link_check_atomic_counter_resources(const struct gl_constants *consts, in gl_nir_link_check_atomic_counter_resources() argument 311 find_active_atomic_counters(consts, prog, &num_buffers); in gl_nir_link_check_atomic_counter_resources() 322 for (unsigned i = 0; i < consts->MaxAtomicBufferBindings; i++) { in gl_nir_link_check_atomic_counter_resources() 359 if (atomic_counters[i] > consts->Program[i].MaxAtomicCounters) in gl_nir_link_check_atomic_counter_resources() 363 if (atomic_buffers[i] > consts->Program[i].MaxAtomicBuffers) in gl_nir_link_check_atomic_counter_resources() [all …]
|
/third_party/rust/crates/signal-hook/src/low_level/ |
D | extract.c | 17 struct Const consts[] = { variable 36 const size_t const_len = sizeof consts / sizeof *consts; in sighook_signal_cause() 40 consts[i].native == info->si_code && in sighook_signal_cause() 41 (consts[i].signal == -1 || consts[i].signal == info->si_signo) in sighook_signal_cause() 43 return consts[i].translated; in sighook_signal_cause()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_query.c | 309 } consts; in gfx10_sh_query_get_result_resource() local 315 consts.offset = 4 * sizeof(uint64_t) * query->stream + 2 * sizeof(uint64_t); in gfx10_sh_query_get_result_resource() 316 consts.config = 0; in gfx10_sh_query_get_result_resource() 319 consts.offset = 4 * sizeof(uint64_t) * query->stream + 3 * sizeof(uint64_t); in gfx10_sh_query_get_result_resource() 320 consts.config = 0; in gfx10_sh_query_get_result_resource() 323 consts.offset = sizeof(uint32_t) * (4 * index + query->stream); in gfx10_sh_query_get_result_resource() 324 consts.config = 0; in gfx10_sh_query_get_result_resource() 327 consts.offset = 4 * sizeof(uint64_t) * query->stream; in gfx10_sh_query_get_result_resource() 328 consts.config = 2; in gfx10_sh_query_get_result_resource() 331 consts.offset = 0; in gfx10_sh_query_get_result_resource() [all …]
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | disassemble.c | 304 …LE *fp, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool high32) in dump_fau_src() argument 311 uint64_t imm = consts->raw[idx]; in dump_fau_src() 313 if (consts->mods[idx] != BI_CONSTMOD_NONE) in dump_fau_src() 314 dump_pc_imm(fp, imm, branch_offset, consts->mods[idx], high32); in dump_fau_src() 365 …ned src, struct bifrost_regs srcs, unsigned branch_offset, struct bi_constants *consts, bool isFMA) in dump_src() argument 384 dump_fau_src(fp, srcs, branch_offset, consts, false); in dump_src() 387 dump_fau_src(fp, srcs, branch_offset, consts, true); in dump_src() 445 struct bi_constants consts = {}; in dump_clause() local 485 consts.raw[0] = bits(words[3], 17, 32) << 4; in dump_clause() 502 consts.raw[0] = const0; in dump_clause() [all …]
|
/third_party/rust/crates/libloading/src/os/windows/ |
D | mod.rs | 10 pub(super) mod consts { module 35 pub(super) mod consts { module 428 pub const LOAD_IGNORE_CODE_AUTHZ_LEVEL: DWORD = consts::LOAD_IGNORE_CODE_AUTHZ_LEVEL; 438 pub const LOAD_LIBRARY_AS_DATAFILE: DWORD = consts::LOAD_LIBRARY_AS_DATAFILE; 447 pub const LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE: DWORD = consts::LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE; 459 pub const LOAD_LIBRARY_AS_IMAGE_RESOURCE: DWORD = consts::LOAD_LIBRARY_AS_IMAGE_RESOURCE; 467 pub const LOAD_LIBRARY_SEARCH_APPLICATION_DIR: DWORD = consts::LOAD_LIBRARY_SEARCH_APPLICATION_DIR; 477 pub const LOAD_LIBRARY_SEARCH_DEFAULT_DIRS: DWORD = consts::LOAD_LIBRARY_SEARCH_DEFAULT_DIRS; 488 pub const LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR: DWORD = consts::LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR; 496 pub const LOAD_LIBRARY_SEARCH_SYSTEM32: DWORD = consts::LOAD_LIBRARY_SEARCH_SYSTEM32; [all …]
|