Searched refs:fixup (Results 1 - 25 of 30) sorted by relevance

12

/vbox/src/recompiler/tcg/
H A Dtcg-dyngen.c280 struct ia64_fixup *fixup = alloca(sizeof(*fixup)); \
281 fixup->next = plt_fixes; \
282 plt_fixes = fixup; \
283 fixup->addr = (insn); \
284 fixup->value = (plt_index); \
291 struct ia64_fixup *fixup = alloca(sizeof(*fixup)); \
292 fixup->next = ltoff_fixes; \
293 ltoff_fixes = fixup; \
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dutils.c103 void dump_color_fixup_desc(struct color_fixup_desc fixup) argument
H A Dglsl_shader.c794 * Loads the texture dimensions for NP2 fixup into the currently set GLSL program.
811 /* NP2 texcoord fixup is (currently) only done for pixelshaders. */
819 UINT fixup = prog->ps_args.np2_fixup; local
824 for (i = 0; fixup; fixup >>= 1, ++i) {
830 FIXME("Nonexistent texture is flagged for NP2 texcoord fixup\n");
884 /* Upload the position fixup params */
1056 * uniforms privately. E.g. if GL supports 256 uniforms, and we need 2 for the pos fixup and immediate values, still
1231 /* Declare uniforms for NP2 texcoord fixup:
1232 * This is NOT done inside the loop that declares the texture samplers since the NP2 fixup cod
1237 struct ps_np2fixup_info* const fixup = ctx_priv->cur_np2fixup_info; local
1703 shader_glsl_swizzle_to_str(const DWORD swizzle, BOOL fixup, DWORD mask, char *str) argument
1719 shader_glsl_get_swizzle(const struct wined3d_shader_src_param *param, BOOL fixup, DWORD mask, char *swizzle_str) argument
1996 shader_glsl_color_correction(const struct wined3d_shader_instruction *ins, struct color_fixup_desc fixup) argument
2067 struct color_fixup_desc fixup; local
5336 shader_glsl_color_fixup_supported(struct color_fixup_desc fixup) argument
[all...]
H A Dwined3d_private.h140 struct color_fixup_desc fixup = local
147 return fixup;
152 struct color_fixup_desc fixup = local
159 return fixup;
162 static inline BOOL is_identity_fixup(struct color_fixup_desc fixup) argument
164 return !memcmp(&fixup, &COLOR_FIXUP_IDENTITY, sizeof(fixup));
167 static inline BOOL is_complex_fixup(struct color_fixup_desc fixup) argument
169 return fixup.x_source == CHANNEL_SOURCE_COMPLEX0 || fixup
172 get_complex_fixup(struct color_fixup_desc fixup) argument
[all...]
H A Dshader.c1437 static BOOL shader_none_color_fixup_supported(struct color_fixup_desc fixup) argument
1441 TRACE("Checking support for fixup:\n");
1442 dump_color_fixup_desc(fixup);
1446 if (!is_complex_fixup(fixup))
2068 /* Flag samplers that need NP2 texcoord fixup. */
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dati_fragment_shader.c442 struct color_fixup_desc fixup; local
450 fixup = op[stage].color_fixup;
451 if (fixup.x_source != CHANNEL_SOURCE_X || fixup.y_source != CHANNEL_SOURCE_Y)
460 argmodextra_x = fixup.x_sign_fixup ? GL_2X_BIT_ATI | GL_BIAS_BIT_ATI : GL_NONE;
461 argmodextra_y = fixup.y_sign_fixup ? GL_2X_BIT_ATI | GL_BIAS_BIT_ATI : GL_NONE;
1200 static BOOL atifs_color_fixup_supported(struct color_fixup_desc fixup) argument
1204 TRACE("Checking support for fixup:\n");
1205 dump_color_fixup_desc(fixup);
1208 /* We only support sign fixup o
[all...]
H A Darb_program_shader.c188 * With both GLSL and ARB mode the NP2 fixup information (the texture dimensions) are stored in a
380 /* We use one PARAM for the pos fixup, and in some cases one to load
511 * Loads the texture dimensions for NP2 fixup into the currently set ARB_[vertex/fragment]_programs.
518 /* NP2 texcoord fixup is (currently) only done for pixelshaders. */
522 const struct arb_ps_np2fixup_info* const fixup = &priv->compiled_fprog->np2fixup_info; local
524 WORD active = fixup->super.active;
530 const unsigned char idx = fixup->super.idx[i];
536 FIXME("Nonexistent texture is flagged for NP2 texcoord fixup\n");
552 for (i = 0; i < fixup->super.num_consts; ++i) {
554 fixup
959 shader_arb_get_swizzle(const struct wined3d_shader_src_param *param, BOOL fixup, char *swizzle_str) argument
1291 gen_color_correction(struct wined3d_shader_buffer *buffer, const char *reg, DWORD dst_mask, const char *one, const char *two, struct color_fixup_desc fixup) argument
3853 struct arb_ps_np2fixup_info* const fixup = priv_ctx.cur_np2fixup_info; local
5133 shader_arb_color_fixup_supported(struct color_fixup_desc fixup) argument
6808 gen_planar_yuv_read(struct wined3d_shader_buffer *buffer, enum complex_fixup fixup, GLenum textype, char *luminance) argument
7310 enum complex_fixup fixup; local
[all...]
H A Dglsl_shader.c740 /* NP2 texcoord fixup is (currently) only done for pixelshaders. */
746 UINT fixup = prog->ps.np2_fixup_info->active; local
749 for (i = 0; fixup; fixup >>= 1, ++i)
757 ERR("Nonexistent texture is flagged for NP2 texcoord fixup.\n");
814 /* Upload the position fixup params */
1022 * E.g. if GL supports 256 uniforms, and we need 2 for the pos fixup
1157 /* Declare uniforms for NP2 texcoord fixup:
1159 * since the NP2 fixup code is currently only used for the GeforceFX
1164 struct ps_np2fixup_info *fixup local
1752 shader_glsl_swizzle_to_str(const DWORD swizzle, BOOL fixup, DWORD mask, char *str) argument
1768 shader_glsl_get_swizzle(const struct wined3d_shader_src_param *param, BOOL fixup, DWORD mask, char *swizzle_str) argument
2212 shader_glsl_color_correction_ext(struct wined3d_shader_buffer *buffer, const char *reg_name, DWORD mask, struct color_fixup_desc fixup) argument
2266 shader_glsl_color_correction(const struct wined3d_shader_instruction *ins, struct color_fixup_desc fixup) argument
2281 struct color_fixup_desc fixup; local
6557 shader_glsl_color_fixup_supported(struct color_fixup_desc fixup) argument
[all...]
H A Dwined3d_private.h149 struct color_fixup_desc fixup = local
156 return fixup;
161 struct color_fixup_desc fixup = local
168 return fixup;
171 static inline BOOL is_identity_fixup(struct color_fixup_desc fixup) argument
173 return !memcmp(&fixup, &COLOR_FIXUP_IDENTITY, sizeof(fixup));
176 static inline BOOL is_complex_fixup(struct color_fixup_desc fixup) argument
178 return fixup.x_source == CHANNEL_SOURCE_COMPLEX0 || fixup
181 get_complex_fixup(struct color_fixup_desc fixup) argument
[all...]
H A Dutils.c1717 * V16U16 is only supported by GL_NV_texture_shader. The formats need fixup if
1721 * V8U8 and V16U16 need a fixup of the undefined blue channel. OpenGL
2718 static const char *debug_complex_fixup(enum complex_fixup fixup) argument
2720 switch(fixup)
2729 FIXME("Unrecognized complex fixup %#x\n", fixup);
2734 void dump_color_fixup_desc(struct color_fixup_desc fixup) argument
2736 if (is_complex_fixup(fixup))
2738 TRACE("\tComplex: %s\n", debug_complex_fixup(get_complex_fixup(fixup)));
2742 TRACE("\tX: %s%s\n", debug_fixup_channel_source(fixup
[all...]
H A Dnvidia_texture_shader.c767 static BOOL nvts_color_fixup_supported(struct color_fixup_desc fixup) argument
771 TRACE("Checking support for fixup:\n");
772 dump_color_fixup_desc(fixup);
776 if (is_identity_fixup(fixup))
H A Dstate.c515 /* Colorkey fixup for stage 0 alphaop depends on
3254 * The fixup is required for Prince of Persia 3D(prison bars), while Moto racer 2 requires
3351 /* NP2 texcoord fixup is implemented for pixelshaders so only enable the
3352 fixed-function-pipeline fixup via pow2Matrix when no PS is used. */
3355 TRACE("Non power two matrix multiply fixup\n");
3627 * wined3d_texture_apply_state_changes() multiplies the set matrix with a fixup matrix. Before the
3706 /* Trigger shader constant reloading (for NP2 texcoord fixup) */
4773 /* Update the position fixup. */
5776 static BOOL ffp_color_fixup_supported(struct color_fixup_desc fixup) argument
5780 TRACE("Checking support for fixup
5832 fp_none_color_fixup_supported(struct color_fixup_desc fixup) argument
[all...]
H A Dshader.c1616 static BOOL shader_none_color_fixup_supported(struct color_fixup_desc fixup) argument
1618 /* We "support" every possible fixup, since we don't support any shader
2167 /* Flag samplers that need NP2 texcoord fixup. */
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dati_fragment_shader.c443 struct color_fixup_desc fixup; local
449 fixup = op[stage].color_fixup;
450 if (fixup.x_source != CHANNEL_SOURCE_X || fixup.y_source != CHANNEL_SOURCE_Y)
459 argmodextra_x = fixup.x_sign_fixup ? GL_2X_BIT_ATI | GL_BIAS_BIT_ATI : GL_NONE;
460 argmodextra_y = fixup.y_sign_fixup ? GL_2X_BIT_ATI | GL_BIAS_BIT_ATI : GL_NONE;
1165 static BOOL atifs_color_fixup_supported(struct color_fixup_desc fixup) argument
1169 TRACE("Checking support for fixup:\n");
1170 dump_color_fixup_desc(fixup);
1173 /* We only support sign fixup o
[all...]
H A Dglsl_shader.c777 * Loads the texture dimensions for NP2 fixup into the currently set GLSL program.
794 /* NP2 texcoord fixup is (currently) only done for pixelshaders. */
802 UINT fixup = prog->ps_args.np2_fixup; local
807 for (i = 0; fixup; fixup >>= 1, ++i) {
813 FIXME("Nonexistent texture is flagged for NP2 texcoord fixup\n");
867 /* Upload the position fixup params */
1035 * uniforms privately. E.g. if GL supports 256 uniforms, and we need 2 for the pos fixup and immediate values, still
1209 /* Declare uniforms for NP2 texcoord fixup:
1210 * This is NOT done inside the loop that declares the texture samplers since the NP2 fixup cod
1215 struct ps_np2fixup_info* const fixup = ctx_priv->cur_np2fixup_info; local
1656 shader_glsl_swizzle_to_str(const DWORD swizzle, BOOL fixup, DWORD mask, char *str) argument
1672 shader_glsl_get_swizzle(const struct wined3d_shader_src_param *param, BOOL fixup, DWORD mask, char *swizzle_str) argument
1949 shader_glsl_color_correction(const struct wined3d_shader_instruction *ins, struct color_fixup_desc fixup) argument
2020 struct color_fixup_desc fixup; local
5195 shader_glsl_color_fixup_supported(struct color_fixup_desc fixup) argument
[all...]
H A Darb_program_shader.c122 /* We use one PARAM for the pos fixup, and in some cases one to load
162 * With both GLSL and ARB mode the NP2 fixup information (the texture dimensions) are stored in a
434 * Loads the texture dimensions for NP2 fixup into the currently set ARB_[vertex/fragment]_programs.
447 /* NP2 texcoord fixup is (currently) only done for pixelshaders. */
452 const struct arb_ps_np2fixup_info* const fixup = &priv->compiled_fprog->np2fixup_info; local
454 WORD active = fixup->super.active;
458 const unsigned char idx = fixup->super.idx[i];
465 FIXME("Nonexistent texture is flagged for NP2 texcoord fixup\n");
476 for (i = 0; i < fixup->super.num_consts; ++i) {
478 fixup
831 shader_arb_get_swizzle(const struct wined3d_shader_src_param *param, BOOL fixup, char *swizzle_str) argument
1171 gen_color_correction(struct wined3d_shader_buffer *buffer, const char *reg, DWORD dst_mask, const char *one, const char *two, struct color_fixup_desc fixup) argument
3569 struct arb_ps_np2fixup_info* const fixup = priv_ctx.cur_np2fixup_info; local
4713 shader_arb_color_fixup_supported(struct color_fixup_desc fixup) argument
6309 gen_planar_yuv_read(struct wined3d_shader_buffer *buffer, enum complex_fixup fixup, GLenum textype, char *luminance) argument
6804 enum complex_fixup fixup; local
[all...]
H A Dwined3d_private.h129 struct color_fixup_desc fixup = local
136 return fixup;
141 struct color_fixup_desc fixup = local
148 return fixup;
151 static inline BOOL is_identity_fixup(struct color_fixup_desc fixup) argument
153 return !memcmp(&fixup, &COLOR_FIXUP_IDENTITY, sizeof(fixup));
156 static inline BOOL is_complex_fixup(struct color_fixup_desc fixup) argument
158 return fixup.x_source == CHANNEL_SOURCE_COMPLEX0 || fixup
161 get_complex_fixup(struct color_fixup_desc fixup) argument
[all...]
H A Dutils.c1354 * V16U16 is only supported by GL_NV_texture_shader. The formats need fixup if
1358 * V8U8 and V16U16 need a fixup of the undefined blue channel. OpenGL
2222 static const char *debug_complex_fixup(enum complex_fixup fixup) argument
2224 switch(fixup)
2233 FIXME("Unrecognized complex fixup %#x\n", fixup);
2238 void dump_color_fixup_desc(struct color_fixup_desc fixup) argument
2240 if (is_complex_fixup(fixup))
2242 TRACE("\tComplex: %s\n", debug_complex_fixup(get_complex_fixup(fixup)));
2246 TRACE("\tX: %s%s\n", debug_fixup_channel_source(fixup
[all...]
H A Dnvidia_texture_shader.c705 static BOOL nvts_color_fixup_supported(struct color_fixup_desc fixup) argument
709 TRACE("Checking support for fixup:\n");
710 dump_color_fixup_desc(fixup);
714 if (is_identity_fixup(fixup))
H A Dshader.c1435 static BOOL shader_none_color_fixup_supported(struct color_fixup_desc fixup) argument
1439 TRACE("Checking support for fixup:\n");
1440 dump_color_fixup_desc(fixup);
1444 if (!is_complex_fixup(fixup))
2062 /* Flag samplers that need NP2 texcoord fixup. */
H A Ddevice.c193 BOOL use_vshader, struct wined3d_stream_info *stream_info, BOOL *fixup)
249 if (fixup)
251 if (buffer_object) *fixup = TRUE;
252 else if (*fixup && !use_vshader
432 BOOL fixup = FALSE; local
444 device_stream_info_from_declaration(device, vs, stream_info, &fixup);
449 if (((IWineD3DVertexDeclarationImpl *)stateblock->vertexDecl)->half_float_conv_needed && !fixup)
465 if ((stream_info->position_transformed || (stream_info->use_map & slow_mask)) && !fixup)
192 device_stream_info_from_declaration(IWineD3DDeviceImpl *This, BOOL use_vshader, struct wined3d_stream_info *stream_info, BOOL *fixup) argument
H A Dstate.c454 /* colorkey fixup for stage 0 alphaop depends on WINED3DRS_ALPHABLENDENABLE state,
3124 * The fixup is required for Prince of Persia 3D(prison bars), while Moto racer 2 requires
3219 /* NP2 texcoord fixup is implemented for pixelshaders so only enable the
3220 fixed-function-pipeline fixup via pow2Matrix when no PS is used. */
3222 TRACE("Non power two matrix multiply fixup\n");
3508 * basetexture_apply_state_changes() multiplies the set matrix with a fixup matrix. Before the
3581 /* Trigger shader constant reloading (for NP2 texcoord fixup) */
5605 static BOOL ffp_color_fixup_supported(struct color_fixup_desc fixup) argument
5609 TRACE("Checking support for fixup:\n");
5610 dump_color_fixup_desc(fixup);
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/x86/rtasm/
H A Dx86sse.h102 /* Labels, jumps and fixup:
118 unsigned char *fixup );
/vbox/src/VBox/VMM/VMMR3/
H A DPATMA.asm159 ; Emit a fixup.
160 ; @param %1 The fixup type.
168 ; Emit a fixup with extra info.
169 ; @param %1 The fixup type.
170 ; @param %2 The extra fixup info.
180 ; This terminates the function and fixup array.
188 ; Terminate the fixup array.
2120 push PATM_ASMFIX_FIXUP ; fixup for jump table below
2165 push PATM_ASMFIX_FIXUP ; fixup for jump table below
2214 push PATM_ASMFIX_FIXUP ; fixup fo
[all...]
/vbox/src/VBox/HostDrivers/Support/os2/
H A DSUPDrvA-os2.asm925 %if 0 ; wlink generates a non-aliased fixup here which results in 16-bit offset with the flat 32-bit selector.

Completed in 513 milliseconds

12