Commit Graph

13 Commits

Author SHA1 Message Date
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
Yiwen 8e81f9cfdb add a new interface to query format feature info (#4169)
* create a seperated branch to solve the Issue 8203

* Add format feature for query

* fix bugs and add formatFeature info for metal backend.

* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;

* fix a bug of textureExclusive, fix some typos.

* clean the code, correct some formatFeatures.

* fix bugs in metal backend, fix bugs found on windows.

* Use a proper log funciton in DeviceValidator. Fix code format.

* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
Yun Hsiao Wu 0e713cb6a4 render area affects viewport only (#3992)
* more validations

* render area affects viewport only
2021-10-19 18:26:13 +08:00
Yun Hsiao Wu 2dd9263085 remove resizable flag (#3908)
* misc fixes

* remove resizable flag
2021-09-23 18:34:31 +08:00
Yun Hsiao Wu 89131fad2d GL: better subpass support (#3887)
* vk: better subpass dependency deduction

* GL: better subpass support

* uint -> uint32_t

* officially make viewport/scissor dynamic by default

* gfx: states store hashes

* gfx: defend against usages after destroy
2021-09-16 09:43:26 +08:00
Yun Hsiao Wu da2f03ff73 gfx: swapchain refactor (#3751)
* gfx: swapchain

* acquire/release/surface on swapchain

* fix swapchain texture creation

* acquire/present back on device

* formats are swapchain-specific

* swapchain: vk works

* enable device agent

* format fix

* update gfxdef

* fix enum decl

* pipeline adapt

* minor

* vk: compress attr locations directly in SPIR-V

* gles3 adjust

* InputAssembler owns an DrawInfo

* gles2 adapt

* texture keep track of its hash

* device cached states

* format

* glslang finalize

* buffer view adapt

* fg: subpass support

* minor

* 3.4 adapt

* profiler adapt

* buffer update frequency detection

* minor

* base commit

* swapchain works on metal

* spirv

* mtltexture issue

* remote test code

* depthtexture

* revert ifdef USE_METAL

* ios swapchain header

* fix some triple buffer issues

* resize accept surface transform

Co-authored-by: Zeqiang Li <Zeqiang-li@outlook.com>
2021-08-31 19:40:32 +08:00
Yun Hsiao Wu 2056271bac misc pipeline fixes (#3811) 2021-08-10 09:49:18 +08:00
江战 4d2d4d82b5 3.3 some optimization (#3765) 2021-07-27 13:40:02 +08:00
Yun Hsiao Wu 6eedb24f9f gfx: object id / typed id (#3508)
* unified objectID/typedID

* record command buffers for validation

* update auto fix doc
2021-05-10 15:07:31 +08:00
Yun Hsiao Wu 90f345b768 format & type fixes (#3428)
* separate script for windows

* buffer.update const qualifier

* fix ES2 MRT supprot

* vk: subpass support

* better enum operators
2021-04-19 22:23:23 +08:00
Yun Hsiao Wu 9593a54b76 gfx: lifecyle validations (#3341)
* gfx: lifecyle validations

* better noexcept workaround

* more validations

* device layer reflection

* fix release build
2021-03-26 16:30:09 +08:00
Yun Hsiao Wu a42be36e36 gfx: validator (#3337)
* gfx: validator

* replace c-style casts

regexes used:
(?<!>)\(\(([\w\s\*]+?)\)([\w\[\]\->.:]+)\)
\[\(\w+\)(Feature::\w+)\]
2021-03-22 16:15:31 +08:00