[Mesa-dev] [PATCH 05/10] swrast: rename texture fetch functions (pt. 4)

2014-04-05 Thread Brian Paul
sed commands: s/signed_rg1616/R16G16_SNORM/g s/signed_rg88_rev/R8G8_SNORM/g s/signed_al88/L8A8_SNORM/g s/signed_a8/A_SNORM8/g s/signed_a16/A_SNORM16/g s/signed_l8/L_SNORM8/g s/signed_l16/L_SNORM16/g s/signed_i8/I_SNORM8/g s/signed_i16/I_SNORM16/g s/signed_r8/R_SNORM8/g s/signed_r16/R_SNORM16/g s/si

[Mesa-dev] [PATCH 03/10] swrast: rename texture fetch functions (pt. 2)

2014-04-05 Thread Brian Paul
Rename functions to match format names. sed commands: s/f_al1616_rev/A16L16_UNORM/g s/f_al1616/L16A16_UNORM/g s/f_rgb565_rev/R5G6B5_UNORM/g s/f_rgb565/B5G6R5_UNORM/g s/f_argb_rev/A4R4G4B4_UNORM/g s/f_argb/B4G4R4A4_UNORM/g s/f_rgba5551/A1B5G5R5_UNORM/g s/f_argb1555_rev/A1R5G5B5_UNORM/g s/f_

[Mesa-dev] [PATCH 02/10] swrast: rename texture fetch functions (pt. 1)

2014-04-05 Thread Brian Paul
Rename functions to match format names. sed commands: s/signed_rgba_rev/R8G8B8A8_SNORM/g s/signed_rgba/A8B8G8R8_SNORM/g s/f_rgba_rev/R8G8B8A_UNORM/g s/f_rgba/A8B8G8R8_UNORM/g s/f_rgbx_rev/R8G8B8X8_UNORM/g s/f_rgbx/X8B8G8R8_UNORM/g s/f_argb_rev/A8R8G8B8_UNORM/g s/f_argb8

[Mesa-dev] [PATCH 10/10] swrast: reindent s_texfetch_temp.h, remove trailing whitespace

2014-04-05 Thread Brian Paul
--- src/mesa/swrast/s_texfetch_tmp.h | 443 ++ 1 file changed, 261 insertions(+), 182 deletions(-) diff --git a/src/mesa/swrast/s_texfetch_tmp.h b/src/mesa/swrast/s_texfetch_tmp.h index 9c3033b..b1981e4 100644 --- a/src/mesa/swrast/s_texfetch_tmp.h +++ b/src/m

[Mesa-dev] [PATCH 04/10] swrast: rename texture fetch functions (pt. 3)

2014-04-05 Thread Brian Paul
Rename functions to match format names. sed commands: s/f_rg1616_rev/G16R16_UNORM/g s/f_rg1616/R16G16_UNORM/g s/f_argb2101010/B10G10R10A2_UNORM/g s/f_a8/A_UNORM8/g s/f_a16/A_UNORM16/g s/f_i8/I_UNORM8/g s/f_i16/I_UNORM16/g s/f_r8/R_UNORM8/g s/f_r16/R_UNORM16/g s/f_rgb888/BGR_UNORM8/g s/f_bgr888/RGB

[Mesa-dev] [PATCH 07/10] swrast: rename texture fetch functions (pt. 6)

2014-04-05 Thread Brian Paul
sed commands: s/rgb9_e5/R9G9B9E5_FLOAT/g s/r11_g11_b10f/R11G11B10_FLOAT/g s/f_alpha_f16/A_FLOAT16/g s/f_alpha_f32/A_FLOAT32/g s/f_luminance_f16/L_FLOAT16/g s/f_luminance_f32/L_FLOAT32/g s/f_luminance_alpha_f16/LA_FLOAT16/g s/f_luminance_alpha_f32/LA_FLOAT32/g s/f_intensity_f16/I_FLOAT16/g s/f_inten

[Mesa-dev] [PATCH 06/10] swrast: rename texture fetch functions (pt. 5)

2014-04-05 Thread Brian Paul
sed commands: s/srgba8/A8B8G8R8_SRGB/g s/sargb8/B8G8R8A8_SRGB/g s/sabgr8/R8G8B8A8_SRGB/g s/sxbgr8/R8G8B8X8_SRGB/g s/sla8/L8A8_SRGB/g s/sl8/L_SRGB8/g s/srgb8/BGR_SRGB8/g --- src/mesa/swrast/s_texfetch.c | 42 +++--- src/mesa/swrast/s_texfetch_tmp.h | 28 +

[Mesa-dev] [PATCH 09/10] swrast: remove out of date comments in s_texfetch_tmp.h

2014-04-05 Thread Brian Paul
The comments were out of date and redundant (the functions are pretty much self-explanatory). --- src/mesa/swrast/s_texfetch_tmp.h | 467 +- 1 file changed, 10 insertions(+), 457 deletions(-) diff --git a/src/mesa/swrast/s_texfetch_tmp.h b/src/mesa/swrast/s_te

