| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| clip.h | 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
| clip.c | 57 GLfloat equation[4]; local 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); [all...] |
| 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);
|
| es1_conversion.c | 53 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) 59 converted_equation[i] = (GLdouble) (equation[i]); 66 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation) 72 converted_equation[i] = (GLdouble) (equation[i] / 65536.0); 203 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation) 210 equation[i] = (GLfloat) (converted_equation[i]); 215 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) 222 equation[i] = (GLfixed) (converted_equation[i] * 65536);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| clip.h | 42 _mesa_ClipPlane( GLenum plane, const GLdouble *equation ); 45 _mesa_GetClipPlane( GLenum plane, GLdouble *equation );
|
| clip.c | 56 GLfloat equation[4]; local 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); [all...] |
| 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);
|
| es1_conversion.c | 54 _mesa_ClipPlanef(GLenum plane, const GLfloat *equation) 60 converted_equation[i] = (GLdouble) (equation[i]); 67 _mesa_ClipPlanex(GLenum plane, const GLfixed *equation) 73 converted_equation[i] = (GLdouble) (equation[i] / 65536.0); 204 _mesa_GetClipPlanef(GLenum plane, GLfloat *equation) 211 equation[i] = (GLfloat) (converted_equation[i]); 216 _mesa_GetClipPlanex(GLenum plane, GLfixed *equation) 223 equation[i] = (GLfixed) (converted_equation[i] * 65536);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/lib/ |
| 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, 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.alpha_src_factor [all...] |
| 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/ |
| pan_blend_cso.h | 49 uint32_t equation[PIPE_MAX_COLOR_BUFS]; member in struct:panfrost_blend_state
|
| pan_cmdstream.c | 318 /* Word 1: Blend Equation */ 320 packed->opaque[PAN_ARCH >= 6 ? 1 : 2] = so->equation[i]; 539 /* Word 14: SFBD Blend Equation */ 541 rsd.opaque[14] = ctx->blend->equation[0]; 3444 struct pan_blend_equation equation = {0}; local 3446 equation.color_mask = pipe.colormask; 3447 equation.blend_enable = pipe.blend_enable; 3450 equation.rgb_func = util_blend_func_to_shader(pipe.rgb_func); 3451 equation.rgb_src_factor = util_blend_factor_to_shader(pipe.rgb_src_factor); 3452 equation.rgb_invert_src_factor = util_blend_factor_is_inverted(pipe.rgb_src_factor) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/ |
| 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.alpha_invert_src_factor [all...] |
| 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.alpha_func = translate_blend_op(in->alphaBlendOp) [all...] |
| 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))
|
| 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/ |
| 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.gfx10_bits[i] == 0) [all...] |
| 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->u.gfx10_bits)) [all...] |
| 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/ |
| 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/ |
| 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/dist/src/amd/addrlib/src/r800/ |
| egbaddrlib.cpp | 1444 * Computes the address equation in macro tile 1446 * If equation can be computed 1454 ADDR_EQUATION* pEquation ///< [out] Equation for addressing in macro tile 1459 // Element equation within a tile 1484 ADDR_EQUATION equation; 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] [all...] |
| siaddrlib.cpp | 63 // We don't support MSAA for equation 210 * Compute bank equation 213 * If equation can be computed 221 ADDR_EQUATION* pEquation ///< [out] bank equation 439 * Compute pipe equation 442 * If equation can be computed 3605 * Initialize Equation table. 3640 // in swizzle pattern equation 3648 // Generate swizzle equation key from bpp and tile config 3652 // because they have the same equation actuall [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/r800/ |
| egbaddrlib.cpp | 1447 * Computes the address equation in macro tile 1449 * If equation can be computed 1457 ADDR_EQUATION* pEquation ///< [out] Equation for addressing in macro tile 1462 // Element equation within a tile 1487 ADDR_EQUATION equation; 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] [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| pan_context.h | 242 struct mali_blend_equation equation; member in struct:panfrost_blend_state
|