baldurk
1a2ff55fa4
Ensure proper precedence when calculating SRGB to linear conversion
2017-01-02 20:16:27 +00:00
baldurk
5de727e254
Move PS constant buffer to register 0
2016-11-18 16:31:31 +01:00
baldurk
92b6d7f87d
Implement triangle size overlay for D3D12 using mesh output
2016-11-18 16:31:29 +01:00
baldurk
c08a357598
Remove redundancy in D3D mesh shaders, add mesh rendering for D3D12
2016-11-18 16:31:24 +01:00
baldurk
0c06590df3
Remove cubemap binding from D3D/HLSL texture view. Just use 2D array
2016-11-18 16:31:05 +01:00
baldurk
3290dd1448
Move version information to public API so that all projects can share it
2016-11-11 20:35:59 +01:00
baldurk
01c0ec36b0
Update URLs to point to https://
2016-11-10 16:19:16 +01:00
baldurk
65e05a3196
Add support for serialising multisampled images in vulkan. Refs #193
...
* This also applies to stencil even in non-multisampled images.
* Serialisation applies to both network proxying data, initial frame
contents at the beginning of a captured frame, and saving images to
disk.
2016-11-07 18:14:45 +01:00
baldurk
d2b2e77d35
Clean up GL/Vulkan display shader, fixes remapping of mips. Refs #390
2016-10-06 18:09:06 +02:00
baldurk
9ee4653a7a
Add triangle size overlay, showing heatmap of triangles < 4x4 in area
2016-10-02 20:04:43 +02:00
James Fulop
317e01c22f
fix file line endings
2016-09-30 11:01:35 +02:00
James Fulop
bd14750702
ignore w component in default path
2016-09-30 10:58:30 +02:00
James Fulop
8054365bd6
picking works on tiny/detailed VS_Out meshes
2016-09-30 10:58:29 +02:00
James Fulop
bfd1d96f8f
ignoring w component on VS_In
2016-09-30 10:58:27 +02:00
James Fulop
d306f27c72
minor tidying
2016-09-30 10:58:13 +02:00
James Fulop
67246868f5
vs_out tri picking works from all angles
2016-09-30 10:55:01 +02:00
James Fulop
15978532e3
updated vertex picking for d3d11
2016-09-30 10:55:00 +02:00
James Fulop
a8b2be5643
minor comment/logic changes
2016-09-30 10:55:00 +02:00
James Fulop
770843554d
triangle picking for Vulkan
...
Essentially a straight copypaste from the GL version.
VS_Out picking isn't working correctly in the triangle path.
2016-09-30 10:54:59 +02:00
James Fulop
03fdfc7593
triangle selection path works in VSOut stage now
2016-09-30 10:54:58 +02:00
James Fulop
f630e4a7d6
all mesh types functioning in opengl
2016-09-30 10:51:59 +02:00
James Fulop
becf01701f
triangle fan support
2016-09-30 10:51:59 +02:00
James Fulop
ea861ed3e1
fixed bug were it would pick vertices behind the camera
2016-09-30 10:51:58 +02:00
James Fulop
8851da66af
added original picking back in as a fallback.
2016-09-30 10:51:57 +02:00
James Fulop
bdfd44ebc9
triangle lists pick correctly
2016-09-30 10:51:57 +02:00
James Fulop
ef185bca34
improved vertex picking, only Opengl VS Input
...
The new vertex picking solution raycasts from the mouse's position,
picking vertices based on
1. The triangle it has intersected (take the nearest triangle)
2. The nearest vertex to the intersection point on the triangle
This is replacing a solution that was based on how close the vertex was
to the mouse in screen space and its depth.
This commit only supports the OpenGL path in the VS Input window.
I have disabled vertex picking in Vulkan for now, as there are some
cross dependencies (debuguniforms.h).
2016-09-30 10:51:56 +02:00
baldurk
186d7785ec
Bump version information to v0.32
2016-09-13 19:24:27 +02:00
baldurk
79b860c1d5
Fix saturate on the wrong sub-expression clamping sRGB white slightly
2016-08-19 17:26:39 +02:00
baldurk
46464dc403
Switch D3D11 font rendering to generate tri strip data in shader
2016-08-06 18:31:30 +02:00
baldurk
3655f0610d
Bump version information to v0.31
2016-08-01 19:07:48 +02:00
baldurk
c6defdf1ef
Fix vertex picking on Vulkan (proper accounting for inverted NDCs).
2016-07-26 12:47:19 +02:00
baldurk
a001f35329
Output UVs in [0,1] from blit shader, for custom vis shaders. Refs #304
2016-07-25 11:39:49 +02:00
baldurk
7e5f51cbf8
Rename spv/ folder back to glsl/ (hope this will make better history)
2016-07-22 02:44:37 +02:00
baldurk
ed512a48de
Remove glsl shader variants (and fix text rendering I forgot about)
2016-07-22 02:40:15 +02:00
baldurk
15d60ef6b9
Convert rest of GL shaders to use spv_ variants
2016-07-22 02:26:37 +02:00
baldurk
a3fa84dbce
Convert over mesh rendering and fix it up for GL while I'm at it
2016-07-22 01:12:29 +02:00
baldurk
96d98fa5d7
Start using common shaders for some GL shaders
2016-07-21 23:25:01 +02:00
baldurk
28645937db
Use utility function for #version, #extension hoisting, "#includes", etc
2016-07-21 22:33:43 +02:00
baldurk
9e786f258c
Make internal vulkan shaders compatible with GL with a few #ifdefs
2016-07-21 19:11:33 +02:00
baldurk
eece61fe0b
Implement proper accurate sRGB conversion, instead of pow(2.2) approx
2016-07-19 17:38:58 +02:00
baldurk
6608a965ed
Fix sRGB handling on clear colours
2016-07-10 18:10:06 +02:00
baldurk
14591e6a00
Move pixel debug pixel cbuffer to slot 1 so it doesn't overlap in D3D12
2016-07-10 18:09:57 +02:00
Jason Ekstrand
8034d1a678
vulkan: Add locations to shader inputs/outputs
...
As-is, glslang doesn't provide default locations on inputs so these weren't
getting any location decorations whatsoever. This is illegal in Vulkan.
While putting them in a struct *should* be possible in theory, glslang
doesn't like to do it with the glsl version in the shader. Just splitting
them into separate inputs seems like the most reliable solution.
2016-06-15 10:35:15 -07:00
baldurk
88695370fd
Implement mesh/vertex picking for Vulkan
2016-06-08 11:04:11 -07:00
baldurk
566ab0b678
Work around apparent bug encountered on Intel
2016-06-03 14:04:55 +02:00
baldurk
c1f66de413
Add early OS X compiling support from @Zorro666 - still non-functional!
...
* Build with cmake -DENABLE_VULKAN=OFF -DENABLE_QRENDERDOC=OFF
2016-05-31 12:05:45 +02:00
baldurk
5f28b745a2
Format code according to newly added clang-format
...
_ /)
mo / )
|/)\)
/\_
\__|=
( )
__)(__
_____/ \\_____
| _ ___ _ ||
| | \ | | \ ||
| | | | | | ||
| |_/ | |_/ ||
| | \ | | ||
| | \ | | ||
| | \. _|_. | . ||
| ||
|repository history||
| ||
* | * ** * ** |** **
\))ejm97/.,(//,,..,,\||(,,.,\\,.((//
2016-05-22 19:41:53 +02:00
baldurk
36468bb666
Bump version information to v0.30
2016-05-08 20:52:56 +02:00
baldurk
cf2bebadac
Bump version number to v0.29 that I forgot to do earlier!
2016-05-08 16:54:42 +02:00
baldurk
d336d5396d
Update a few copyrights that still only said 2015
2016-04-23 12:47:29 +02:00