search for: tex_type

Displaying 6 results from an estimated 6 matches for "tex_type".

Did you mean: kex_type
2009 Mar 02
0
[PATCH 3 of 13] remove bgr
...or *sdl_cursor_normal; static SDL_Cursor *sdl_cursor_hidden; static int absolute_enabled = 0; static int opengl_enabled; +static uint8_t bgr; static void sdl_colourdepth(DisplayState *ds, int depth); @@ -119,7 +120,7 @@ static void opengl_setdata(DisplayState *ds, void *pixels) tex_type = GL_UNSIGNED_BYTE; break; case 32: - if (!ds->bgr) { + if (!bgr) { tex_format = GL_BGRA; tex_type = GL_UNSIGNED_BYTE; } else { @@ -275,9 +276,9 @@ static void sdl_resize_shared(DisplayState *ds, int w, in...
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...ing; static int gui_saved_grab; @@ -52,17 +53,15 @@ static SDL_Cursor *sdl_cursor_hidden; static int absolute_enabled = 0; static int opengl_enabled; -static uint8_t bgr; - -static void sdl_colourdepth(DisplayState *ds, int depth); #ifdef CONFIG_OPENGL static GLint tex_format; static GLint tex_type; static GLuint texture_ref = 0; static GLint gl_format; +static uint8_t bgr; -static void opengl_setdata(DisplayState *ds, void *pixels) +static void opengl_setdata(DisplayState *ds) { glEnable(GL_TEXTURE_RECTANGLE_ARB); glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); @@...
2017 Jun 11
0
[RFC 4/9] tgsi: populate precise
...0, src, num_src); + ureg_insn(ureg, inst->op, NULL, 0, src, num_src, inst->precise); return; case TGSI_OPCODE_TEX: @@ -5935,7 +5935,7 @@ compile_tgsi_instruction(struct st_translate *t, tex_target, st_translate_texture_type(inst->tex_type), texoffsets, inst->tex_offset_num_offset, - src, num_src); + src, num_src, inst->precise); return; case TGSI_OPCODE_RESQ: @@ -5966,7 +5966,7 @@ compile_tgsi_instruction(struct st_translate *t, assert(src[0].File !...
2018 Apr 13
0
Wine release 3.6
...Implement WTSFreeMemory. wtsapi32: Improve the stub for WTSQuerySessionInformationW. crypt32: Return success from the CERT_STORE_CTRL_NOTIFY_CHANGE stub. Henri Verbeet (4): wined3d: Get rid of the "binding" field from struct blt_info. wined3d: Get rid of the "tex_type" field from struct blt_info. wined3d: Select the correct texture level in draw_textured_quad(). wined3d: Invalidate the texture's U/V address modes in draw_textured_quad(). Huw D. M. Davies (1): user32: Avoid using the comma operator in a while condition. Ivan Kalvachev...
2015 Apr 03
0
Wine release 1.7.40
...ext private data for fragment pipelines. wined3d: Avoid constant collision in atifs. ddraw/tests: Make sure color keying is on in test_texturemapblend. ddraw/tests: Port test_color_fill to earlier versions. wined3d: Implement per stage constants in atifs. wined3d: Give tex_type and its values a better name. wined3d: Pass a wined3d_ffp_texture_type enum to blit shader functions. wined3d: Use bitfields in struct arbfp_blit_type. wined3d: Pass a struct arbfp_blit_type to the blit shader generation functions. wined3d: Define a constant for the blit tex...
2017 Jun 11
14
[RFC 0/9] Add precise/invariant semantics to TGSI
Running Tomb Raider on Nouveau I found some flicker caused by ignoring precise modifiers on variables inside Nouveau. This series add precise/invariant handling to TGSI, which can be then used by drivers to disable certain unsafe optimisations which may otherwise alter calculations, which depend on having the same result across shaders. This series fixes this bug in Tomb Raider and one CTS test