Mesa (master): 46 new commits

2016-02-04 Thread Axel Davy
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=94d91c67077a5efd13b9505fe01a3c80ccb37bc9
Author: Axel Davy 
Date:   Thu Jan 28 22:32:43 2016 +0100

st/nine: Use align_free when needed

Use align_free to free memory allocated
with align_malloc.

Signed-off-by: Axel Davy 
Reviewed-by: Patrick Rudolph 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b12fe77ea7bbd8f159c0902a7c1d4ab22d4629c
Author: Axel Davy 
Date:   Tue Jan 26 16:40:30 2016 +0100

st/nine: Disallow non-argb cursors

Only argb cursors are allowed.

Signed-off-by: Axel Davy 
Reviewed-by: Patrick Rudolph 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=24ddadbba9ddfde579cc4cc65f58b063122b8d02
Author: Axel Davy 
Date:   Sat Jan 9 14:16:15 2016 +0100

st/nine: Enforce centroid for color input when multisampling is on

The color inputs must automatically use centroid whether
multisampling is used or not.

Signed-off-by: Axel Davy 
Reviewed-by: Patrick Rudolph 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5389bb92d5dfa1676cf28a80392f0fcb0eb8dc8
Author: Axel Davy 
Date:   Thu Jan 28 22:44:42 2016 +0100

st/nine: Fix centroid flag

sem.reg.mod & NINED3DSPDM_CENTROID is worth 4 when
centroid is requested, whereas
TGSI_INTERPOLATE_LOC_CENTROID is worth 1.

Signed-off-by: Axel Davy 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee31f0fed4bd97e3c9a0c4547ad908d55607f532
Author: Axel Davy 
Date:   Mon Jan 4 16:15:18 2016 +0100

st/nine: Use fast clears more often for MRTs

This enables to use fast clears in the following
case:

pixel shader renders to 1 RT
4 RT bound
clear
new pixel shader bound that renders to 4 RTs

Previously the fast clear path wouldn't be hit,
because when trying the fast clear path,
the framebuffer state would be configured for 1 RT,
instead of 4.

Signed-off-by: Axel Davy 
Reviewed-by: Patrick Rudolph 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e85ef7d8e501b3f0a94d8e53fbd3372ba24b89ec
Author: Axel Davy 
Date:   Mon Jan 4 16:13:07 2016 +0100

st/nine: Use linear filtering for shadow mapping

Some docs say linear filtering is always used when
app does shadow mapping.

Signed-off-by: Axel Davy 
Reviewed-by: Patrick Rudolph 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b35da59deff0d6671649a6aedc10b3c81aeb8a7
Author: Patrick Rudolph 
Date:   Thu Oct 22 15:46:16 2015 +0200

st/nine: Respect block alignment on surface lock

Respect block alignment for ATI1/ATI2 format when trying to lock a
surface using LockRect().
Fixes failing WINE tests device.c test_surface_blocks() tests.

Signed-off-by: Patrick Rudolph 
Reviewed-by: Axel Davy 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=56b4222b299ff08da4eda63fcc608dc77fc585f1
Author: Axel Davy 
Date:   Sat May 16 14:28:41 2015 +0200

st/nine: Add Render state validation layer

Testing Win behaviour seems to show wrong states
are accepted, but then depending on the states
some specific 'good' behaviours happen.

This adds some validation to catch invalid
states and have these 'good' behaviours
when it happens.

Also reorders SetRenderState to match the expected
optimisation:
(Value == previous Value) => return immediately,
which affects D3D9 hacks too.

Signed-off-by: Axel Davy 
Signed-off-by: Patrick Rudolph 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7132617436dda072f874f6f206847e62038ce39e
Author: Patrick Rudolph 
Date:   Mon May 25 13:06:58 2015 +0200

DRI_CONFIG: Add option to override vendor id

Add config option override_vendorid to report a fake card in d3dadapter9 
drm.

Signed-off-by: Patrick Rudolph 
Reviewed-by: Axel Davy 

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a893ac8869a0be08582f3b224d1a92ff37fc400
Author: Patrick Rudolph 
Date:   Wed Sep 30 16:42:10 2015 +0200

st/nine: Implement NineDevice9_GetAvailableTextureMem

Implement a device private memory counter similar to Win 7.

Only textures and surfaces increment vidmem and may return
ERR_OUTOFVIDEOMEMORY. Vertexbuffers and indexbuffers creation always
succeedes, even when out of video memory.

Fixes "Vampire: The Masquerade - 

Mesa (master): 46 new commits

2011-08-04 Thread Bryan Cain
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4683529048ee133481b2d8f1cae1685aa1736f9a
Merge: 50073563b2bfe3716b3dc8b1ed2f91381ba24305 
9adcab9cd464d659288e31e6767efb5dee3894ff
Author: Bryan Cain bryanca...@gmail.com
Date:   Thu Aug 4 15:43:34 2011 -0500

