kc3-lang/angle/src/common

Branch :


Log

Author Commit Date CI Message
dd7234c5 2013-10-16 15:07:55 Remove un-referenced functions. TRAC #23785 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
8690da8b 2013-10-08 10:57:09 Merge 49cbc5768c15d930d5d8751f5263e9546a07d037 from master. Fix a typo introduced in "GCC Compiler Fixes". ANGLEBUG=478 BUG= R=shannonwoods@chromium.org Review URL: https://codereview.appspot.com/14155043
6850947e 2013-10-07 17:06:30 Added a define that removes d3d includes from the common directory so that d3d9 headers are not included in the translator project.
17732823 2013-08-29 13:46:49 Moved the compiler source files into directories based on their project and added a compiler.gypi to generate the compiler projects.
d0f8e82b 2013-09-30 15:21:53 Implement META_ASSERT with static_assert if the compiler supports it. TRAC #23948 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
4f1a8639 2013-09-24 10:13:04 Add helper functions to determien if addition and mulutiplication of unsigned values will cause an overflow. TRAC #23842 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
cc4ec64c 2013-09-23 14:57:10 Use the same mechanism to process int/float literals This also fixes the float overflow errno leaking bug. BUG= R=alokp@chromium.org Review URL: https://codereview.appspot.com/13368050
ac44cd2b 2013-09-23 14:57:09 Add an option in ANGLE shader translator to initialize gl_Position to vec4(0.0, 0.0, 0.0, 1.0). This is to work around driver bugs where shader compile or program link would fail incorrectly if gl_Position is not set in vertex shader. At the moment at least Linux NVIDIA driver has this bug. ANGLEBUG=472 R=alokp@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/13509043
a15f3e84 2013-09-23 14:57:08 Expose the packing function so we can check varyings packing per program ANGLEBUG=471 R=kbr@chromium.org Review URL: https://codereview.appspot.com/13322043
f1d723c6 2013-09-23 14:57:07 Clamp numeric overflow rather than failing with an error BUG=249086 ANGLEBUG=468 TEST= R=alokp@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/13195043
d2d340b0 2013-09-23 14:57:05 Add static_use to shader variable info query. BUG=249018 ANGLEBUG=465 R=kbr@chromium.org Review URL: https://codereview.appspot.com/13158043
fa3c346f 2013-09-23 14:57:04 Build fix: not all types support precisions. Currently Angle translator made the wrong assumption that all variables have a precision, and ASSERT that. BUG=276031 TBR=alokp@chromium.org Review URL: https://codereview.appspot.com/13113044
74da9f2f 2013-09-23 14:57:01 Expose varying variables and also precision for all variables. ANGLEBUG=457 R=alokp@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/12487043
3c6344e7 2013-09-23 14:57:00 add TRACE_EVENT to ANGLE (reland) Tracing code the same as previous CL: https://codereview.appspot.com/12699047/ Setup code simplified, and follows the GetProcAddress model of other gl functions. R=shannonwoods@google.com
d3f0f1ec 2013-09-20 13:31:08 Expose and generalize Clear11's CompareStates function, and add methods for equality test and initialization. TRAC #23841 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods
66192b3e 2013-09-09 15:41:37 Add GL_STRUCT_ANGLEX case handling to the variable row and column count methods. TRAC #23749 Signed-off-by: Nicolas Capens
28167c62 2013-08-30 13:21:10 Add support for struct varyings, and more robust varying link validation. TRAC #23749 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
0bbd11c1 2013-08-21 14:42:01 Fix Texture2DArray calling Texture::set/subImage with invalid pointers when the pixels pointer is NULL. TRAC #23767 Author: Geoff Lang Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods
5fe0caa1 2013-08-19 14:28:47 Adds size and offset queries to BindingOffsetPointer TRAC #23468 Author: Shannon Woods Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens
23c8169f 2013-08-12 10:46:58 Add support for GL_NUM_EXTENSIONS. TRAC #23704 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
5724442b 2013-08-09 15:35:44 Removed checks for DXGI_FORMAT_R32G32B32_FLOAT support since GL_RGB32F is converted to DXGI_FORMAT_R32G32B32A32_FLOAT. TRAC #23651 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
fdf06948 2013-08-06 10:41:05 Split the overflow check into explicit multiplication and addition overflow checks. TRAC #23671 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
78568ba9 2013-08-08 14:15:08 Releases a resource that was leaking. TRAC #23656 Author: Shannon Woods Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens
0fe1949d 2013-07-25 17:04:31 Updated gl::IsInternalTextureTarget to have a client version parameter. TRAC #23470 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
c90d73a0 2013-07-22 16:39:23 Added a new type of binding pointer for framebuffer texture bindings which stores type, mip level and layer. TRAC #23470 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
9b8f92ea 2013-07-30 15:23:30 Remove uses of the HASH_MAP define since unordered_map is already used in several places. TRAC #23618 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
ea228635 2013-07-30 15:17:12 Use SafeRelease and SafeDelete to make sure released objects are NULL and will cause proper errors if referenced again. TRAC #23617 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
7dca1866 2013-07-30 16:30:46 Initialize the vertex current value data. TRAC #23619 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
57e713e8 2013-07-31 17:01:58 Fix additional overflow and underflow issues with triangle fans and line loops. Issue #444 Signed-off-by: Shannon Woods Signed-off-by: Chris Evans Author: Geoff Lang
1294924f 2013-07-29 15:22:42 Fixed a bug where cube depth stencils used the wrong format and didn't set the D3D11_DEPTH_STENCIL_VIEW_DESC::Flags member. TRAC #23608 Signed-off-by: Shannon Woods Author: Geoff Lang
55ba29c5 2013-07-11 16:57:53 Implement the DEPTH_STENCIL attachment point for FBOs. Trac #23469 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
1c3192ef 2013-07-22 13:59:24 Emulate RGB32F textures with DXGI_FORMAT_R32G32B32A32_FLOAT so that sampling is always supported. Trac #23523 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
919f9049 2013-07-26 17:23:05 Bump ANGLE version.
82ff2b36 2013-07-19 17:16:56 Diverges version for ES3 ANGLE
0fda9868 2013-07-19 16:36:55 Added Context::getInteger64v for 64-bit integer state queries. TRAC #23082 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill
af496913 2013-07-19 16:36:54 Add a method to round GLfloat parameters to the nearest integral value, for use in state-setting API methods. TRAC #23545 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens Authored-by: Jamie Madill
cb127d3d 2013-07-15 17:26:18 Create the HLSL shadow texture function. TRAC #23394 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens
e6050884 2013-07-08 10:43:10 Handle new sampler types. TRAC #23472 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens
f386bf76 2013-07-08 14:02:41 Include stddef.h so NULL is defined. Review URL: https://codereview.appspot.com/10025043 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@2422 736b8ea6-26fd-11df-bfd4-992fa37f6226 TRAC #23333 Authored-by: alokp@chromium.org Signed-off-by: Shannon Woods Signed-off-by Nicolas Capens Merged-by: Jamie Madill
eb1a010f 2013-07-08 13:31:38 Add expression complexity and call stack depth limits. git-svn-id: https://angleproject.googlecode.com/svn/trunk@2242 736b8ea6-26fd-11df-bfd4-992fa37f6226 TRAC #23333 Authored-by: gman@chromium.org Signed-off-by: Shannon Woods Signed-off-by Nicolas Capens Merged-by: Jamie Madill Conflicts: src/common/version.h
8c6befc2 2013-06-20 11:55:55 Add two utility matrix functions. The first returns the number of components in a matrix column/row, and the second the number of columns/rows in matrix uniforms. TRAC #23083 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill
446a4477 2013-06-04 10:03:14 Added new image formats to match new ES3 formats and added read and write functions to various color types that they can represent. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
2a64ee44 2013-05-31 11:22:40 Templated the Color structure so it can be used for the new integer and unsigned integer color types. TRAC #23256 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
f600a2f2 2013-06-17 18:07:01 Diverges version for es3proto branch from mainline.
91262912 2013-05-30 00:23:46 Bump version for es3proto branch. git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2417 736b8ea6-26fd-11df-bfd4-992fa37f6226
eafb069c 2013-05-30 00:20:44 Allow ANGLE developers to toggle unimplemented assertion failures with preprocessor define. TRAC #23089 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2406 736b8ea6-26fd-11df-bfd4-992fa37f6226
8c788e8d 2013-05-30 00:20:21 Add support for unsigned integer vector types to the shader translator. TRAC #23080 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2404 736b8ea6-26fd-11df-bfd4-992fa37f6226
6b709911 2013-05-30 00:20:04 Add support for the unsigned integer scalar type to the shader translator. TRAC #23080 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2403 736b8ea6-26fd-11df-bfd4-992fa37f6226
9bd22fa9 2013-05-30 00:18:47 Add support for non-square matrices to the shader translator. TRAC #23081 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2394 736b8ea6-26fd-11df-bfd4-992fa37f6226
09e09884 2013-05-30 00:18:25 Add a secondary size field to the shader language types, to account for matrix rows. Also add some extra logic to the promote method to check that the sizes of the arguments to multiplications are properly formed. We require this extra information for non-square matrix support. TRAC #23081 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2392 736b8ea6-26fd-11df-bfd4-992fa37f6226
49ec992d 2013-05-30 00:16:38 Moved the defines of constant float values into more visible constants. TRAC #23048 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2377 736b8ea6-26fd-11df-bfd4-992fa37f6226
a43d829f 2013-05-30 00:15:50 Added support for GL_R11F_G11F_B10F textures. TRAC #23052 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2371 736b8ea6-26fd-11df-bfd4-992fa37f6226
83ac5e82 2013-05-30 00:15:29 Add the shader version of the compiled shaders to the program binary. Also increment the binary version. TRAC #23182 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2368 736b8ea6-26fd-11df-bfd4-992fa37f6226
92b9cd57 2013-05-30 00:14:48 Added support for the GL_RGB9_E5 format. git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2363 736b8ea6-26fd-11df-bfd4-992fa37f6226
61aaf24d 2013-05-30 00:12:20 Add logic to compute the size and offsets of interface blocks stored in shared (packed) and standard layouts. The shared layout follows the standard HLSL packing rules for optimal shader performance. TRAC #22930 Signed-off-by: Nicolas Capens Signed-off-by: Geoff Lang Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2343 736b8ea6-26fd-11df-bfd4-992fa37f6226
a2ecfccc 2013-05-30 00:11:59 Moved utilities.h/cpp and mathutils.h to the shared common code folder. The HLSL translator needs to compute the sizes of various GL types for computing block layouts. TRAC #22930 Signed-off-by: Nicolas Capens Signed-off-by: Geoff Lang Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2342 736b8ea6-26fd-11df-bfd4-992fa37f6226
f97a084f 2013-05-30 00:10:33 Store optimization level in program binaries and do not load those compiled with a different level. Review URL: https://codereview.appspot.com/9427043 Conflicts: src/libGLESv2/renderer/Renderer9.cpp git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2332 736b8ea6-26fd-11df-bfd4-992fa37f6226
482eb95c 2013-05-30 00:10:25 Bump version.h for dx11proto. Review URL: https://codereview.appspot.com/9330043 git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2331 736b8ea6-26fd-11df-bfd4-992fa37f6226
d7784174 2013-05-30 00:07:03 Add state for uniform blocks to ProgramBinary, along with loading and saving of the new binary format. Updated Version.h with this patch. TRAC #22858 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill Conflicts: src/common/version.h git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2306 736b8ea6-26fd-11df-bfd4-992fa37f6226
3eeca1ec 2013-05-30 00:04:28 Make the sentinel value for glBindBufferBase whole-buffer binding zero instead of -1, to harmonize with the spec. TRAC #22852 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2284 736b8ea6-26fd-11df-bfd4-992fa37f6226
2f5963c0 2013-04-13 03:56:33 Bump version.h git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2181 736b8ea6-26fd-11df-bfd4-992fa37f6226
e3fe5dad 2013-04-13 03:42:07 Enable broadcasting gl_FragColor to all draw buffer color attachments in ES2 contexts. TRAC #22888 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill Conflicts: src/libGLESv2/ProgramBinary.cpp git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2157 736b8ea6-26fd-11df-bfd4-992fa37f6226
184d0a85 2013-04-13 03:36:51 Added a new type of binding pointer which stores offset and size. TRAC #22753 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2110 736b8ea6-26fd-11df-bfd4-992fa37f6226
a28864c8 2013-04-13 03:32:03 Pixel shaders support MRT output. TRAC #22668 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2085 736b8ea6-26fd-11df-bfd4-992fa37f6226
96224771 2013-04-13 03:30:18 Add helper functions to safely release Windows COM resources, and arrays of COM resources. TRAC #22656 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2076 736b8ea6-26fd-11df-bfd4-992fa37f6226
f26ddae9 2013-04-13 03:29:13 Added the GLES3 headers and updated all locations where the GLES2 headers were included to also include the GLES3 headers. TRAC #22694 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2069 736b8ea6-26fd-11df-bfd4-992fa37f6226
fc84e0ad 2013-04-13 03:28:03 Bump ANGLE_SH_VERSION to 110. The bump to 109 in r1984 collided with a similar version change in dx11proto branch (r1738). Review URL: https://codereview.appspot.com/7446050 git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2060 736b8ea6-26fd-11df-bfd4-992fa37f6226
331192d6 2013-04-13 03:27:57 Enabled FRAGMENT_PRECISION_HIGH unconditionally for ANGLE. Review URL: https://codereview.appspot.com/7460048 Conflicts: src/libGLESv2/Shader.cpp git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2059 736b8ea6-26fd-11df-bfd4-992fa37f6226
78c669d2 2013-02-28 23:24:04 Update build revision git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1977 736b8ea6-26fd-11df-bfd4-992fa37f6226
fff89b3a 2013-02-28 23:20:15 Build fix for qt-wk2 Review URL: https://codereview.appspot.com/7381049 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1966 736b8ea6-26fd-11df-bfd4-992fa37f6226
8e02e356 2013-02-28 23:20:08 Fix ANGLE patching/building issues. 1) Remove an empty file: this causes patch apply failures when updating WebKit side ANGLE. 2) Fix a 64-to-32 conversion issue. 3) Append a change to Tokenizer.l that's left out in a previous CL. (cpp is already updated). Review URL: https://codereview.appspot.com/7378051 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1965 736b8ea6-26fd-11df-bfd4-992fa37f6226
eb68fd0e 2013-02-28 23:20:01 This pulls in mvujovic's build fix in WebKit ANGLE. Original patch: http://trac.webkit.org/changeset/139665 Review URL: https://codereview.appspot.com/7392044 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1964 736b8ea6-26fd-11df-bfd4-992fa37f6226
550cd098 2013-02-28 23:19:54 Add support for extension EXT_draw_buffers. Review URL: https://codereview.appspot.com/7308107 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1963 736b8ea6-26fd-11df-bfd4-992fa37f6226
18bd2ecf 2013-02-28 23:19:46 Fix signed / unsigned warning in ParseHelper.cpp. Review URL: https://codereview.appspot.com/7330046 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1962 736b8ea6-26fd-11df-bfd4-992fa37f6226
6b04e1b9 2013-02-28 23:19:41 Fixed one remaining 64-bit truncation issue missed in the last CL. BUG=396 Review URL: https://codereview.appspot.com/7323055 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1961 736b8ea6-26fd-11df-bfd4-992fa37f6226
d5a91b90 2013-02-28 23:17:30 Validate matching uniform precisions. TRAC #22635 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1941 736b8ea6-26fd-11df-bfd4-992fa37f6226
bdf2d80f 2013-02-28 23:16:20 Add precompiled header support for the libGLESv2 project. TRAC #22518 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1938 736b8ea6-26fd-11df-bfd4-992fa37f6226
486d9e9b 2013-02-28 23:15:41 Remove a lot of unnecessary include files and break include chains. This should speed up incremental compile times when modifying headers, by reducing the number of dependencies. TRAC #22518 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1937 736b8ea6-26fd-11df-bfd4-992fa37f6226
6d79257d 2013-02-28 23:07:25 Added a utility function for determining the size of an array. TRAC #22502 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1877 736b8ea6-26fd-11df-bfd4-992fa37f6226
7e6649e4 2013-02-01 03:21:45 Update version to r1818 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1818 736b8ea6-26fd-11df-bfd4-992fa37f6226
8b400b1e 2013-01-30 21:53:40 Do not use dynamic_cast if RTTI is disabled. Review URL: https://codereview.appspot.com/7250043 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1808 736b8ea6-26fd-11df-bfd4-992fa37f6226
a820c309 2013-01-25 22:04:42 Updated version number to 1801 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1801 736b8ea6-26fd-11df-bfd4-992fa37f6226
e36fddfc 2013-01-25 21:57:50 Attempt different fix for unknown #pragma on Linux. BUG=none TEST=compiled on Linux and Mac OS Review URL: https://codereview.appspot.com/7133076 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1800 736b8ea6-26fd-11df-bfd4-992fa37f6226
bef0e5b7 2013-01-25 21:57:43 Changed optimization level to D3DCOMPILE_OPTIMIZATION_LEVEL1. With this optimization level, it appears that array index clamping can be enabled on Windows without destabilizing WebGL content. Tested this change with array index clamping enabled with MapsGL, a previous failing test from AlteredQualia, many Three.js demos, the Julia Set tutorial from acko.net, the WebGL 1.0.1 conformance suite, and other content; all worked. BUG=none Review URL: https://codereview.appspot.com/7197054 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1799 736b8ea6-26fd-11df-bfd4-992fa37f6226
1d432bb5 2013-01-25 21:57:28 Incorporated patch from haixia@ changing the default implementation of array index clamping to use the clamp intrinsic. This works more reliably on pure OpenGL ES devices and on Windows. Added a mechanism in ShBuiltInResources to choose the strategy for array index clamping. BUG=none TEST=various out-of-bounds array indexing tests and various WebGL content Review URL: https://codereview.appspot.com/7194051 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1798 736b8ea6-26fd-11df-bfd4-992fa37f6226
2f8524d3 2013-01-25 21:57:17 Fixed compiler warning on Linux resulting in build failures. BUG=none TEST=compiled on Linux Review URL: https://codereview.appspot.com/7201056 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1797 736b8ea6-26fd-11df-bfd4-992fa37f6226
a9b96d0d 2013-01-25 21:56:18 Include windows.h from one place to ensure that min and max macros are not defined. These conflict with the STL functions of the same name. This is to make the standalone ANGLE gyp build work again. Review URL: https://codereview.appspot.com/7211043 Also includes r1729 which adds the missing new file. git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1790 736b8ea6-26fd-11df-bfd4-992fa37f6226
e91615cb 2013-01-25 21:56:03 Treat return statements in loops as loop discontinuities. This is so that texture2D is converted to texture2DLod in loops with return statements. HLSL does not seem to allow gradient operations in loops with return statements. It considers them to be breaks. Review URL: https://codereview.appspot.com/7131057 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1788 736b8ea6-26fd-11df-bfd4-992fa37f6226
da1ed36a 2013-01-25 21:54:57 Reorganized new sources from recently applied patch into third_party directory. Review URL: https://codereview.appspot.com/7105049 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1779 736b8ea6-26fd-11df-bfd4-992fa37f6226
98100d41 2013-01-11 21:19:54 Update version to 1717 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1717 736b8ea6-26fd-11df-bfd4-992fa37f6226
9a3b5956 2013-01-11 04:14:50 Update version to 1710 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1710 736b8ea6-26fd-11df-bfd4-992fa37f6226
ca1ac1f1 2013-01-11 04:13:05 Add D3D version and shader models to renderer string reported by GetString. It looks like this now: ANGLE (NVIDIA Quadro 600 Direct3D9Ex vs_3_0 ps_3_0) I also noticed that the strings returned by GetString are not all static so I fixed that as well. Review URL: https://codereview.appspot.com/7068058 Author: apatrick@chromium.org <apatrick@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> Manual merge from Master by daniel@transgaming.com git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1709 736b8ea6-26fd-11df-bfd4-992fa37f6226
773ff745 2013-01-11 04:12:51 Build fix. BUG= TEST=build fine in Linux Review URL: https://codereview.appspot.com/7071056 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1707 736b8ea6-26fd-11df-bfd4-992fa37f6226
6c1203f8 2013-01-11 04:12:43 In generated shaders, output +INF and -INF as largest single precision floating point number. C++ streams seem to use the representation 1.$ for INF and that isn't valid syntax in GLSL or HLSL. Also preserve the sign of INF in constant expressions that divide by zero. I can't figure out what to do about 0/0 because the shader models we are using do not support NaN. Treating it as +INF as before. Review URL: https://codereview.appspot.com/7057046 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1706 736b8ea6-26fd-11df-bfd4-992fa37f6226
a390e1ee 2013-01-11 04:09:39 Implemented support for DX11 driver uniforms by assigning fixed register slots. TRAC #22369 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1682 736b8ea6-26fd-11df-bfd4-992fa37f6226
9aa6fe1c 2012-12-20 21:13:39 Ensured that the mUsesPointSprites flag is properly preserved when loading shaders from binary cache. BUG=https://code.google.com/p/angleproject/issues/detail?id=389 Review URL: https://codereview.appspot.com/6884053 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1636 736b8ea6-26fd-11df-bfd4-992fa37f6226
db019952 2012-12-20 21:13:32 Eliminated storing decorated uniform names. TRAC #22326 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1635 736b8ea6-26fd-11df-bfd4-992fa37f6226
f956186f 2012-12-20 21:12:07 Collapsed register indexes into one. TRAC #22293 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1623 736b8ea6-26fd-11df-bfd4-992fa37f6226
8226f4c9 2012-12-20 21:08:42 Combine major, minor and build revision as the program binary version. TRAC #22245 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1597 736b8ea6-26fd-11df-bfd4-992fa37f6226
593ebc41 2012-12-20 20:56:46 Apply DX constants directly. TRAC #22245 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1584 736b8ea6-26fd-11df-bfd4-992fa37f6226