|
|
@ -85,6 +85,12 @@ public:
|
|
|
|
/// Returns true if the keys are equal to the other ones in the registry.
|
|
|
|
/// Returns true if the keys are equal to the other ones in the registry.
|
|
|
|
bool HasEqualKeys(const Registry& rhs) const;
|
|
|
|
bool HasEqualKeys(const Registry& rhs) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Returns graphics information from this shader
|
|
|
|
|
|
|
|
const GraphicsInfo& GetGraphicsInfo() const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Returns compute information from this shader
|
|
|
|
|
|
|
|
const ComputeInfo& GetComputeInfo() const;
|
|
|
|
|
|
|
|
|
|
|
|
/// Gives an getter to the const buffer keys in the database.
|
|
|
|
/// Gives an getter to the const buffer keys in the database.
|
|
|
|
const KeyMap& GetKeys() const {
|
|
|
|
const KeyMap& GetKeys() const {
|
|
|
|
return keys;
|
|
|
|
return keys;
|
|
|
@ -105,18 +111,6 @@ public:
|
|
|
|
return bound_buffer;
|
|
|
|
return bound_buffer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// Returns compute information from this shader
|
|
|
|
|
|
|
|
const GraphicsInfo& GetGraphicsInfo() const {
|
|
|
|
|
|
|
|
ASSERT(stage != Tegra::Engines::ShaderType::Compute);
|
|
|
|
|
|
|
|
return graphics_info;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Returns compute information from this shader
|
|
|
|
|
|
|
|
const ComputeInfo& GetComputeInfo() const {
|
|
|
|
|
|
|
|
ASSERT(stage == Tegra::Engines::ShaderType::Compute);
|
|
|
|
|
|
|
|
return compute_info;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Obtains access to the guest driver's profile.
|
|
|
|
/// Obtains access to the guest driver's profile.
|
|
|
|
VideoCore::GuestDriverProfile& AccessGuestDriverProfile() {
|
|
|
|
VideoCore::GuestDriverProfile& AccessGuestDriverProfile() {
|
|
|
|
return engine ? engine->AccessGuestDriverProfile() : stored_guest_driver_profile;
|
|
|
|
return engine ? engine->AccessGuestDriverProfile() : stored_guest_driver_profile;
|
|
|
|