Commit Graph

22 Commits

Author SHA1 Message Date
916ca74324 opengl: Declare fragment outputs even if they are not used
Fixes Ori and the Blind Forest's menu on GLASM. For some reason
(probably high level optimizations) it is not sanitized on SPIR-V for
OpenGL. Vulkan is unaffected by this change.
2021-07-22 21:51:34 -04:00
adb591a757 glasm: Use storage buffers instead of global memory when possible 2021-07-22 21:51:33 -04:00
e30d4fa976 glasm: Implement indirect attribute loads 2021-07-22 21:51:33 -04:00
b382f57b28 glasm: Fix output patch reads
With this, Luigi's Mansion's sand renders properly.
2021-07-22 21:51:33 -04:00
9e7b6622c2 shader: Split profile and runtime information in separate structs 2021-07-22 21:51:33 -04:00
781a87175c glasm: Fix patch attribute declarations 2021-07-22 21:51:33 -04:00
394b96a2fe glasm: Implement clip distance stores 2021-07-22 21:51:32 -04:00
a569ac418e glasm: Implement patch memory 2021-07-22 21:51:32 -04:00
d5db96386d glasm: Implement InvocationId 2021-07-22 21:51:32 -04:00
79929be833 glasm: Implement geometry shader attribute reads 2021-07-22 21:51:32 -04:00
83cef0426b glasm: Properly declare attributes on geometry programs 2021-07-22 21:51:32 -04:00
dadd192b30 glasm: Implement ImageRead 2021-07-22 21:51:32 -04:00
b60b3fa113 glasm: Fix compute stage name 2021-07-22 21:51:32 -04:00
accad56ee7 glasm: Implement stores to gl_ViewportIndex 2021-07-22 21:51:32 -04:00
4a22942f45 glasm: Implement ImageFetch 2021-07-22 21:51:32 -04:00
8b7d5912d6 glasm: Support textures used in more than one stage 2021-07-22 21:51:32 -04:00
db2f0f4108 emit_glasm: Enable ARB_draw_buffers when needed 2021-07-22 21:51:31 -04:00
3764750339 glasm: Add graphics specific shader declarations to GLASM 2021-07-22 21:51:31 -04:00
c4fd6b55bc glasm: Implement shuffle and vote instructions on GLASM 2021-07-22 21:51:31 -04:00
6fd190d1ae glasm: Implement basic GLASM instructions 2021-07-22 21:51:30 -04:00
c1ba685d9c glasm: Changes to GLASM register allocator and emit context 2021-07-22 21:51:30 -04:00
b10cf64c48 glasm: Add GLASM backend infrastructure 2021-07-22 21:51:30 -04:00