[Mesa-dev] [PATCH 08/10] swrast: rename texture fetch functions (pt. 7)

2014-04-05 Thread Brian Paul
sed commands: s/f_z24_s8/S8_UINT_Z24_UNORM/g s/f_s8_z24/Z24_UNORM_S8_UINT/g s/f_z16/Z_UNORM16/g s/f_z32/Z_UNORM32/g s/z32f_x24s8/Z32_FLOAT_S8X24_UINT/g s/f_ycbcr_rev/YCBCR_REV/g s/f_ycbcr/YCBCR/g s/dudv8/DUDV8/g --- src/mesa/swrast/s_texfetch.c | 60 +++--- sr

[Mesa-dev] [PATCH 01/10] mesa: rename stencil/Z functions in format_unpack.c

2014-04-05 Thread Brian Paul
So the function names match the format names. --- src/mesa/main/format_unpack.c | 80 - 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index 2ef2e31..cf96609 100644 --- a/src/me

Re: [Mesa-dev] [PATCH 1/2] i965/gs: Add dummy source to prepare_channel_masks instruction.

2014-04-05 Thread Kenneth Graunke
On 04/04/2014 03:28 PM, Matt Turner wrote: > The generator uses its destination as a source implicitly, which breaks > some assumptions in dead code elimination. Giving the instruction a > source allows us to reason about it better. > --- > src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp | 3 ++-

Re: [Mesa-dev] Addition of EXT_swap_control extension

2014-04-05 Thread Kenneth Graunke
On 04/03/2014 01:10 PM, f.jo...@email.cz wrote: > Hello, > I'm looking at the EXT_swap_control extension; as far as I can tell, > Mesa does not support it (feel free to correct me if I'm wrong). > > Given the fact, that both its precursors SGI_swap_control and > MESA_swap_control are implemented,

Re: [Mesa-dev] [PATCH] i965: Mark SNB GT1 as a GT1.

2014-04-05 Thread Kenneth Graunke
On 04/04/2014 12:17 PM, Matt Turner wrote: > brw->gt only seems to be used on gen >= 7, so this shouldn't have any > effect. Yeah...IIRC, the only reason I really started caring about GT was for Haswell GT3, which needs different URB programming. Paul later added some IVB:GT2 workarounds. But th

Re: [Mesa-dev] Mesa 10.2 release plan strawman

2014-04-05 Thread Kenneth Graunke
On 04/04/2014 05:52 PM, Matt Turner wrote: > On Fri, Apr 4, 2014 at 5:18 PM, Ian Romanick wrote: >> Fast forwarding 3 months from the 10.1 release (March 4th, planned for >> February 28th) is May 30th. I'd like to propose the following set of dates: >> >> May 2nd: Feature freeze / 10.2 branch cre

Re: [Mesa-dev] [PATCH] egl/dri2: don't require libudev to build drm/wayland platforms

2014-04-05 Thread Emil Velikov
On 05/04/14 15:10, Jonathan Gray wrote: > On Sat, Apr 05, 2014 at 02:12:31PM +0100, Emil Velikov wrote: >> Hi Jonathan, >> >> Just pushed as many of your patches as I can see to master. Let me know if I >> missed any. >> >> Some of the patches are stable material, so I've tagged them for the 10.1 >

Re: [Mesa-dev] [PATCH] egl/dri2: don't require libudev to build drm/wayland platforms

2014-04-05 Thread Jonathan Gray
On Sat, Apr 05, 2014 at 02:12:31PM +0100, Emil Velikov wrote: > Hi Jonathan, > > Just pushed as many of your patches as I can see to master. Let me know if I > missed any. > > Some of the patches are stable material, so I've tagged them for the 10.1 > stable branch. > > Thanks again. > -Emil Gr

[Mesa-dev] [Bug 76848] /usr/bin/ld: cannot find -lLLVM-3.3

2014-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76848 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] egl/dri2: don't require libudev to build drm/wayland platforms

2014-04-05 Thread Emil Velikov
Hi Jonathan, Just pushed as many of your patches as I can see to master. Let me know if I missed any. Some of the patches are stable material, so I've tagged them for the 10.1 stable branch. Thanks again. -Emil ___ mesa-dev mailing list mesa-dev@lists.

Re: [Mesa-dev] libxatracker: automake and spurious symbols

2014-04-05 Thread Emil Velikov
On 05/04/14 13:27, Kai Wasserbäch wrote: > Dear Emil, > Emil Velikov schrieb am 05.04.2014 04:10: >> On 01/04/14 01:32, Emil Velikov wrote: [snip] >> >> https://github.com/evelikov/Mesa/ branch exported-symbol-cleanup >> >> Feel free to checkout and give it a test. > > I'm currently unable to buil

Re: [Mesa-dev] libxatracker: automake and spurious symbols

