- 30 Jan, 2012 7 commits
-
-
Benjamin Franzke authored
Prior commit 57616128, the parameter format was bpp, thus both 24bit and 32bit formats were requested with format set to 32. Handle 24bit seperately now. Fixes RGBX formats in wayland platform for egl_dri2 (EGL_ALPHA_SIZE=0). Note: This is a candidate for the 8.0 branch.
-
Dave Airlie authored
This just copies what the LUMINANCE_ALPHA bits do. Fixes piglit tests on softpipe complaining about missing unpack. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
Cayman needs some of the MUL instructions spread across a full slot of vectors. It also no longer has RECIP_UINT, the recommendation is to replace it with a U2F + RECIP_IEEE + MUL + F2U. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
-
Dave Airlie authored
-
Marek Olšák authored
-
Marek Olšák authored
-
- 29 Jan, 2012 8 commits
-
-
Brian Paul authored
-
to fix the header file missing when building wayland-egl
-
Christoph Bumiller authored
-
Matt Turner authored
DRI_LIB_DEPS is sufficient since it includes DRICORE_LIB_DEPS
-
Marek Olšák authored
The warning is absolutely useless. It doesn't actually say that there are uninitialized variables. It points out the fact that there are missing initializers and that variables are initialized to zero implicitly, which is exactly what we want and what we commonly make use of. C90 and C99 require all unspecified variables in the initializer list to be set to zero.
-
Marek Olšák authored
The check for ctx->API was unnecessary, because OES extensions are not exposed in desktop GL. Also require renderbuffer support for ARB_texture_rgb10_a2ui, as per the spec. Tested by comparing old and new glxinfo with softpipe and r600g. v2: fix bugs v3: rename need_only_one -> need_at_least_one rename num_elements -> num_mappings add comments use const when appropriate Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Marek Olšák authored
This change is not exactly equivalent (sometimes we checked for non-zero, sometimes if >0 or >1), but the behavior shouldn't change, because all drivers report 0 for unsupported CAPs. Exposing CAP_STREAM_OUTPUT_PAUSE_RESUME without CAP_MAX_STREAM_OUTPUT_BUFFERS is a driver bug and st/mesa does no checking if the latter is supported as well. Drivers must report CAPs consistently. v2: make the array const
-
Marek Olšák authored
v2: handle the cap in r300 and r600 as well Additional info for r600g: The env var R600_GLSL130=1 enables GLSL 1.3. Along with R600_STREAMOUT=1, it enables full GL 3.
-
- 28 Jan, 2012 19 commits
-
-
Mathias Fröhlich authored
Fix an access to uninitialized memory pointed out by valgrind in glsl_to_tgsi_visitor::simplify_cmp(void). Note: This is a candidate for the 8.0 branch. Signed-off-by:
Mathias Fröhlich <Mathias.Froehlich@web.de>
-
Vinson Lee authored
Fix this GCC warning. draw_pipe_clip.c: In function ‘interp’: draw_pipe_clip.c:122:13: warning: variable ‘clip_dist’ set but not used [-Wunused-but-set-variable] Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Vadim Girlin authored
Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Yuanhan Liu authored
When rendering to FBO, rendering is inverted. At the same time, we would also make sure the point sprite origin is inverted. Or, we will get an inverted result correspoinding to rendering to the default winsys FBO. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44613 NOTE: This is a candidate for stable release branches. v2: add the simliar logic to ivb, too (comments from Ian) simplify the logic operation (comments from Brian) v3: pick a better comment from Eric use != for the logic instead of ^ (comments from Ian) Signed-off-by:
Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
Brian Paul authored
It's handled by _mesa_format_matches_format_and_type() now. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
For rgb9_e5, r11_g11_b10f, argb2101010_uint functions. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
For rgb332, signed rgba8888, signed rgba888_rev functions. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
For rgba5551, argb1555, argb2101010 formats. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
For rgb565, argb8888, rgb888, argb4444 functions.
-
Brian Paul authored
This simplifies the code quite a bit, consolidates some cases and possibly catches more cases for the memcpy path. More such changes will follow. Do just a few at a time to help bisect any possible regressions. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
This will let us use memcpy in more situations. We can also remove the checks for byte spapping that happen before the calls to _mesa_format_matches_format_and_type(). Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
Not actually used yet though. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
In preparation for adding GL_PACK/UNPACK_SWAP_BYTES support. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
The outer conditional already did the test. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Brian Paul authored
GL_UNPACK_LSB_FIRST only applies to bitmap data, not glReadPixels. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Chad Versace authored
In a recent commit, commit 1c0f1dd4 Author: Chad Versace <chad.versace@linux.intel.com> swrast: Fix fixed-function fragment processing I defined a new function,_swrast_fragment_program, but neglected to #include s_fragprog.h for clients of that function. Note: This is a candidate for the 8.0 branch. Reported-by:
Brian Paul <brianp@vmware.com> Signed-off-by:
Chad Versace <chad.versace@linux.intel.com>
-
- 27 Jan, 2012 6 commits
-
-
Alex Deucher authored
The evergreen+ CB no longer supports the following formats compared to 6xx/7xx: - COLOR_4_4 - COLOR_3_3_2 - COLOR_6_5_5 - COLOR_8_24_FLOAT - COLOR_24_8_FLOAT - COLOR_11_11_10 - COLOR_11_11_10_FLOAT Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Jose Fonseca authored
Should fix MSVC build.
-
Chad Versace authored
On i965, _mesa_ir_link_shader is never called. As a consequence, the current fragment program (ctx->FragmentProgram->_Current) exists but is invalid because it has no instructions. Yet swrast continued to attempt to use the empty program. To avoid using the empty program, this patch 1) defines a new function, _swrast_use_fragment_program, which checks if the current fragment program exists and differs from the fixed function fragment program, and, when appropriate, 2) replaces checks of the form if (ctx->FragmentProgram->_Current == NULL) with if (_swrast_use_fragment_program(ctx)) Fixes the following oglconform regressions on i965/gen6: api-fogcoord(basic.allCases.log) api-mtexcoord(basic.allCases.log) api-seccolor(basic.allCases.log) api-texcoord(basic.allCases.log) blend-separate(basic.allCases) colorsum(basic.allCases.log) The tests were ran with the GLXFBConfig: visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat ---------------------------------------------------------------------------- 0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None (Note: I originally believed that the hunk in _swrast_update_fragment_program was unnecessary. But it is required to fix blend-separate.) Note: This is a candidate for the 8.0 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43327 Reveiwed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Ian Romanick <idr@freedesktop.org> Signed-off-by:
Chad Versace <chad.versace@linux.intel.com>
-
Anuj Phogat authored
Color clamping should be enabled in glGetTexImage if texture dataType is GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_LUMINANCE_ALPHA Fixes 2 Intel oglconform test cases: pxconv-gettex and pxtrans-gettex https://bugs.freedesktop.org/show_bug.cgi?id=40864 NOTE: This is a candidate for the 8.0 branch Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Emma Anholt authored
This was losing bits of precision. Fixes (with the previous commits): piglit EXT_texture_integer/getteximage-clamping piglit EXT_texture_integer/getteximage-clamping GL_ARB_texture_rg oglc advanced.mipmap.upload Regresses oglc negative.typeFormatMismatch.teximage from fail to abort, because it's been hitting texstore for a format/type combo that shouldn't happen. NOTE: This is a candidate for the 8.0 branch. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Emma Anholt authored
In the core, we always treat spans of int/uint data as uint, so this extract function was truncating storage of integer pixel data to a n int texture to (0, max_int) instead of (min_int, max_int). There is probably missing code for handling truncation on conversion between pixel formats, still, but this does improve things. NOTE: This is a candidate for the 8.0 branch. Reviewed-by:
Brian Paul <brianp@vmware.com>
-