|
0c66720a
|
2014-03-17T10:06:09
|
|
Fix unsigned integer R10G10B10A2 vertex formats.
We were incorrectly setting the signed parameter to true
in the vertex format table. This fixes a dEQP test in
vertex_arrays.output_types.
BUG=angle:586
Change-Id: I84dcdee89a95369cc8e41d451f96dbb8daa37b6d
Reviewed-on: https://chromium-review.googlesource.com/190056
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
ca442ba4
|
2014-03-05T09:53:30
|
|
Fix default bits for 3-channel un-normalized int.
GPU conversion means we should be using a default of 1 as for
int types instead of the MAXINT value for normalized types.
Fixes the WebGL test for vertex attribs with offsets.
BUG=angle:550
Change-Id: I1aa1b1bae2282e8eda96366adeec492ffe1d5728
Reviewed-on: https://chromium-review.googlesource.com/188433
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
2f612290
|
2014-03-05T09:53:29
|
|
Combine widen and defaultBits params of copyVertexData.
Since we never, and never will use a default value of zero
for the alpha channel, we can use a value of zero to
indicate no widening. This has the benefit of not needing
a default value where it does not apply.
BUG=angle:550
Change-Id: Ifdfedcb16039aa1d7f8ee644b65c6b4d89f9a384
Reviewed-on: https://chromium-review.googlesource.com/188432
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
d2d648cc
|
2014-01-29T09:27:10
|
|
Enable GPU dynamic conversion for unnormalized int formats.
This patch turns on the dynamic conversion logic for integer formats
that we must convert to floating point for ESSL 1.0 compatibility. The
converted formats are 1, 2 and 4 channel unnormalized integer.
BUG=angle:560
Change-Id: I3bcc45f1103290613029bc54fdd6012dddb0a03d
Reviewed-on: https://chromium-review.googlesource.com/186700
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
7ab02faf
|
2014-02-04T16:04:08
|
|
Add D3D11 vertex format tables to our format utils.
Moving the vertex format information to a globally accessible
helper file makes them available for the dynamic shaders logic.
Change-Id: I67d6280c0603d9c601ca504751c8905677c2426f
Reviewed-on: https://chromium-review.googlesource.com/184399
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
826f3d30
|
2014-01-29T09:26:49
|
|
Add a GetComponentType method to query a DXGI format.
Also add a few missing DXGI formats related to vertex inputs.
Change-Id: Ia39234a164000d11eef3806ba4f06b6426f1cbb7
Reviewed-on: https://chromium-review.googlesource.com/183584
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
9eeecfc2
|
2014-01-29T09:26:48
|
|
Split DXGI format info to a GL mapping and info block.
The GL mapping depends on context client version (for certain depth
textures), but the DXGI base format info is consistent across
versions. Also add DXGI component type information to the table,
and add a few missing formats related to vertex inputs.
Change-Id: I2d1a8ca92b1cb39f4592d94d7d435ae0ada1de65
Reviewed-on: https://chromium-review.googlesource.com/183583
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
67938efc
|
2014-01-07T16:17:21
|
|
Added missing depth swizzle backing formats and fixed compressed texture bit calculation.
Change-Id: I2390ace1fe5297f9fcad0c873c55dae564a09c43
Reviewed-on: https://chromium-review.googlesource.com/181773
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
80b5a55e
|
2014-01-03T10:57:11
|
|
Fix compressed formats breaking swizzle bits checks.
We defautled to zero max bit depth, which breaks the swizzle format lookup.
Change-Id: I4d1cd8bcfb79db3460950fa22630c259f90fa432
Reviewed-on: https://chromium-review.googlesource.com/181481
Reviewed-by: Jamie Madill <jmadill@google.com>
Commit-Queue: Jamie Madill <jmadill@google.com>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
0c99b1b0
|
2013-09-30T15:07:43
|
|
Add functions to check if texture data initialization is required.
Change-Id: I54c3b90780c304d6001b9e52278672981c96cb83
Reviewed-on: https://chromium-review.googlesource.com/176853
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
00f6bc32
|
2013-09-20T14:59:06
|
|
Add GetSwizzle*Format functions to formatutils11.
Change-Id: Idcd4aa5fd18c1629168ba7cdd41e8fb3f6c3ead3
Reviewed-on: https://chromium-review.googlesource.com/177031
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
95f9f986
|
2013-10-21T17:09:19
|
|
Remove use of DXGI_FORMAT_R32G32B32_FLOAT as a backing format for GL_LUMINANCE32F_EXT.
TRAC #24036
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
1ec57f80
|
2013-10-16T11:43:23
|
|
Add support for GL_EXT_color_buffer_float.
TRAC #23794
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
632192dd
|
2013-10-04T13:40:46
|
|
Added support for EXT_texture_rg in D3D9 and D3D11.
TRAC #22423
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
4133f5c2
|
2013-10-10T13:51:18
|
|
24bit depth formats need to flip the depth and stencil bits when loading.
TRAC #23540
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
005df41f
|
2013-10-16T14:12:50
|
|
Use GLenum instead of GLint to store internal format variables.
TRAC #23785
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
d47e0fcc
|
2013-08-29T11:40:43
|
|
Split the d3d9 and d3d11 backends into folders and updated the gyp file to use a python script to generate the file lists for the libGLESv2 and libEGL projects.
|