2014-04-05 Thread Kai Wasserbäch
Dear Emil, Emil Velikov schrieb am 05.04.2014 04:10: > On 01/04/14 01:32, Emil Velikov wrote: >> On 29/03/14 14:24, Kai Wasserbäch wrote: >>> Emil Velikov schrieb am 29.03.2014 14:21: On 29/03/14 12:37, Kai Wasserbäch wrote: > I tried a version script and and -export-symbols-regex '^xa_.*$

Re: [Mesa-dev] [PATCH 07/16] targets/omx: use version script to limit amount of exported symbols

2014-04-05 Thread Christian König
Am 05.04.2014 12:13, schrieb Emil Velikov: On 05/04/14 11:02, Christian König wrote: Am 05.04.2014 12:01, schrieb Emil Velikov: On 05/04/14 10:34, Christian König wrote: Am 05.04.2014 03:46, schrieb Emil Velikov: Using export-symbols-regex is the least desirable method of restricting the expo

Re: [Mesa-dev] [PATCH 14/16] targets/pipe-loader: cleanup version-script

2014-04-05 Thread Francisco Jerez
Emil Velikov writes: > Drop the version/name tag from the script as it was never > meant to be there. Add swrast_create_screen as it is used > when loading swrast. Rename the file to pipe.sym. > > Cc: Francisco Jerez > Signed-off-by: Emil Velikov Reviewed-by: Francisco Jerez > --- > src/gal

Re: [Mesa-dev] [PATCH 02/16] targets/pipe-loader: drop driver_descriptor symbol from swrast

2014-04-05 Thread Francisco Jerez
Emil Velikov writes: > The symbol is used for hardware only drivers. For swrast the > loader uses swrast_create_screen. Add VISIBILITY_CFLAGS while > we're here. > > Cc: Francisco Jerez > Signed-off-by: Emil Velikov Reviewed-by: Francisco Jerez > --- > src/gallium/targets/pipe-loader/Makefi

Re: [Mesa-dev] [PATCH 13/16] targets/opencl: hide all the exported llvm/clang mayhem... hopefully

2014-04-05 Thread Francisco Jerez
Emil Velikov writes: > Both llvm and clang polute the exported symbol table, as soon > as we try to link with either one. Other than those two > everything else looks good (clean). > > Cc: Tom Stellard > Cc: Francisco Jerez > Signed-off-by: Emil Velikov Looks OK to me, Reviewed-by: Francisco

Re: [Mesa-dev] [PATCH 07/16] targets/omx: use version script to limit amount of exported symbols

2014-04-05 Thread Emil Velikov
On 05/04/14 11:02, Christian König wrote: > Am 05.04.2014 12:01, schrieb Emil Velikov: >> On 05/04/14 10:34, Christian König wrote: >>> Am 05.04.2014 03:46, schrieb Emil Velikov: Using export-symbols-regex is the least desirable method of restricting the exported symbols, as is completely

Re: [Mesa-dev] [PATCH 07/16] targets/omx: use version script to limit amount of exported symbols

2014-04-05 Thread Christian König
Am 05.04.2014 12:01, schrieb Emil Velikov: On 05/04/14 10:34, Christian König wrote: Am 05.04.2014 03:46, schrieb Emil Velikov: Using export-symbols-regex is the least desirable method of restricting the exported symbols, as is completely messes up with the symbol table. radeon_drm_winsys_crea

Re: [Mesa-dev] [PATCH 07/16] targets/omx: use version script to limit amount of exported symbols

2014-04-05 Thread Emil Velikov
On 05/04/14 10:34, Christian König wrote: > Am 05.04.2014 03:46, schrieb Emil Velikov: >> Using export-symbols-regex is the least desirable method of restricting >> the exported symbols, as is completely messes up with the symbol table. >> >> radeon_drm_winsys_create is not needed, avoid exporting

Re: [Mesa-dev] [PATCH 08/16] targets/vdpau: use version script to limit the exported symbols

2014-04-05 Thread Emil Velikov
On 05/04/14 10:34, Christian König wrote: > Am 05.04.2014 03:46, schrieb Emil Velikov: >> Using export-symbols-regex is the least desirable method of restricting >> the exported symbols, as is completely messes up with the symbol table. > > Why? As far as I can tell it does exactly what it is supp

Re: [Mesa-dev] [PATCH 06/16] targets/dri: use a single version script to restict exported symbols

2014-04-05 Thread Emil Velikov
On 05/04/14 10:33, Christian König wrote: > Am 05.04.2014 11:16, schrieb Maarten Lankhorst: >> op 05-04-14 03:46, Emil Velikov schreef: >>> Rather than having multiple (almost) identical version scripts use >>> a single one. >>> >>> Cc: Maarten Lankhorst >>> Cc: Christian König >>> Signed-off-by:

Re: [Mesa-dev] [PATCH 06/16] targets/dri: use a single version script to restict exported symbols

2014-04-05 Thread Maarten Lankhorst
op 05-04-14 03:46, Emil Velikov schreef: Rather than having multiple (almost) identical version scripts use a single one. Cc: Maarten Lankhorst Cc: Christian König Signed-off-by: Emil Velikov --- src/gallium/Automake.inc | 6 ++ src/gallium/state_trackers/dri/dr