rog
|
0384f61af3
|
re-rearrange movie code so it actually works all of the time
|
2012-10-19 19:43:03 -04:00 |
|
rog
|
b1dee5fc23
|
small fix for undo load state while not recording
|
2012-10-18 04:40:56 -04:00 |
|
rog
|
79692a6c78
|
save settings necessary for syncing a movie to the .dtm, and load them upon playback
|
2012-10-18 04:18:40 -04:00 |
|
rog
|
783409c765
|
clear the save state loaded from a previous movie when starting emulation
|
2012-10-18 04:14:25 -04:00 |
|
rog
|
6b99b746c8
|
fix undo load state and load last overwritten state while recording
|
2012-10-18 04:11:14 -04:00 |
|
rog
|
7f624cda10
|
fix recording from save state
|
2012-10-18 04:03:12 -04:00 |
|
rog
|
a366521d13
|
Correct the hotkey labels for undo load state, and load last overwritten state buttons
|
2012-10-18 03:30:44 -04:00 |
|
Ryan Houdek
|
57426ee726
|
Forced commit
|
2012-10-13 13:00:04 -05:00 |
|
Ryan Houdek
|
3f0d7312fa
|
A couple missed lines on the rebase.
|
2012-10-13 12:43:00 -05:00 |
|
Shawn Hoffman
|
1a8005d948
|
set ProgramShaderCache program format correctly.
|
2012-10-09 23:56:00 -05:00 |
|
Ryan Houdek
|
10666a9b87
|
More 'stuff'
|
2012-10-09 23:56:00 -05:00 |
|
Ryan Houdek
|
eb7a0c485a
|
More "stuff" for SS, also a small fix in the program shader cache cache setup."
|
2012-10-09 23:56:00 -05:00 |
|
Ryan Houdek
|
71f6b1eec6
|
Change 'stuff'
|
2012-10-09 23:56:00 -05:00 |
|
Shawn Hoffman
|
210ecad15f
|
let us try normal c++ static init instead...
|
2012-10-09 23:56:00 -05:00 |
|
Ryan Houdek
|
03b09bed5d
|
Get the program binary type correctly or else ATI makes massive (~400MB) shader caches. Also, don't need the line in the PixelShaderGen.
|
2012-10-09 23:56:00 -05:00 |
|
Ryan Houdek
|
2e15440896
|
Add support for Dual source blending to older ATI cards that don't support 420pack but do support GL_ARB_blend_func_extended. This is more proper as well anyways.
|
2012-10-09 23:56:00 -05:00 |
|
Ryan Houdek
|
5085cebaf3
|
These checks aren't needed when using CG.
|
2012-10-09 23:55:59 -05:00 |
|
Ryan Houdek
|
e88d35d1c1
|
Had a few vec4 and float4(0) calls floating around.
|
2012-10-09 23:55:59 -05:00 |
|
Shawn Hoffman
|
108722bed0
|
oops, forgot to make sure the gl program is actually free'd.
|
2012-10-09 23:54:18 -05:00 |
|
Ryan Houdek
|
e3854ded73
|
Woops, better not forget the ing
|
2012-10-09 23:54:18 -05:00 |
|
Ryan Houdek
|
4cd748bbec
|
Remove some warnings in ProgramShadercache, Was using wrong variable for checking dual source blending.
|
2012-10-09 23:54:18 -05:00 |
|
Shawn Hoffman
|
4c1fef8f98
|
refactor ProgramShaderCache::PCacheEntry
|
2012-10-09 23:54:18 -05:00 |
|
Shawn Hoffman
|
aaa405c973
|
Checking GLEW_VERSION_4_0 is superfluous since we check GL_ARB_get_program_binary, and it's a runtime variable anyways.
|
2012-10-09 23:54:18 -05:00 |
|
Shawn Hoffman
|
31a8424bcc
|
fix formatting uglies introduced in glsl-master branch
|
2012-10-09 23:54:17 -05:00 |
|
Shawn Hoffman
|
4a4833e617
|
default to GLSL instead of Cg
|
2012-10-09 23:43:22 -05:00 |
|
Ryan Houdek
|
3a5b6aed91
|
Missed a line here
|
2012-10-09 23:43:22 -05:00 |
|
Ryan Houdek
|
c4e7a288e5
|
Add in the Windows fix.
|
2012-10-09 23:43:22 -05:00 |
|
Ryan Houdek
|
ee529b7125
|
Only use explicit attribute locations when we are supporting GLSL > 1.2 since we need in/out instead of attribute variable types. This was brought to my attention from MESA. MESA supports GL_ARB_explicit_attrib_location, but yets to support GLSL 1.3, so basically useless extension to MESA right now?
|
2012-10-09 23:43:22 -05:00 |
|
Ryan Houdek
|
5c486587a6
|
Write all shaders to disk on emulator stop instead of constantly. Also change pair from u64 to u32.
|
2012-10-09 23:43:22 -05:00 |
|
Ryan Houdek
|
4eb227bd4c
|
If user doesn't compile with glew 1.6, cut out program binaries so everything still compiles.
|
2012-10-09 23:43:22 -05:00 |
|
Ryan Houdek
|
189d12b61c
|
If CG isn't available, still compile and fallback on GLSL
|
2012-10-09 23:43:22 -05:00 |
|
Sonicadvance1
|
7c91476650
|
Missed a if, don't want people crashing now do we?
|
2012-10-09 23:42:41 -05:00 |
|
Ryan Houdek
|
9996f27120
|
Give OSX users more of a chance of supporting Single pass DSB in the future.
|
2012-10-09 23:42:41 -05:00 |
|
Ryan Houdek
|
d012c75005
|
Implement Program shaders cache. Seems to reduce a small amount of stuttering when F-Zero starts. Did it because I can :|
|
2012-10-09 23:42:41 -05:00 |
|
Ryan Houdek
|
ef1e157786
|
Go back to using glGetString with GL_EXTENSIONS because glew 1.7 is required to check for newer 4.2 extensions that way.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
ac77bbd47b
|
Move the GLSL extension checks over here so it is nicer.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
7cb3d86e31
|
Add a define back so we work without GLEW 1.6, Also I missed a line when I was fixing binding sampler locations last night when I was tired.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
1aad2e9e56
|
There we go, actually found the issue.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
6759ee701d
|
This thing fails when we don't support binding. Not 100% sure why I need to set this multiple times.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
c76593f6a2
|
Looky, OSX found an issue for me.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
66a245dd68
|
Remove this silliness
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
9c09e1973a
|
Some shader programs don't come with Vertex shaders attached, don't try to bind a Vertex Uniform block then.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
f8d0c28e53
|
Set Sampler values at program make time instead of every frame. Fix an issue when The user had UBO support but not Binding support.
|
2012-10-09 23:42:40 -05:00 |
|
Ryan Houdek
|
ddd4360d6d
|
Only delete this buffer if we support it.
|
2012-10-09 23:42:39 -05:00 |
|
Ryan Houdek
|
7aad45658e
|
Add a GUI option to use GLSL shaders. Also fix a small typo.
|
2012-10-09 23:42:39 -05:00 |
|
Ryan Houdek
|
076c1a5aa7
|
Make sure not to try and bind UBO locations when it isn't supported
|
2012-10-09 23:41:49 -05:00 |
|
Ryan Houdek
|
7f12daa014
|
Looks like we make use of fmod, make a GLSL function for it!
|
2012-10-09 23:41:49 -05:00 |
|
Ryan Houdek
|
ba12c0b4f5
|
Instead of querying the vertex attribute location. Let's bind it to where CG expects it to be as well. Was causing problems when we were trying to activate the components below and they weren't available. This fixes cubivore with GLSL shader. Also any other game that uses 3 normal pointers.
|
2012-10-09 23:41:48 -05:00 |
|
Jordan Woyak
|
d70726b035
|
glMapBuffer was slow, go back to glBufferSubData, single combined ps/vs ubo now
|
2012-10-09 23:41:48 -05:00 |
|
Jordan Woyak
|
d9117ab6a1
|
try combining vs/ps ubo
|
2012-10-09 23:41:48 -05:00 |
|