Tree:
cbf57de4e5
3096/hle/bufferc
3096/qcom/clamp
3096/spirv/warp
3096/vk/drain_pending_build
3096/vk/pipeline_compilation
Kernel
android/fix-gpu-driver-fetcher
android6
atomicops-mxwell
audio-fix
civa
descriptor
descriptor_pool_opt
descriptor_set
disable-vap
discfix
display-modified-settings-first
dmnt2
dynarm7345
dynarmic-coproc
dynarmic-docs-move-inline
dynarmic-ppc64
eden-orbis-ps4
eds-true-adreno-fixes
feature/dmnt
ffmpeg-cross-compile
ffmpeg-postporc-fix12
fix-fibers-2
fix/discord-rpc
fix/no-duplicate-drivers
flatopsfixes23485
fs_external_dlcupdates
install-vulkan-ps1-fix-windows-on-arm
interval-zero
jarrod-leaks-fix
kjsdfndkfn-2834
lanobu
liz-coalesce-ptr-to-variant
liz-crash-dumps-solaris
liz-dynarmic-backport-waitpkg
liz-dynarmic-macos-fbsd-port
liz-get-rid-of-mcl-intrusive-list
liz-heaptrack-fix
liz-no-rtti-allowance
lock-term-1
macos-sqbuild
macroify-surface-stuffs
master
memsetopsyscallavoid
mmap-fixews
mutliplayer-filter-better1
n64
nce-strx
nce_cpp
netgate1
netusejthreadstuff
no-d24
pintocputhing
pipelinederivative
pt-fix-attempt
qcom-weird-vk-ftz
quick-fix
refactoreds2
release/0.0.3
release/0.0.4
rem-dup-applet-launch
remove-unused-fastmem-fallback
reorder-menu-game-per-config
revert-2695
sampleshaderfract
scmfix-worktree
script/android-icons
selfhost0
showcase
showcase2
sjkdbsdfjkbsdf-2834
smartqueryreset
static-linux
static-vector-thread-list
stuffmadeforfun
sured-revert
test-donotmerge
test-revert-gpu-optim
true-eds
true-eds-graphics
update-cpmutil
update-icons-android-11
video-core-improve-dma-logic
vk-fix-oom-force-maller-buffers
vk-surface-andpc
vulkan-thingy
xbzk-mci-bare-minimum-boot-fix
xbzk-saf-recursive-write-with-permission-request
0.0.0
0.0.1-pre-alpha
0.0.2-pre-alpha
test-tag1
test-tag2
v0.0.3
v0.0.3-rc1
v0.0.3-rc2
v0.0.3-rc3
v0.0.3.git
v0.0.4
v0.0.4-rc1
v0.0.4-rc2
v0.0.4-rc2.test
v0.0.4-rc2.test2
v0.0.4-rc3
v0.0.4-rc3.test1
v0.0.4-rc3.test2
v0.0.4.test
${ noResults }
2 Commits (cbf57de4e5620cd2f579bee08aa2c54e757150ee)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
da1c8d1522 |
Fixed type conversion ambiguity
|
8 years ago |
|
|
35b3fef422 |
pica/command_processor: build geometry pipeline and run geometry shader
The geometry pipeline manages data transfer between VS, GS and primitive assembler. It has known four modes: - no GS mode: sends VS output directly to the primitive assembler (what citra currently does) - GS mode 0: sends VS output to GS input registers, and sends GS output to primitive assembler - GS mode 1: sends VS output to GS uniform registers, and sends GS output to primitive assembler. It also takes an index from the index buffer at the beginning of each primitive for determine the primitive size. - GS mode 2: similar to mode 1, but doesn't take the index and uses a fixed primitive size. hwtest shows that immediate mode also supports GS (at least for mode 0), so the geometry pipeline gets refactored into its own class for supporting both drawing mode. In the immediate mode, some games don't set the pipeline registers to a valid value until the first attribute input, so a geometry pipeline reset flag is set in `pipeline.vs_default_attributes_setup.index` trigger, and the actual pipeline reconfigure is triggered in the first attribute input. In the normal drawing mode with index buffer, the vertex cache is a little bit modified to support the geometry pipeline. Instead of OutputVertex, it now holds AttributeBuffer, which is the input to the geometry pipeline. The AttributeBuffer->OutputVertex conversion is done inside the pipeline vertex handler. The actual hardware vertex cache is believed to be implemented in a similar way (because this is the only way that makes sense). Both geometry pipeline and GS unit rely on states preservation across drawing call, so they are put into the global state. In the future, the other three vertex shader units should be also placed in the global state, and a scheduler should be implemented on top of the four units. Note that the current gs_unit already allows running VS on it in the future. |
9 years ago |