aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/profile.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-26 18:32:59 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:33 -0400
commitadb591a757ccb289634920d51cf519b515ca32b6 (patch)
tree987c5cd0a346e69633791ad5ec355b6104ab036e /src/shader_recompiler/profile.h
parentf58f79c85dad7ad018a015cc6913f2789540ec22 (diff)
glasm: Use storage buffers instead of global memory when possible
Diffstat (limited to 'src/shader_recompiler/profile.h')
-rw-r--r--src/shader_recompiler/profile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.h
index c46452c3db..f8913bf146 100644
--- a/src/shader_recompiler/profile.h
+++ b/src/shader_recompiler/profile.h
@@ -111,7 +111,10 @@ struct RuntimeInfo {
std::optional<CompareFunction> alpha_test_func;
float alpha_test_reference{};
+ // Static y negate value
bool y_negate{};
+ // Use storage buffers instead of global pointers on GLASM
+ bool glasm_use_storage_buffers{};
std::vector<TransformFeedbackVarying> xfb_varyings;
};