| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | clip.h | 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
| H A D | clip.c | 56 GLfloat equation[4]; local in function:_mesa_ClipPlane 64 equation[0] = (GLfloat) eq[0]; 65 equation[1] = (GLfloat) eq[1]; 66 equation[2] = (GLfloat) eq[2]; 67 equation[3] = (GLfloat) eq[3]; 70 * The equation is transformed by the transpose of the inverse of the 80 _mesa_transform_vector( equation, equation, 83 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) 89 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); 101 _mesa_GetClipPlane(GLenum plane,GLdouble * equation) argument [all...] |
| H A D | es1_conversion.h | 41 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation); 44 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation); 76 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation); 79 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation);
|
| H A D | es1_conversion.c | 54 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) argument 60 converted_equation[i] = (GLdouble) (equation[i]); 67 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation) argument 73 converted_equation[i] = (GLdouble) (equation[i] / 65536.0); 204 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation) argument 211 equation[i] = (GLfloat) (converted_equation[i]); 216 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) argument 223 equation[i] = (GLfixed) (converted_equation[i] * 65536);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | clip.h | 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
| H A D | clip.c | 57 GLfloat equation[4]; local in function:_mesa_ClipPlane 65 equation[0] = (GLfloat) eq[0]; 66 equation[1] = (GLfloat) eq[1]; 67 equation[2] = (GLfloat) eq[2]; 68 equation[3] = (GLfloat) eq[3]; 71 * The equation is transformed by the transpose of the inverse of the 81 _mesa_transform_vector( equation, equation, 84 if (TEST_EQ_4V(ctx->Transform.EyeUserPlane[p], equation)) 90 COPY_4FV(ctx->Transform.EyeUserPlane[p], equation); 102 _mesa_GetClipPlane(GLenum plane,GLdouble * equation) argument [all...] |
| H A D | es1_conversion.h | 41 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation); 44 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation); 76 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation); 79 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation);
|
| H A D | es1_conversion.c | 53 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) argument 59 converted_equation[i] = (GLdouble) (equation[i]); 66 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation) argument 72 converted_equation[i] = (GLdouble) (equation[i] / 65536.0); 203 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation) argument 210 equation[i] = (GLfloat) (converted_equation[i]); 215 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) argument 222 equation[i] = (GLfixed) (converted_equation[i] * 65536);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| H A D | pan_blend.c | 140 /* Determines if an equation can run in fixed function */ 143 pan_blend_can_fixed_function(const struct pan_blend_equation equation, argument 146 return !equation.blend_enable || 147 (can_fixed_function_equation(equation.rgb_func, 148 equation.rgb_src_factor, 149 equation.rgb_invert_src_factor, 150 equation.rgb_dst_factor, 151 equation.rgb_invert_dst_factor, 153 can_fixed_function_equation(equation.alpha_func, 154 equation 283 pan_blend_is_opaque(const struct pan_blend_equation equation) argument 322 pan_blend_reads_dest(const struct pan_blend_equation equation) argument 337 pan_blend_to_fixed_function_equation(const struct pan_blend_equation equation,struct MALI_BLEND_EQUATION * out) argument 370 pan_pack_blend(const struct pan_blend_equation equation) argument [all...] |
| H A D | pan_blend.h | 62 struct pan_blend_equation equation; member in struct:pan_blend_rt_state 82 struct pan_blend_equation equation; member in struct:pan_blend_shader_key 105 pan_blend_can_fixed_function(const struct pan_blend_equation equation, 147 struct MALI_BLEND_EQUATION *equation); 150 pan_pack_blend(const struct pan_blend_equation equation);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/ |
| H A D | pan_blend_cso.h | 49 uint32_t equation[PIPE_MAX_COLOR_BUFS]; member in struct:panfrost_blend_state
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| H A D | panvk_vX_shader.c | 337 options.rt[rt].colormask = rt_state->equation.color_mask; 339 if (!rt_state->equation.blend_enable) { 351 options.rt[rt].rgb.func = rt_state->equation.rgb_func; 352 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor; 353 options.rt[rt].rgb.invert_src_factor = rt_state->equation.rgb_invert_src_factor; 354 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor; 355 options.rt[rt].rgb.invert_dst_factor = rt_state->equation.rgb_invert_dst_factor; 356 options.rt[rt].alpha.func = rt_state->equation.alpha_func; 357 options.rt[rt].alpha.src_factor = rt_state->equation.alpha_src_factor; 358 options.rt[rt].alpha.invert_src_factor = rt_state->equation [all...] |
| H A D | panvk_vX_pipeline.c | 555 unsigned constant_mask = pan_blend_constant_mask(state->rts[rt].equation); 568 return !pan_blend_can_fixed_function(state->rts[rt].equation, supports_2src); 595 out->equation.blend_enable = in->blendEnable; 596 out->equation.color_mask = in->colorWriteMask; 597 out->equation.rgb_func = translate_blend_op(in->colorBlendOp); 598 out->equation.rgb_src_factor = translate_blend_factor(in->srcColorBlendFactor, dest_has_alpha); 599 out->equation.rgb_invert_src_factor = inverted_blend_factor(in->srcColorBlendFactor, dest_has_alpha); 600 out->equation.rgb_dst_factor = translate_blend_factor(in->dstColorBlendFactor, dest_has_alpha); 601 out->equation.rgb_invert_dst_factor = inverted_blend_factor(in->dstColorBlendFactor, dest_has_alpha); 602 out->equation [all...] |
| H A D | panvk_vX_cs.c | 599 if (!blend->rt_count || !rts->equation.color_mask) { 608 cfg.load_destination = pan_blend_reads_dest(blend->rts[rt].equation); 613 pan_blend_to_fixed_function_equation(blend->rts[rt].equation, 614 &cfg.equation); 616 pan_blend_get_constant(pan_blend_constant_mask(blend->rts[rt].equation), 626 pan_blend_to_fixed_function_equation(blend->rts[rt].equation, 627 &cfg.equation); 631 pan_blend_get_constant(pan_blend_constant_mask(blend->rts[rt].equation), 637 if (pan_blend_is_opaque(blend->rts[rt].equation))
|
| H A D | panvk_vX_meta_clear.c | 234 cfg.equation.rgb.a = MALI_BLEND_OPERAND_A_SRC; 235 cfg.equation.rgb.b = MALI_BLEND_OPERAND_B_SRC; 236 cfg.equation.rgb.c = MALI_BLEND_OPERAND_C_ZERO; 237 cfg.equation.alpha.a = MALI_BLEND_OPERAND_A_SRC; 238 cfg.equation.alpha.b = MALI_BLEND_OPERAND_B_SRC; 239 cfg.equation.alpha.c = MALI_BLEND_OPERAND_C_ZERO; 242 cfg.equation.color_mask = 0xf; 249 cfg.equation.color_mask =
|
| /xsrc/external/mit/MesaLib/dist/src/amd/common/ |
| H A D | ac_surface_meta_address_test.c | 59 /* equation varies with resource_type, swizzle_mode, 122 const uint16_t *equation, 143 if (equation[i*4+c] != 0) { 144 unsigned mask = equation[i*4+c]; 175 /* equation varies with bpp and pipe_aligned */ 176 const uint16_t *equation, unsigned bpp, 188 return gfx10_meta_addr_from_coord(info, equation, 266 assert(dout.equation.gfx9.num_bits <= ARRAY_SIZE(eq.u.gfx9.bit)); 270 assert(dout.equation.gfx10_bits[i] == 0); 273 assert(dout.equation 120 gfx10_meta_addr_from_coord(const struct radeon_info * info,const uint16_t * equation,unsigned meta_block_width,unsigned meta_block_height,unsigned blkSizeLog2,unsigned meta_pitch,unsigned meta_slice_size,unsigned x,unsigned y,unsigned z,unsigned pipe_xor,unsigned * bit_position) argument 173 gfx10_dcc_addr_from_coord(const struct radeon_info * info,const uint16_t * equation,unsigned bpp,unsigned meta_block_width,unsigned meta_block_height,unsigned dcc_pitch,unsigned dcc_slice_size,unsigned x,unsigned y,unsigned z,unsigned pipe_xor) argument 383 gfx10_htile_addr_from_coord(const struct radeon_info * info,const uint16_t * equation,unsigned meta_block_width,unsigned meta_block_height,unsigned htile_pitch,unsigned htile_slice_size,unsigned x,unsigned y,unsigned z,unsigned pipe_xor) argument 517 gfx10_cmask_addr_from_coord(const struct radeon_info * info,const uint16_t * equation,unsigned bpp,unsigned meta_block_width,unsigned meta_block_height,unsigned cmask_pitch,unsigned cmask_slice_size,unsigned x,unsigned y,unsigned z,unsigned pipe_xor,unsigned * bit_position) argument [all...] |
| H A D | ac_surface.c | 1556 struct gfx9_meta_equation *equation) 1558 equation->meta_block_width = dcc->metaBlkWidth; 1559 equation->meta_block_height = dcc->metaBlkHeight; 1560 equation->meta_block_depth = dcc->metaBlkDepth; 1565 assert(dcc->equation.gfx10_bits[i] == 0); 1567 for (unsigned i = ARRAY_SIZE(equation->u.gfx10_bits) + 4; i < 68; i++) 1568 assert(dcc->equation.gfx10_bits[i] == 0); 1570 memcpy(equation->u.gfx10_bits, dcc->equation.gfx10_bits + 4, 1571 sizeof(equation 1554 ac_copy_dcc_equation(const struct radeon_info * info,ADDR2_COMPUTE_DCCINFO_OUTPUT * dcc,struct gfx9_meta_equation * equation) argument 1586 ac_copy_cmask_equation(const struct radeon_info * info,ADDR2_COMPUTE_CMASK_INFO_OUTPUT * cmask,struct gfx9_meta_equation * equation) argument 1608 ac_copy_htile_equation(const struct radeon_info * info,ADDR2_COMPUTE_HTILE_INFO_OUTPUT * htile,struct gfx9_meta_equation * equation) argument 3013 gfx10_nir_meta_addr_from_coord(nir_builder * b,const struct radeon_info * info,struct gfx9_meta_equation * equation,int blkSizeBias,unsigned blkStart,nir_ssa_def * meta_pitch,nir_ssa_def * meta_slice_size,nir_ssa_def * x,nir_ssa_def * y,nir_ssa_def * z,nir_ssa_def * pipe_xor,nir_ssa_def ** bit_position) argument 3069 gfx9_nir_meta_addr_from_coord(nir_builder * b,const struct radeon_info * info,struct gfx9_meta_equation * equation,nir_ssa_def * meta_pitch,nir_ssa_def * meta_height,nir_ssa_def * x,nir_ssa_def * y,nir_ssa_def * z,nir_ssa_def * sample,nir_ssa_def * pipe_xor,nir_ssa_def ** bit_position) argument 3137 ac_nir_dcc_addr_from_coord(nir_builder * b,const struct radeon_info * info,unsigned bpe,struct gfx9_meta_equation * equation,nir_ssa_def * dcc_pitch,nir_ssa_def * dcc_height,nir_ssa_def * dcc_slice_size,nir_ssa_def * x,nir_ssa_def * y,nir_ssa_def * z,nir_ssa_def * sample,nir_ssa_def * pipe_xor) argument 3157 ac_nir_cmask_addr_from_coord(nir_builder * b,const struct radeon_info * info,struct gfx9_meta_equation * equation,nir_ssa_def * cmask_pitch,nir_ssa_def * cmask_height,nir_ssa_def * cmask_slice_size,nir_ssa_def * x,nir_ssa_def * y,nir_ssa_def * z,nir_ssa_def * pipe_xor,nir_ssa_def ** bit_position) argument 3178 ac_nir_htile_addr_from_coord(nir_builder * b,const struct radeon_info * info,struct gfx9_meta_equation * equation,nir_ssa_def * htile_pitch,nir_ssa_def * htile_slice_size,nir_ssa_def * x,nir_ssa_def * y,nir_ssa_def * z,nir_ssa_def * pipe_xor) argument [all...] |
| H A D | ac_surface.h | 174 * Meta address equation. 176 * DCC/HTILE address equation for doing DCC/HTILE address computations in shaders. 182 * The gfx9 equation doesn't support mipmapping. 183 * The gfx10 equation doesn't support mipmapping and MSAA. 187 * The gfx9 equation isn't implemented. 188 * The gfx10 equation doesn't support mipmapping. 196 /* The gfx9 DCC equation is chip-specific, and it varies with: 217 /* The gfx10 DCC equation is chip-specific, it requires 64KB_R_X, and it varies with: 223 * The gfx10 HTILE equation is chip-specific, it requires 64KB_Z_X, and it varies with: 480 unsigned bpe, struct gfx9_meta_equation *equation, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mapi/glapi/ |
| H A D | glapi_dispatch.c | 104 GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation); 106 GL_API void GL_APIENTRY glGetClipPlanef (GLenum pname, GLfloat *equation); 112 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); 118 GL_API void GL_APIENTRY glGetClipPlanex (GLenum pname, GLfixed *equation);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mapi/glapi/ |
| H A D | glapi_dispatch.c | 108 GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation); 116 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/perf/ |
| H A D | gen_perf.py | 190 def output_rpn_equation_code(set, counter, equation): 191 c("/* RPN equation: " + equation + " */") 192 tokens = equation.split() 212 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name')); 222 counter.get('name') + ".\nThis is probably due to some unhandled RPN function, in the equation \"" + 223 equation + "\"") 278 read_eq = counter.get('equation') 446 # Compute the hash of a counter's equation b [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/perf/ |
| H A D | gen_perf.py | 198 def output_rpn_equation_code(set, counter, equation): 199 c("/* RPN equation: " + equation + " */") 200 tokens = equation.split() 220 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name')); 230 counter.get('name') + ".\nThis is probably due to some unhandled RPN function, in the equation \"" + 231 equation + "\"") 286 read_eq = counter.get('equation') 501 # Compute the hash of a counter's equation b [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/r800/ |
| H A D | egbaddrlib.cpp | 1447 * Computes the address equation in macro tile 1449 * If equation can be computed 1462 // Element equation within a tile 1487 ADDR_EQUATION equation; local in function:Addr::V1::EgBasedLib::ComputeMacroTileEquation 1488 memset(&equation, 0, sizeof(ADDR_EQUATION)); 1504 // Pipe equation 1505 retCode = ComputePipeEquation(log2BytesPP, thresholdX, thresholdY, pTileInfo, &equation); 1517 pEquation->addr[pEquation->numBits + equation.numBits - i - 1] = 1519 pEquation->xor1[pEquation->numBits + equation.numBits - i - 1] = 1521 pEquation->xor2[pEquation->numBits + equation [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/r800/ |
| H A D | egbaddrlib.cpp | 1444 * Computes the address equation in macro tile 1446 * If equation can be computed 1459 // Element equation within a tile 1484 ADDR_EQUATION equation; local in function:Addr::V1::EgBasedLib::ComputeMacroTileEquation 1485 memset(&equation, 0, sizeof(ADDR_EQUATION)); 1501 // Pipe equation 1502 retCode = ComputePipeEquation(log2BytesPP, thresholdX, thresholdY, pTileInfo, &equation); 1514 pEquation->addr[pEquation->numBits + equation.numBits - i - 1] = 1516 pEquation->xor1[pEquation->numBits + equation.numBits - i - 1] = 1518 pEquation->xor2[pEquation->numBits + equation [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| H A D | pan_context.h | 242 struct mali_blend_equation equation; member in struct:panfrost_blend_state
|