Commit Graph

  • 8c6befc2f9 Add two utility matrix functions. Jamie Madill 2013-06-20 11:55:55 -04:00
  • 1566ef7074 Add parsing for default block storage qualifiers. Jamie Madill 2013-06-20 11:55:54 -04:00
  • b4e664b129 Alter array instanced uniform buffer objects to use direct references to HLSL constant buffers. Jamie Madill 2013-06-20 11:55:54 -04:00
  • 529077d9c7 Add support for column/row major layout qualifiers in generated HLSL. Jamie Madill 2013-06-20 11:55:54 -04:00
  • 9cf6c070a7 Refactor code for generating structure strings to a separate function. Jamie Madill 2013-06-20 11:55:53 -04:00
  • 010fffa864 Pass matrix packing qualifier data back from the shader translator to the GLES API. Jamie Madill 2013-06-20 11:55:53 -04:00
  • 099c0f33a0 Add parsing support for global and interface block scoped matrix packing qualifiers. Jamie Madill 2013-06-20 11:55:52 -04:00
  • 0bd18dfb1a Enforce shader input and output variables with a specified location to be single declarations. Jamie Madill 2013-06-20 11:55:52 -04:00
  • 502d66f6f6 Move the parsing of declarator lists into the ParseHelper. Jamie Madill 2013-06-20 11:55:52 -04:00
  • eba4eff540 Add support for specifying locations of vertex inputs using layout qualifiers, for GLSL ES 3.00. Jamie Madill 2013-06-20 11:55:51 -04:00
  • defb674aad Add a new path for querying active attributes from the shader translator, for use with layout qualifier support. Jamie Madill 2013-06-20 11:55:51 -04:00
  • bb22e508f3 Fix an improper use of VariableRowCount to AttributeRegisterCount in ProgramBinary. Jamie Madill 2013-06-20 11:55:51 -04:00
  • d1e78c9cf6 Implement GetFragDataLocation, often used by applications with MRT shaders in GLSL ES version 300. Jamie Madill 2013-06-20 11:55:50 -04:00
  • 46131a3832 Proper support for fragment output variables for GLSL ES shader version 300. Jamie Madill 2013-06-20 11:55:50 -04:00
  • 05a80cebc3 Validate fragment shader outputs and produce a compile error on missing or conflicting assignments. Jamie Madill 2013-06-20 11:55:49 -04:00
  • 975af378b3 Blit11 can now blit depth stencils. Geoff Lang 2013-06-12 11:19:22 -04:00
  • d8c861388d Added depth stencil format info to format utils 11. Geoff Lang 2013-06-12 11:17:24 -04:00
  • 685806d629 Seperated the blit depthstencil parameters in the blit methods. Geoff Lang 2013-06-12 11:16:36 -04:00
  • c1f51be4fd Renderer11::blitRenderbufferRect now can handle stretching a blit rectangle and different interpolation methods. Geoff Lang 2013-06-11 11:49:14 -04:00
  • 758d5b2158 Refactored validation to glBlitFramebufferANGLE and implemented glBlitFramebuffer. Geoff Lang 2013-06-11 11:42:50 -04:00
  • a2d97f13f6 RenderTarget11 now always attempts to create an SRV if the format exists and specifies the bind parameters based on which formats are available. Geoff Lang 2013-06-11 11:44:02 -04:00
  • aacabd662f Made sure all the depth stencil DXGI variants that are used as SRVs, RTVs and DSVs have entries in the DXGI format info table. Geoff Lang 2013-06-11 11:50:45 -04:00
  • 77e3900a68 Added a non-default rasterizer state to Blit11 so it can preform inverted blits. Geoff Lang 2013-06-11 11:28:19 -04:00
  • b0c75cc926 Added support for copying GL_RG, GL_RED and integer texture formats in Blit11. Geoff Lang 2013-06-04 17:13:27 -04:00
  • b86b979da8 Refactored the Renderer11::copyTexture method into a Blit11 class. Geoff Lang 2013-06-04 16:32:05 -04:00
  • 7b7bc36ad6 Added a dimension type and added constructors to Color, Rectangle, Box and Dimension for easy construction. Geoff Lang 2013-06-04 15:07:28 -04:00
  • dce735c3ee Renamed the Blit class to Blit9. Geoff Lang 2013-06-04 10:21:18 -04:00
  • 697ad3ed5e Replaced switches in Renderer::readPixels with calls to color reading and writing functions. Geoff Lang 2013-06-04 10:11:28 -04:00
  • fe28ca0624 Added table entries for reading colors from D3D and DXGI formats and writing colors to format/type combinations. Geoff Lang 2013-06-04 10:10:48 -04:00
  • 446a447776 Added new image formats to match new ES3 formats and added read and write functions to various color types that they can represent. Geoff Lang 2013-06-04 10:03:14 -04:00
  • 75ce3f2188 Moved the image format types into their own header. Geoff Lang 2013-05-31 12:00:37 -04:00
  • 2a64ee4479 Templated the Color structure so it can be used for the new integer and unsigned integer color types. Geoff Lang 2013-05-31 11:22:40 -04:00
  • 49a8887b73 Initialize the symbol table without invoking the parser. Nicolas Capens 2013-06-20 09:54:03 -04:00
  • bd10cf5581 Assign unique id's to symbols inserted directly into a symbol table level. Nicolas Capens 2013-06-20 09:51:51 -04:00
  • 51a53c7bc2 Properly report error when layout qualifiers are specified outside uniform blocks. Jamie Madill 2013-06-19 09:24:43 -04:00
  • fd39655df0 Fix non-multisampled line rasterization. Nicolas Capens 2013-06-18 21:41:30 -04:00
  • 53950a2905 Delete a "rej" file that was accidentally committed. Jamie Madill 2013-06-18 17:40:12 -04:00
  • 930f05eac5 Fixed cube map getRenderTarget for DX9. Nicolas Capens 2013-06-18 15:31:58 -04:00
  • 9c5808c58b Implemented the remaining non-compressed load functions for ES3. Geoff Lang 2013-06-07 15:16:58 -04:00
  • 62431836a3 Fix API reported packing rules for matrices and arrays in shared layout to be consistent with HLSL. Jamie Madill 2013-06-10 11:44:28 -04:00
  • acdd70f4e6 Fix nested uniforms in interface blocks to have the proper API-visible names. Jamie Madill 2013-06-07 14:39:56 -04:00
  • 52660ffcc1 Fix alignment of HLSL packed structs in interface blocks. Jamie Madill 2013-06-07 14:11:09 -04:00
  • a295edfc00 Add parsing (but not full support) for global default layout qualifiers for block storage and matrix packing. Jamie Madill 2013-06-06 11:56:48 -04:00
  • a5efff9996 Redesign layout qualifier parsing to be simpler and more storage efficient. Jamie Madill 2013-06-06 11:56:47 -04:00
  • 60ed98109a Move the parsing of single declarations into TParseContext. Jamie Madill 2013-06-06 11:56:46 -04:00
  • 63491eae7c Rename UniformLocation to VariableLocation, and add an arrayString helper method to ProgramBinary. Jamie Madill 2013-06-06 11:56:45 -04:00
  • 6c23946c8b Properly recognize error cases for 'centroid out' and 'centroid in'. Jamie Madill 2013-06-06 11:56:45 -04:00
  • b120eac230 Update the shader translator to use new enums for ES3 shader vertex input and fragment outputs. Jamie Madill 2013-06-12 14:08:13 -04:00
  • f8dc4fb66d A special state to track field selection is not necessary. Jamie Madill 2013-05-24 16:34:06 -04:00
  • 39a8ce6be5 Lexer does not need to handle unknown-char case. Jamie Madill 2013-06-13 10:30:38 -04:00
  • 96de824e99 Lexer does not need a state stack now that it does not handle comments. Jamie Madill 2013-05-24 16:34:05 -04:00
  • 78eb5dfbd8 Robust distinction between IDENTIFIER and TYPE_NAME tokens. Jamie Madill 2013-05-24 16:34:05 -04:00
  • 7eeb9b66f6 Delete dead-code for handling comments and invalid octal integers. These are already handled by the preprocessor. Jamie Madill 2013-05-24 16:34:05 -04:00
  • fe345bfd85 Deleted unnecessary TParseContext::AfterEOF. Jamie Madill 2013-05-24 16:34:04 -04:00
  • 56b065198f Reformat tokenizer. No functional changes. Jamie Madill 2013-05-24 16:34:04 -04:00
  • 23ee2382d5 Ignore .orig files, which result from merge conflicts. Jamie Madill 2013-06-13 10:25:23 -04:00
  • b5ce077e6f Add 64bit safety patch step to generate_parser.sh scripts. Shannon Woods 2013-06-12 14:05:56 -04:00
  • eb936d0de3 Adds patch files for 64 bit safety fixes Shannon Woods 2013-06-12 14:05:38 -04:00
  • 81e93083a5 Makes generate_parser.sh executable Shannon Woods 2013-06-12 14:05:22 -04:00
  • d384a94c9c Fixed a bug that allowed reading to an integer format from a non-integer frame buffer. Geoff Lang 2013-06-05 15:00:10 -04:00
  • a4d1332364 Fixed a bug where ES3 was validating the texture size in non-CopySubImage calls. Geoff Lang 2013-06-05 14:57:51 -04:00
  • 0d56c43064 Image11 now determines if a format is renderable by checking the RTV format exists rather than the SRV format. Added several more RTV DXGI formats to the table to allow fast copies. Geoff Lang 2013-06-05 14:54:16 -04:00
  • 241592267e Fixed a bug where GetBlueBits was returning the count of green bits. Geoff Lang 2013-06-05 14:56:32 -04:00
  • b13f866ef9 Disambiguate getRenderTarget calls. Nicolas Capens 2013-06-04 13:30:19 -04:00
  • c0f7c61980 Fix some uint handling. Nicolas Capens 2013-06-05 11:46:09 -04:00
  • ab60b9346e Renamed UnsignedInt to UInt in the compiler. Nicolas Capens 2013-06-05 10:31:21 -04:00
  • ba60ad36f9 Eliminate unused clone/dump methods. Nicolas Capens 2013-06-04 15:55:47 -04:00
  • 22d63dae95 Fix an improper usage of getCols, which should be getNominalSize, in unsigned int vector code. Jamie Madill 2013-06-07 12:45:12 -04:00
  • d3ff2169bf Marked unsized format load functions as unreachable and added a comment why. Geoff Lang 2013-06-07 15:10:59 -04:00
  • ae4852a29c Refactored glGenerateMipmap and added ES3 validation. Geoff Lang 2013-06-05 15:00:34 -04:00
  • d42cf4ed18 D3D9 will now use D3DFMT_R5G6B5 textures when GL_RGB565 is requested if the device supports it. Geoff Lang 2013-06-05 16:09:17 -04:00
  • 42b8b908e6 Fixed a bug where GL_RBG565 was labled as a GL_RGBA internal format. Geoff Lang 2013-06-05 16:08:21 -04:00
  • 18591b7c70 Capitalized the first letter of all private format util functions. Geoff Lang 2013-06-07 12:00:15 -04:00
  • 2e1dcd59a6 Refactored glRenderBufferStorage* validation and implemented glRenderBufferStorageMultisample. Geoff Lang 2013-05-29 10:34:08 -04:00
  • 0e120e3dae Added a Renderer::getMaxSupportedFormatSamples method to query the max support samples for a specific internal texture format. Geoff Lang 2013-05-29 10:23:55 -04:00
  • 61e49a5cac Added Functions for gathering all referenced D3D and DXGI formats. Renderers now use these functions to generate the multisample support maps. Geoff Lang 2013-05-29 10:22:58 -04:00
  • a9f5247212 Fix matrix accessor getCols to correct getNominalSize in code that could trigger a debug assertion failure. Jamie Madill 2013-06-06 11:56:43 -04:00
  • 74eb9155ca Fixed GL_RGB4 not being marked as color renderable in ES3. Geoff Lang 2013-05-29 16:09:05 -04:00
  • 7ed740c50c Update GYP file to be in sync with vs projects. Geoff Lang 2013-05-29 16:08:33 -04:00
  • 047373aa3e Bumps ANGLE version Shannon Woods 2013-07-19 16:44:08 -04:00
  • cc89bc1202 Remove intrinsic parameter names. Nicolas Capens 2013-07-18 13:36:55 -04:00
  • 506d7617c0 Eliminate isVariableBuiltIn. Nicolas Capens 2013-07-18 11:35:59 -04:00
  • c66cd563c3 Detect redefinition of functions and variables. Nicolas Capens 2013-07-18 11:30:54 -04:00
  • d5c6abc474 Fix the reported shader gl_MaxDrawBuffers to be compliant with the new EXT_draw_buffers spec. Jamie Madill 2013-07-12 16:13:12 -04:00
  • 1bc1b6a3cc Only allow zero indexes for gl_FragData when the draw buffers extension is disabled. Jamie Madill 2013-07-12 16:06:38 -04:00
  • 57a045443c Move the code for parsing indexed expressions from the grammar to TParseContext. Jamie Madill 2013-07-12 16:05:23 -04:00
  • 9c414aca1d Add *.orig and *.rej to .gitignore. Jamie Madill 2013-07-12 15:56:28 -04:00
  • e2be248f89 Bump ANGLE version Shannon Woods 2013-07-19 16:27:32 -04:00
  • d767f41e37 Remove intrinsic parameter names. Nicolas Capens 2013-07-18 14:01:48 -04:00
  • 58aa4e4080 Eliminate isVariableBuiltIn. Nicolas Capens 2013-07-18 11:40:03 -04:00
  • d4ceab122e Detect redefinition of functions and variables. Nicolas Capens 2013-07-18 11:39:25 -04:00
  • 7891ba4534 Bump ANGLE version Shannon Woods 2013-07-11 13:10:36 -04:00
  • 6322ef4790 Protect against integer overflows in the IndexBuffer class by validating that the new write position will not overflow. Geoff Lang 2013-07-09 16:02:30 -04:00
  • 0c8b4e563e Protect against integer overflows in the VertexBuffer class by validating the reserved space. Geoff Lang 2013-07-09 15:58:36 -04:00
  • 4791329145 Protect against integer overflows when generating index buffers for line loop and triangle fan drawing. unknown 2013-07-09 15:55:07 -04:00
  • 5d1cffdc6e Bump ANGLE version Shannon Woods 2013-07-11 13:05:55 -04:00
  • 07dda9519c Protect against integer overflows in the IndexBuffer class by validating that the new write position will not overflow. Geoff Lang 2013-07-09 17:12:36 -04:00
  • 27a1020f01 Protect against integer overflows in the VertexBuffer class by validating the reserved space. Geoff Lang 2013-07-09 17:12:06 -04:00
  • 2426d5fee0 Protect against integer overflows when generating index buffers for line loop and triangle fan drawing. Geoff Lang 2013-07-09 17:02:05 -04:00
  • 9b344317b2 Bump version.h Al Patrick 2013-07-01 12:38:41 -07:00