Merge branch 'glsl-to-tgsi'

Conflicts:
src/mesa/state_tracker/st_atom_pixeltransfer.c
src/mesa/state_tracker/st_program.c

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9adcab9cd464d659288e31e6767efb5dee3894ff
Author: Bryan Cain bryanca...@gmail.com
Date:   Thu Aug 4 10:15:54 2011 -0500

st/mesa: replace duplicated create_color_map_texture() function with shared 
function

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7e89115310628310bf458a33f2df2bf23384cf3
Author: Bryan Cain bryanca...@gmail.com
Date:   Tue Aug 2 11:36:44 2011 -0500

glsl_to_tgsi: remove debugging printf

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=189e9f12c7d3a82d7dd28695935a83e4319bb267
Author: Bryan Cain bryanca...@gmail.com
Date:   Wed Jul 27 16:39:40 2011 -0500

glsl_to_tgsi: copy reladdr in st_src_reg(st_dst_reg) constructor

This is a glsl_to_tgsi port of commit f7cd9a858c04.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e7fce9773ec332665326a785b6ed1fcf5bd578e
Author: Bryan Cain bryanca...@gmail.com
Date:   Wed Jul 27 16:36:10 2011 -0500

glsl_to_tgsi: add each relative address to the previous

This is a glsl_to_tgsi port of commit d6e1a8f71437.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=10d31cb307f90a08fafed5c67945ffe53d279940
Author: Bryan Cain bryanca...@gmail.com
Date:   Wed Jul 27 15:45:16 2011 -0500

glsl_to_tgsi: lower all ir_quadop_vector expressions

Unlike Mesa IR, TGSI doesn't have a SWZ opcode.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3354a5b56398f90fc36ab14b6444aae27b50e859
Author: Bryan Cain bryanca...@gmail.com
Date:   Wed Jul 27 15:20:19 2011 -0500

glsl_to_tgsi: rework immediate tracking to not use gl_program_parameter_list

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f751730ad003bb19ce85bc4d0abddaf40edde6c1
Author: Bryan Cain bryanca...@gmail.com
Date:   Fri Jul 22 13:24:42 2011 -0500

glsl_to_tgsi: update comments

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2c3b9f38d81f363bd62abc87dc3abef2beeba95
Author: Bryan Cain bryanca...@gmail.com
Date:   Fri Jul 22 13:23:26 2011 -0500

glsl_to_tgsi: make coding style more consistent

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0da994a9f15b461d16cf88ce16dc07e98dfada6f
Author: Bryan Cain bryanca...@gmail.com
Date:   Thu Jul 21 16:29:56 2011 -0500

glsl_to_tgsi: make assignment hack safer

Fixes an assertion failure in piglit test glsl-texcoord-array.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7732822c833ee22e259af3f8bd2bfb57c986612e
Author: Bryan Cain bryanca...@gmail.com
Date:   Thu Jul 21 15:49:26 2011 -0500

glsl_to_tgsi: separate immediates from array constants during IR translation

Before, if any uniform or constant array was accessed with indirect
addressing, st_translate_program() would emit uniform constants in the place
of immediates.  This behavior was unavoidable with ir_to_mesa/mesa_to_tgsi, 
but
glsl_to_tgsi can work around it since the GLSL IR backend and the TGSI
emission are both inside the state tracker.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=87f8d8547db9b947ae847c509a464e06d0ac6c64
Author: Bryan Cain bryanca...@gmail.com
Date:   Sun Jul 10 17:36:04 2011 -0500

glsl_to_tgsi: fix mistakes in get_pixel_transfer_visitor()

I noticed these issues while working on get_bitmap_visitor().

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f0b4b0e9d376f9ec1cb5ae08c36052f4f51ac37
Author: Bryan Cain bryanca...@gmail.com
Date:   Sun Jul 10 17:17:38 2011 -0500

st/mesa, glsl_to_tgsi: support glBitmap with a GLSL fragment shader active

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0dcab2882a4731dccd363a40c3ebcabc88b9c5d
Author: Bryan Cain bryanca...@gmail.com
Date:   Fri Jul 8 21:12:08 2011 -0500

st/mesa, glsl_to_tgsi: support glDrawPixels/glCopyPixels with a GLSL 
fragment shader active

Since this was previously implemented using Mesa IR and 
_mesa_combine_programs,
this commit adds a new code path that works with glsl_to_tgsi.

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=33e0c47b05c8fbae9d7af57ba65b612825b5db60
Author: Bryan Cain bryanca...@gmail.com
Date:   Mon Jul 4 08:44:12 2011 -0500

glsl_to_tgsi: replace MAX_PROGRAM_TEMPS (256) with MAX_TEMPS (4096)

URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=54db6e618e43abbd69b59e0a03e2b6ec83d3120f
Author: Bryan Cain bryanca...@gmail.com
Date:   Thu Jun 30 13:42:37 2011 -0500

r200, r600c, i965: fix build

URL: