Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 384b6041 | 2013-09-13 10:06:24 | Add missing varying in and out qualifiers to the interpolation qualifier switch statement. This was causing a benign assert in Debug mode with GLSL ES 1.00 shaders. TRAC #23746 Signed-off-by: Shannon Woods | ||
| 5609378d | 2013-08-30 13:21:11 | Add full support for uniform structs. TRAC #23750 Signed-off-by: Geoff Lang 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 | ||
| 94599669 | 2013-08-30 13:21:10 | Ensure struct varyings maintain the proper interpolation qualifier for the child fields. TRAC #23749 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens | ||
| c2141fb3 | 2013-08-30 13:21:08 | Consolidate the register counting functions to a single location in the HLSL layout encoder source. This new method explicitly depends on HLSL packing rules, instead of a GL idiom. TRAC #23748 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens | ||
| 139b9091 | 2013-08-30 13:21:06 | Simplify the gl::Varying struct to be more like sh::Varying. The subsequent patches will remove gl::Varying entirely. TRAC #23746 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods | ||
| 47fdd13e | 2013-08-30 13:21:04 | Pass varyings to the GLES API from the translator using a direct pointer. Instead of parsing them indirectly from HLSL, the pointer will allow us to more flexibly support new types, especially compound types such as structures. TRAC #23754 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods | ||
| 9d2ffb1d | 2013-08-30 13:21:04 | Refactor sh::Uniform and sh::ShaderVariable into a shader variable base type with different child types. This change gives us better memory usage (many fields are unnecessary in different types) with better static typing and clear type abstraction for specific methods that might take Attributes or Varyings, etc. TRAC #23754 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods | ||
| 9060a4e0 | 2013-08-12 16:22:57 | Fix some missing UBO qualifier link validation errors. TRAC #23747 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods | ||
| 19571818 | 2013-08-12 15:26:34 | Add more robust support for interpolation and storage qualifiers with varyings for GLSL ES 3.00. This fixes some conformance failures in the dEQP varying link tests, particularly with ints and the flat keyword. TRAC #23745 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods | ||
| 9edebd68 | 2013-08-06 10:59:10 | Implement mipmapping for integer samplers. TRAC #23655 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 0b20c944 | 2013-07-19 16:36:56 | Replace the logic for doing vector and matrix equivalence tests in the shader with a much simpler formula. We can use the HLSL fragment "all(a == b)" for all matrix and vector types. TRAC #23535 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods 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 | ||
| 354ed2d1 | 2013-07-11 11:26:26 | Compact sampler type translation. TRAC #23394 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 75fb4752 | 2013-07-10 15:14:47 | Implement textureSize. TRAC #23485 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| c98406ab | 2013-07-10 14:52:44 | Use the simpler form of GetDimensions. TRAC #23485 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 93e50deb | 2013-07-09 13:46:28 | Implement array sampler support. TRAC #23472 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 6d232bb6 | 2013-07-08 15:56:38 | Generate HLSL code for integer sampling. TRAC #23472 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 98493ddc | 2013-07-08 14:39:03 | Simplified TType class by carving out TStructure and TField. R=kbr@chromium.org Review URL: https://codereview.appspot.com/9866043 git-svn-id: https://angleproject.googlecode.com/svn/trunk@2423 736b8ea6-26fd-11df-bfd4-992fa37f6226 TRAC #23415 Authored-by: alokp@chromium.org Signed-off-by: Shannon Woods Signed-off-by Nicolas Capens Merged-by: Jamie Madill | ||
| 2aeb26a4 | 2013-07-08 14:02:55 | Added support for EXT_frag_depth This change also required that support be added for associating built-in variables with an extension, similar to how functions could be associated with extensions previously. R=alokp@chromium.org Review URL: https://codereview.appspot.com/9827044 git-svn-id: https://angleproject.googlecode.com/svn/trunk@2248 736b8ea6-26fd-11df-bfd4-992fa37f6226 TRAC #23333 Authored-by: bajones@chromium.org Signed-off-by: Shannon Woods Signed-off-by Nicolas Capens Merged-by: Jamie Madill | ||
| 94bf7f22 | 2013-07-08 13:31:15 | Used size_t for object size instead of signed int. BUG=crbug 179653 R=aedla@chromium.org, kbr@chromium.org Review URL: https://codereview.appspot.com/8834048 git-svn-id: https://angleproject.googlecode.com/svn/trunk@2211 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 | ||
| 075edd84 | 2013-07-08 13:30:19 | Refactor location tracking. R=kbr@chromium.org Review URL: https://codereview.appspot.com/9078046 git-svn-id: https://angleproject.googlecode.com/svn/trunk@2202 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 | ||
| 94c3f42d | 2013-07-03 15:16:13 | Fix a missing case in OutputHLSL::textureName for 3D texture sampler translation. TRAC #23377 Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| a16f1679 | 2013-07-03 15:15:17 | Fix an incorrect instance of getCols which should be getNominalSize. TRAC #23263 Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| 570e04d8 | 2013-06-21 09:15:33 | Add support for passing nested structs in standard layout by value. We add support for this by using global scratch values as storage for the structs in uniform blocks. Any structs in std140 layouts that are referenced by value are initialized in the shader scope, without any packing, so the type of the structs are equivalent with what a GLSL program would expect. TRAC #23327 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| e4075c9c | 2013-06-21 09:15:32 | Add padding to nested structs packed with standard layout, to address HLSL's more liberal packing rules. TRAC #23327 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| c835df68 | 2013-06-21 09:15:32 | Add support for structs in uniform blocks with standard layout. TRAC #23327 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| fb50dff0 | 2013-06-24 16:16:23 | Implemented 2D array sampler HLSL translation. TRAC #23377 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| e0ba27a2 | 2013-06-24 16:10:52 | Construct texture functions from stored characteristics. TRAC #23377 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 9fe6f984 | 2013-06-24 16:05:25 | Implemented 3D sampler HLSL translation. TRAC #23365 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| e27c1c3b | 2013-06-17 16:47:25 | Fixed texture2DProjLod for DX11. TRAC #23360 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 075368e3 | 2013-06-24 15:58:30 | Implemented unsigned integer sampler HLSL translation. TRAC #23360 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 1f1a833d | 2013-06-24 15:42:27 | Implemented integer sampler HLSL translation. TRAC #23359 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 574d9dd0 | 2013-06-20 11:55:56 | Add support for std140 uniform block layout for basic types. This support does not include structures. TRAC #23083 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| 440dc749 | 2013-06-20 11:55:55 | Redesign the code that uses block layouts to use a generic base class. The cleaner code also has the benefit of allowing us to separate the HLSL-specific parts out of the shader validator. TRAC #23083 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| b4e664b1 | 2013-06-20 11:55:54 | Alter array instanced uniform buffer objects to use direct references to HLSL constant buffers. This avoids using a shader scoped static storage buffer, with copies. TRAC #23299 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| 9cf6c070 | 2013-06-20 11:55:53 | Refactor code for generating structure strings to a separate function. This could fix a potential regression, which might define structs multiple times in generated HLSL. TRAC #23271 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| 010fffa8 | 2013-06-20 11:55:53 | Pass matrix packing qualifier data back from the shader translator to the GLES API. TRAC #23271 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| 529077d9 | 2013-06-20 11:55:54 | Add support for column/row major layout qualifiers in generated HLSL. TRAC #23271 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Authored-by: Jamie Madill | ||
| defb674a | 2013-06-20 11:55:51 | Add a new path for querying active attributes from the shader translator, for use with layout qualifier support. TRAC #23269 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill | ||
| 46131a38 | 2013-06-20 11:55:50 | Proper support for fragment output variables for GLSL ES shader version 300. TRAC #22704 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Authored-by: Jamie Madill | ||
| b120eac2 | 2013-06-12 14:08:13 | Update the shader translator to use new enums for ES3 shader vertex input and fragment outputs. This fixes many corner cases and error messages with ES3 syntax. TRAC #23268 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Authored-by: Jamie Madill | ||
| c0f7c619 | 2013-06-05 11:46:09 | Fix some uint handling. TRAC #23185 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| ab60b934 | 2013-06-05 10:31:21 | Renamed UnsignedInt to UInt in the compiler. TRAC #23185 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens | ||
| 22d63dae | 2013-06-07 12:45:12 | Fix an improper usage of getCols, which should be getNominalSize, in unsigned int vector code. TRAC #23263 Signed-off-by: Shannon Woods Author: Jamie Madill | ||
| a9f52472 | 2013-06-06 11:56:43 | Fix matrix accessor getCols to correct getNominalSize in code that could trigger a debug assertion failure. Was breaking the ES2-CTS build test in Debug mode. TRAC #23263 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill | ||
| 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 | ||
| 70961b33 | 2013-05-30 00:17:48 | Add support for structures in interface and uniform blocks. Also redesigns the uniform block layout computation to be more general. TRAC #23018 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2387 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| e429ab71 | 2013-05-30 00:12:52 | Add support to the HLSL translator for arrays of named interface blocks. 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@2347 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 4430b0d3 | 2013-05-30 00:12:34 | Add support to the GLSL to HLSL translator for interface blocks with instance names. 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@2345 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 4a643ae4 | 2013-05-30 00:12:27 | Add support to the HLSL translator to output interface blocks to constant buffers, using HLSL register packing rules. 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@2344 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 7923dd2b | 2013-05-30 00:11:04 | Properly validate struct uniform linking between the vertex and pixel shaders. This also implements proper struct validation for uniform blocks. TRAC #22932 Signed-off-by: Nicolas Capens Signed-off-by: Geoff Lang Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2336 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 38676dc1 | 2013-05-30 00:06:52 | Refactor Uniform::[vp]sRegisterIndex to unsigned integers. TRAC #22858 Signed-off-by: Geoff Lang Signed-off-by: Nicolas Capens Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2305 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 0329988b | 2013-05-30 00:05:26 | Add support for querying gl_DepthRange as an active uniform via GetActiveUniform. TRAC #22865 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2292 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| c6ac65f6 | 2013-05-30 00:02:50 | Implemented basic GLSL ES 3.0 texture intrinsics. TRAC #22954 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2273 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 99ab6ebc | 2013-04-13 03:42:00 | Fix not correctly allowing the 'require' keyword in shaders enabling EXT_draw_buffers. TRAC #22888 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2156 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 1886fd4f | 2013-04-13 03:41:45 | Implement flat and centroid interpolation in HLSL. TRAC #22857 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2154 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 6f273e3a | 2013-04-13 03:41:15 | Implemented interpolation qualifier parsing. TRAC #22857 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2149 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| e7d4a247 | 2013-04-13 03:38:33 | Output all fragment data to gl_Color. TRAC #22715 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2124 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 | ||
| aa8b5cff | 2013-04-13 03:31:55 | Shader and Compiler track uses of gl_FragCoord and gl_FragData and MRT extension usage. 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@2084 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 18b4c4b5 | 2013-04-13 03:31:40 | Store the BuildInResources in the Compiler class so the draw buffer data can be read during shader 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@2082 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| c0d0c225 | 2013-04-13 03:29:36 | Provide safer and more convenient constant union accessors. TRAC #22676 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2071 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 | ||
| 42832a65 | 2013-02-28 23:18:38 | Scale the vertex coordinates when the viewport has been clamped. TRAC #22649 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1952 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 10aadb2d | 2013-02-28 23:17:52 | Only retrieve the precision of integer and floating-point types. TRAC #22635 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1944 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| fe3c0ef0 | 2013-02-28 23:17:22 | Store the precision of uniforms. 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@1940 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 9cbce920 | 2013-02-28 23:14:24 | Don't split loops on Shader Model 4+. TRAC #22516 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1925 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 01a5cf98 | 2013-02-28 23:13:51 | Expand GL sampler arguments to a texture and sampler argument for D3D11. TRAC #22593 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1919 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| cb332ab3 | 2013-02-28 23:12:18 | Declare vertex varyings which have not been written, to allow successful linking. TRAC #22581 Signed-off-by: Jamie Madill Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1906 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| a14ecf36 | 2013-02-28 23:09:42 | Eliminate unused DX11 driver uniforms. TRAC #22428 Signed-off-by: Geoff Lang Signed-off-by: Jamie Madill Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1895 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 | ||
| 46a5b87f | 2013-01-25 21:52:57 | Store DX11 driver uniforms in a separate constant buffer. TRAC #22327 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1764 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| fb256be9 | 2013-01-25 21:49:25 | Use the DX11 syntax for GLSL samplers and textures. TRAC #22330 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1739 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| b73964e3 | 2013-01-25 21:49:14 | Pass the desired HLSL version down to the HLSL generator. TRAC #22330 Signed-off-by: Geoff Lang Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1738 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 | ||
| 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 | ||
| c7ae02ec | 2012-12-20 21:13:11 | Fixed declaring arrays within structures. 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@1632 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 7aa6afff | 2012-12-20 21:13:02 | Assign register indexes to dx_ constants and intercept them. 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@1631 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 043da138 | 2012-12-20 21:12:22 | Provide an API for accessing the uniform array. TRAC #22239 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1625 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| f4d9feff | 2012-12-20 21:12:13 | Declare active uniforms. TRAC #22239 Signed-off-by: Daniel Koch Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1624 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 652468c4 | 2012-12-20 21:11:57 | Assign constant registers manually in HLSL. 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@1622 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 8803b85f | 2012-12-20 21:11:47 | Simplified uniform/varying/attribute output. 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@1620 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 12985188 | 2012-12-20 20:56:31 | Combine dx_Depth and dx_FrontCCW into dx_DepthFront. 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@1582 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 7386858e | 2012-12-20 20:56:10 | Compute gl_FrontFacing using a single float constant. 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@1580 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 0e5bb409 | 2012-10-17 18:24:53 | Also prototype the Lod0 function variant if needed. TRAC #21842 Issue=374 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1307 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| dd8e4aa4 | 2012-07-12 01:33:10 | Fix vertex texture fetch. The texture v coordinate was still being flipped. Fixes http://code.google.com/p/chromium/issues/detail?id=136650. Review URL: https://codereview.appspot.com/6345095 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1214 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 2fe20a86 | 2012-07-11 20:37:41 | Don't set the Break flag on the last loop fragment. TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1213 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 5b60f5eb | 2012-07-11 20:37:38 | Don't check for Break on the first loop fragment. TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1212 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 8c77f854 | 2012-07-11 20:37:35 | Indicate breaking out of an excessive loop using the loop index name. TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1211 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| e9b3f60a | 2012-07-11 20:37:31 | Keep track of the index name of excessive loops. TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1210 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 0933b0cc | 2012-07-11 20:37:28 | Use a single index for excessive loops. TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1209 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| c264de47 | 2012-07-11 20:37:25 | Limit HLSL loop scope to match that of GLSL, for excessive loops. TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1208 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| c6b3b3c7 | 2012-06-27 22:49:39 | Fix the compiler warnings on WebKit ports when updating ANGLE in WebKit. Remove the varargs used for extra info formatting in the error() and warning() methods of ParseHelper. Use std::stringstream for formatting instead. Review URL: http://codereview.appspot.com/6310067/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1170 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 9616e583 | 2012-06-22 18:27:01 | Merge no-flip-rows r1142 to trunk. Review URL: https://codereview.appspot.com/6304052 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1162 736b8ea6-26fd-11df-bfd4-992fa37f6226 | ||
| 646ea1ec | 2012-06-15 17:36:31 | Fixed compile error for translator_hlsl. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1153 736b8ea6-26fd-11df-bfd4-992fa37f6226 |