mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Typos
This commit is contained in:
parent
7e0bc26241
commit
2e397e38a4
8 changed files with 8 additions and 8 deletions
|
@ -241,7 +241,7 @@ protected:
|
||||||
/** insert declaration of shader constants.
|
/** insert declaration of shader constants.
|
||||||
*/
|
*/
|
||||||
virtual void insertConstants(std::stringstream &OS) = 0;
|
virtual void insertConstants(std::stringstream &OS) = 0;
|
||||||
/** insert helper functin definitions.
|
/** insert helper function definitions.
|
||||||
*/
|
*/
|
||||||
virtual void insertGlobalFunctions(std::stringstream &OS) = 0;
|
virtual void insertGlobalFunctions(std::stringstream &OS) = 0;
|
||||||
/** insert beginning of main (signature, temporary declaration...)
|
/** insert beginning of main (signature, temporary declaration...)
|
||||||
|
|
|
@ -430,7 +430,7 @@ u32 get_row_pitch_in_block(u16 block_size_in_bytes, u16 width_in_block, size_t a
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Since rsx ignore unused dimensionnality some app set them to 0.
|
* Since rsx ignore unused dimensionality some app set them to 0.
|
||||||
* Use 1 value instead to be more general.
|
* Use 1 value instead to be more general.
|
||||||
*/
|
*/
|
||||||
template<typename RsxTextureType>
|
template<typename RsxTextureType>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ring buffer memory helper :
|
* Ring buffer memory helper :
|
||||||
* There are 2 "pointers" (offset inside a memory buffer to be provided by class derrivative)
|
* There are 2 "pointers" (offset inside a memory buffer to be provided by class derivative)
|
||||||
* PUT pointer "points" to the start of allocatable space.
|
* PUT pointer "points" to the start of allocatable space.
|
||||||
* GET pointer "points" to the start of memory in use by the GPU.
|
* GET pointer "points" to the start of memory in use by the GPU.
|
||||||
* Space between GET and PUT is used by the GPU ; this structure check that this memory is not overwritten.
|
* Space between GET and PUT is used by the GPU ; this structure check that this memory is not overwritten.
|
||||||
|
|
|
@ -2559,7 +2559,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
verify(HERE), !dest_texture;
|
verify(HERE), !dest_texture;
|
||||||
|
|
||||||
// Need to calculate the minium required size that will fit the data, anchored on the rsx_address
|
// Need to calculate the minimum required size that will fit the data, anchored on the rsx_address
|
||||||
// If the application starts off with an 'inseted' section, the guessed dimensions may not fit!
|
// If the application starts off with an 'inseted' section, the guessed dimensions may not fit!
|
||||||
const u32 write_end = dst_address + dst_payload_length;
|
const u32 write_end = dst_address + dst_payload_length;
|
||||||
u32 block_end = dst_base_address + (dst.pitch * dst_dimensions.height);
|
u32 block_end = dst_base_address + (dst.pitch * dst_dimensions.height);
|
||||||
|
|
|
@ -508,7 +508,7 @@ void GLGSRender::clear_surface(u32 arg)
|
||||||
{
|
{
|
||||||
verify(HERE), mask;
|
verify(HERE), mask;
|
||||||
|
|
||||||
// Only one aspect was cleared. Make sure to memory intialize the other before removing dirty flag
|
// Only one aspect was cleared. Make sure to memory initialize the other before removing dirty flag
|
||||||
if (arg == 1)
|
if (arg == 1)
|
||||||
{
|
{
|
||||||
// Depth was cleared, initialize stencil
|
// Depth was cleared, initialize stencil
|
||||||
|
|
|
@ -44,7 +44,7 @@ struct GLTraits
|
||||||
.bind_fragment_data_location("ocol3", 3)
|
.bind_fragment_data_location("ocol3", 3)
|
||||||
.link();
|
.link();
|
||||||
|
|
||||||
// Progam locations are guaranteed to not change after linking
|
// Program locations are guaranteed to not change after linking
|
||||||
// Texture locations are simply bound to the TIUs so this can be done once
|
// Texture locations are simply bound to the TIUs so this can be done once
|
||||||
for (int i = 0; i < rsx::limits::fragment_textures_count; ++i)
|
for (int i = 0; i < rsx::limits::fragment_textures_count; ++i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1092,7 +1092,7 @@ void VKGSRender::clear_surface(u32 mask)
|
||||||
|
|
||||||
if (!g_cfg.video.read_depth_buffer)
|
if (!g_cfg.video.read_depth_buffer)
|
||||||
{
|
{
|
||||||
// Only one aspect was cleared. Make sure to memory intialize the other before removing dirty flag
|
// Only one aspect was cleared. Make sure to memory initialize the other before removing dirty flag
|
||||||
if (mask == 1)
|
if (mask == 1)
|
||||||
{
|
{
|
||||||
// Depth was cleared, initialize stencil
|
// Depth was cleared, initialize stencil
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
enum protection_policy
|
enum protection_policy
|
||||||
{
|
{
|
||||||
protect_policy_one_page, //Only guard one page, preferrably one where this section 'wholly' fits
|
protect_policy_one_page, //Only guard one page, preferably one where this section 'wholly' fits
|
||||||
protect_policy_conservative, //Guards as much memory as possible that is guaranteed to only be covered by the defined range without sharing
|
protect_policy_conservative, //Guards as much memory as possible that is guaranteed to only be covered by the defined range without sharing
|
||||||
protect_policy_full_range //Guard the full memory range. Shared pages may be invalidated by access outside the object we're guarding
|
protect_policy_full_range //Guard the full memory range. Shared pages may be invalidated by access outside the object we're guarding
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue